Hi, i often stumble around this and don't understand why emerge doesn't want to update all packages even when specified --deep (-D): # emerge -pv -uDN world|grep dhcp # emerge -pv dhcpcd These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild U ] net-misc/dhcpcd-1.3.22_p4-r11 [1.3.22_p4-r5] -build -static 148 kB Total size of downloads: 148 kB # It's very often that even with -D i don't get all packages updated that could be updated. # emerge info Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r9-raid i686) ================================================================= System uname: 2.6.9-gentoo-r9-raid i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.4.16 distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [disabled] dev-lang/python: 2.3.4-r1 sys-apps/sandbox: 1.2.10 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.4.21-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://gentoo-mirror/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://gentoo-mirror/gentoo-portage" USE="x86 adns alsa apache2 bash-completion curl devfs26 emboss gd libg++ mp3 mysql ncurses nls pam php posix sse sse2 ssl tcpd truetype-fontstype1-fonts userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
are the package listed in the world list? Do you ever (by mistake) install a program with -u or --oneshot?
I use -1 (oneshot) often. But this should only prevent world file being updated - with --deep this should make no difference.
(In reply to comment #1) > are the package listed in the world list? sorry, can't say atm. emerged dhcpcd without "-1" one hour ago and therefore it's in the world file _now_, but dunno if it was already in there.
Most likely you have installed dhcpcd with -u or -1 flag. That way, world file is not ajour, and that happens. Seen other users do that mistake too. emerge -uD world scans all packages in world list for depencies, and all packages below that point for updates. Untracked packages is not supposed to be affected by this, since a user might have done this on purpose on a package the user don't want to get installed via world list. Please close bug, and let another REOPEN if it turns out that the package was in world list or on a depency via world list.
(In reply to comment #3) > sorry, can't say atm. emerged dhcpcd without "-1" one hour ago and therefore it's in the world file _now_, > but dunno if it was already in there. Closing this bug, as there is no chance to find out what went wrong here. Besides this dhcpcd issue, you should be aware that world != all, so even emerge -uD world won't upgrade *all* packages on your system, it will omit stale dependencies of already unmerged ebuilds, etc. There are quite a few duplicate bugs about this.
I have noticed this same problem of late with emerge -Du world and packages are in my world file. oe example the 2.6.12-r6 kernel has been made stable and the above command did not update it but emerge -Du gentoo-sources did update it.
Once again I did an emerge -Du world and it did not upgrade all packages as kopete-3.4.1-r1 was available and was not upgraded, I had to use emerge -Du kopete. I think this bug should be re opened until a reason is found for the cause of this. kopete was in my world file and I do not use != all.
Still not working as desired: # emerge -pv -uDN world These are the packages that I would merge, in order: Calculating world dependencies ...done! [ebuild U ] sys-apps/baselayout-1.11.14-r5 [1.11.14-r4] -bootstrap -build -static -unicode 0 kB [ebuild U ] app-crypt/gnupg-1.4.2.1 [1.4.1] -X +bzip2* -caps +curl -ecc -idea -ldap +nls -readline (-selinux) -smartcard -static -usb +zlib 2,959 kB Total size of downloads: 2,959 kB # emerge -pv -u setserial sash These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild U ] sys-apps/setserial-2.17-r3 [2.17-r2] 51 kB [ebuild U ] app-shells/sash-3.7-r1 [3.7] -readline 49 kB Total size of downloads: 100 kB Why the fuck i specify -D when it does not cover _ALL_ installed packages? I only found out about setserial and sash because i did a # equery list which showed my installed setserial and sash version are both masked. # egrep -c 'setserial|sash' /var/lib/portage/world 0 setserial and sash are both not mentioned in world file since they were pulled in as dependencies of other packages. Nevertheless i want my system up2date what includes _ALL_ packages. For baselayout it's working - emerge want's to update even it is not mentioned in world file. Please investigate this further since there is 100% a bug. # emerge info Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2, 2.6.14-hardened-r5 i686) ================================================================= System uname: 2.6.14-hardened-r5 i686 Intel(R) Celeron(R) CPU 2.40GHz Gentoo Base System version 1.6.14 ccache version 2.3 [enabled] dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="x86 apache2 avi bash-completion berkdb bitmap-fonts bzip2 crypt curl devfs26 eds emboss encode expat foomaticdb gd gdbm gif gstreamer hardened hardenedphp idn imagemagick imap imlib jpeg junit kde libg++ mbox memlimit mhash mmx mmx2 motif mp3 mpm-prefork ncurses nls noantlr nobcel nobeanutils nobsh nocommonslogging nocommonsnet nojdepend nojsch nojython nolog4j nooro nopop3d noregexp norhino noxerces ogg oggvorbis pam pcre perl php png posix quicktime rtc sasl sse sse2 ssl tcpd tiff truetype truetype-fonts type1 type1-fonts udev vhosts vorbis xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
(In reply to comment #8) > Still not working as desired: > Not as desired, perhaps; but as designed? Probably. > # emerge -pv -uDN world > > These are the packages that I would merge, in order: > > Calculating world dependencies ...done! > [ebuild U ] sys-apps/baselayout-1.11.14-r5 [1.11.14-r4] -bootstrap -build > -static -unicode 0 kB > [ebuild U ] app-crypt/gnupg-1.4.2.1 [1.4.1] -X +bzip2* -caps +curl -ecc > -idea -ldap +nls -readline (-selinux) -smartcard -static -usb +zlib 2,959 kB > > Total size of downloads: 2,959 kB > # emerge -pv -u setserial sash > > These are the packages that I would merge, in order: > > Calculating dependencies ...done! > [ebuild U ] sys-apps/setserial-2.17-r3 [2.17-r2] 51 kB > [ebuild U ] app-shells/sash-3.7-r1 [3.7] -readline 49 kB > > Total size of downloads: 100 kB > > Why the fuck i specify -D when it does not cover _ALL_ installed packages? > I only found out about setserial and sash because i did a You already know it doesn't cover "_ALL_ installed packages" and then you complain when it...misses packages? > # equery list > > which showed my installed setserial and sash version are both masked. > > # egrep -c 'setserial|sash' /var/lib/portage/world > 0 > > setserial and sash are both not mentioned in world file since they were pulled > in as dependencies of other packages. Nevertheless i want my system up2date > what includes _ALL_ packages. > > For baselayout it's working - emerge want's to update even it is not mentioned > in world file. Baselayout is in system...World = system + world file, so that is covered. > Please investigate this further since there is 100% a bug. Feature request for an "All" target perhaps, not entirely a bug. However it still could be one. What you need to do is figure out what you have installed that brought in sash and setserial. Maybe they really are orphaned packages, maybe there is a bug.
sash and setserial system used to be in system some time ago but have been removed/replaced since then.
Doesn't emerge --depclean remove those packages for you?
It should, I guess the OP hasn't run --depclean for while (if ever).
Closing due to old age
Hi, I have this issue at the moment with virtual/perl-Module-Build. I wanted to deplcean my system and it said: * Dependencies could not be completely resolved due to * the following required packages not being installed: * * ~perl-core/Module-Build-0.31.012 pulled in by: * virtual/perl-Module-Build-0.31.012 * I did, what depclean told me (--update --newuse --deep @system @world) and it said: emerge -puvDN @system @world These are the packages that would be merged, in order: Calculating dependencies... done! eix said: # eix virtual/perl-Module-Build [I] virtual/perl-Module-Build Available versions: (~)0.28-r1 0.28.08 (~)0.30 (~)0.31 (~)0.31.012 Installed versions: 0.31.012(13:49:06 02.03.2009) Homepage: http://www.gentoo.org/proj/en/perl/ Description: Build and install Perl modules But there is actual an ebuild for version 0.32: emerge -pv perl-Module-Build These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] virtual/perl-Module-Build-0.32 [0.31.012] 0 kB perl-core/Module-Build is installed with version 0.32. eix Module-Build [D] perl-core/Module-Build Available versions: (~)0.28-r1 0.28.08 (~)0.30 (~)0.31 (~)0.31.012 Installed versions: 0.32(16:36:20 26.02.2009) Homepage: http://search.cpan.org/search?query=Module-Build&mode=dist Description: Build and install Perl modules
(In reply to comment #14) > * Dependencies could not be completely resolved due to > * the following required packages not being installed: > * > * ~perl-core/Module-Build-0.31.012 pulled in by: > * virtual/perl-Module-Build-0.31.012 > * > > I did, what depclean told me (--update --newuse --deep @system @world) and it > said: > > emerge -puvDN @system @world In this particular case you need to use --with-bdeps=y in order for the perl-Module-Build update to get pulled in. It is a rare case which is triggered by buildtime dependencies being updated for a package that you have previously installed. In cases like this, the installed package assumes the new dependencies due to the issue discussed in bug #239006, comment #4.