Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Why portage is pulling to update this package?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Hammett
Apprentice
Apprentice


Joined: 26 Jan 2005
Posts: 240
Location: Barcelona, Catalonia

PostPosted: Sat Apr 20, 2024 5:57 am    Post subject: [SOLVED] Why portage is pulling to update this package? Reply with quote

Hi all,

I need some help understanding why portage wants to update nodejs:
Code:
[root][/root]# emerge -upvD world --exclude gentoo-sources --tree
These are the packages that would be merged, in reverse order:

Calculating dependencies  ... .. ... done!
Dependency resolution took 34.43 s (backtrack: 4/20).

[nomerge       ] sys-devel/mold-2.30.0::gentoo
[ebuild     U ~]  dev-cpp/tbb-2021.12.0:0/12.5-2.5-3.5::gentoo [2021.11.0:0/12.5-2.5-3.5::gentoo] USE="-test" ABI_X86="(64) -32 (-x32)" 2,556 KiB
[nomerge       ] www-client/chromium-119.0.6045.199:0/stable::gentoo  USE="X cups official proprietary-codecs pulseaudio system-harfbuzz system-icu system-png system-zstd widevine -custom-cflags -debug -gtk4 -hangouts (-headless) -kerberos (-libcxx) (-lto) -pax-kernel (-pgo) -qt5 -qt6 -screencast (-selinux) -vaapi -wayland" L10N="en-GB -af -am -ar -bg -bn -ca -cs -da -de -el -es -es-419 -et -fa -fi -fil -fr -gu -he -hi -hr -hu -id -it -ja -kn -ko -lt -lv -ml -mr -ms -nb -nl -pl -pt-BR -pt-PT -ro -ru -sk -sl -sr -sv -sw -ta -te -th -tr -uk -ur -vi -zh-CN -zh-TW"
[ebuild     U  ]  net-libs/nodejs-20.12.1:0/20::gentoo [20.11.0:0/20::gentoo] USE="icu inspector npm snapshot ssl system-icu system-ssl -corepack -debug -doc (-lto) -pax-kernel -test" CPU_FLAGS_X86="sse2" 40,765 KiB
[ebuild     U  ] sys-apps/udevil-0.4.4-r5::gentoo [0.4.4-r4::gentoo] 467 KiB
[nomerge       ] virtual/man-0-r4::gentoo
[nomerge       ]  sys-apps/man-db-2.12.0::gentoo  USE="manpager nls seccomp zlib (-selinux) -static-libs"
[nomerge       ]   virtual/tmpfiles-0-r5::gentoo  USE="-systemd"
[ebuild     U  ]    sys-apps/systemd-utils-254.10-r1::gentoo [254.8-r1::gentoo] USE="acl kmod (split-usr) tmpfiles udev -boot -kernel-install -secureboot (-selinux) -sysusers -test -ukify" ABI_X86="(64) -32 (-x32)" PYTHON_SINGLE_TARGET="python3_11 -python3_10 -python3_12" 14,091 KiB
[nomerge       ] x11-themes/vanilla-dmz-xcursors-0.4.5-r1::gentoo
[nomerge       ]  x11-apps/xcursorgen-1.0.8::gentoo
[nomerge       ]   dev-build/libtool-2.4.7-r4:2::gentoo  USE="-vanilla"
[nomerge       ]    dev-build/autoconf-2.71-r6:2.71::gentoo  USE="-emacs"
[nomerge       ]     dev-lang/perl-5.38.2-r2:0/5.38::gentoo  USE="gdbm -berkdb -debug -doc -ithreads -minimal -quadmath"
[nomerge       ]      app-admin/perl-cleaner-2.31::gentoo  USE="-pkgcore"
[nomerge       ]       app-portage/portage-utils-0.96.1::gentoo  USE="openmp qmanifest qtegrity -static"
[nomerge       ]        app-crypt/gpgme-1.23.2:1/11.6.15.2::gentoo  USE="cxx -common-lisp -debug -python -qt5 -qt6 -static-libs -test -verify-sig" PYTHON_TARGETS="python3_11 -python3_10 -python3_12"
[nomerge       ]         app-crypt/gnupg-2.4.4-r1::gentoo  USE="bzip2 nls readline smartcard ssl tofu -doc -ldap (-selinux) -test -tools -tpm -usb -user-socket -verify-sig -wks-server"
[ebuild     U  ]          net-misc/curl-8.7.1-r2::gentoo [8.7.1-r1::gentoo] USE="adns alt-svc ftp hsts http2 imap openssl pop3 progress-meter psl smtp ssl tftp -brotli -gnutls -gopher -idn -kerberos -ldap -mbedtls (-nghttp3) -rtmp (-rustls) -samba -ssh (-sslv3) -static-libs -telnet -test -verify-sig -websockets -zstd*" ABI_X86="(64) -32 (-x32)" CURL_SSL="openssl -gnutls -mbedtls (-rustls)" 2,644 KiB

Total: 5 packages (5 upgrades), Size of downloads: 60,522 KiB


From the output I can see that the update is pulled by chromium, but chromium will not be updated. In fact, chromium is masked so it is not updated:
Code:
[root][/root]# cat /etc/portage/package.mask/package.mask
=dev-libs/ocl-icd-2.2.12-r3
=media-sound/mpd-0.22.2
<x11-misc/i3lock-2.12-r2
>media-gfx/geeqie-1.7.3 # Requires Zenity
=media-libs/fontconfig-2.14.2
>www-client/chromium-120.0.6099.71
>dev-lang/python-3.12
>net-fs/nfs-utils-2.6.4-r1
>app-emulation/qemu-8.0.4


And nodejs is not part of my world file either:
Code:
[root][/root]# cat /var/lib/portage/world | grep nodejs
[root][/root]#


My understanding is that in such scenarios, packages that are not in world, nor have a dependency update that forces dependency to update should not be pulled

I am understanding wrong?
_________________
I don't fear the people. I fear the demon inside them.


Last edited by Hammett on Sat Apr 20, 2024 9:40 am; edited 1 time in total
Back to top
View user's profile Send private message
Banana
Moderator
Moderator


Joined: 21 May 2004
Posts: 1709
Location: Germany

PostPosted: Sat Apr 20, 2024 6:38 am    Post subject: Reply with quote

I'm not 100% sure but I think it is the -D option.
_________________
Forum Guidelines

PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31255
Location: here

PostPosted: Sat Apr 20, 2024 9:36 am    Post subject: Reply with quote

Banana wrote:
I'm not 100% sure but I think it is the -D option.

Probably direct dependencies are anyway calculated in the emerge update tree dependencies, but I'm not sure either.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Hammett
Apprentice
Apprentice


Joined: 26 Jan 2005
Posts: 240
Location: Barcelona, Catalonia

PostPosted: Sat Apr 20, 2024 9:39 am    Post subject: Reply with quote

Well,

Turns out I'm a bit of an idiot.... the -D option (--deep) pulls all updates available, including dependencies.

I have it so much in my muscle memory to emerge -upvD world that I did not realize my mistake

Thanks!
_________________
I don't fear the people. I fear the demon inside them.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum