Portage is failing to notify me of some new packages that are marked stable and ready to be upgraded.
Steps to Reproduce:
1.A new version of a package I am using is marked stable.
2.Some time later, my daily sync is run.
3.I run emerge -upv world to check if there are any updates; no updates are available.
4.Next I go to emerge that package specifically. For example:
emerge -p mozilla-firefox
5.The version that would be installed is the one most recently marked stable, while the one I have currently installed is old. emerge -upv world should have caught this.
emerge -upv world missed the updates, while a manual install recognizes them.
I should have seen the most recent stable package in the list of things to update.
Portage 220.127.116.11 (default-linux/x86/2004.3, gcc-3.3.5, glibc-18.104.22.16841102-r1,
System uname: 2.6.10-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 1500MHz
Gentoo Base System version 1.4.16
Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 9 2005, 18:01:45)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
sys-devel/autoconf: 2.59-r6, 2.13
sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms"
USE="3dnow X aalib acl acpi aim apm avi bitmap-fonts cdr crypt cups curl
directfb doc dvb dvd emboss encode ethereal fbcon flac font-server foomaticdb
gif gnome gnutls gphoto2 gpm gstreamer gtk gtk2 icq imagemagick imlib ipv6 java
jpeg junit lcms libg++ mad mikmod mmx mng motif mozilla mp3 mpeg msn nas ncurses
nls nptl offensive oggvorbis openal opengl oss pam perl plotutils png posix ppds
python quicktime readline samba scanner sdl slang slp sndfile snmp speex spell
sse ssl svg svga tcltk tcpd theora tiff truetype truetype-fonts type1-fonts
unicode usb wmf x86 xine xmms xosd xpm xprint xv xvid yahoo zlib"
Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
It hasn't just happened once or twice. Every other day it misses a package or
two. This most recent time it missed the fact that gentoo-dev-sources 2.6.11-r4
had been marked stable for x86. This behavior occurs both on my x86 desktop and
my amd64 laptop.
Any possibility that /var/lib/portage is being deleted? Unless you use --oneshot, packages should be being added there.
OK, I'm not using --oneshot. I went to /var/lib/portage and did a cat world and got the following:
I do have many many more packages on my system than just these so it would appear that you are right and they are getting deleted somehow. Do you have any idea how they are getting deleted? Is portage doing this or am I making some kind of an error that is deleting them? The file seems to only contain packages that I have installed/reinstalled in the last 2 or 3 weeks. Did portage get an upgrade around that time that might have wiped my world file?
Isn't somewhat expected behaviour? iirc, emerge -u world acts just on the world set, not on the deps... Could be whacked on that, since it's 3 am also...
I think it does dependencies also, if not than there should be some way to check EVERYTHING on the system for upgrades. I did an emerge -p --emptytree world and I noticed that some things like xchat and mozilla-thunderbird were left out. Also left out was media-libs/libmng which is a dependency of thunderbird. However, mozilla-firefox was in the list and so was dev-libs/expat which is a dependency of firefox. So, it appears that stuff I have manually installed recently and the dependencies of those packages are in my list and will be upgraded when I do an emerge -u world. Other things that I have installed but that got wiped out of the list will not be upgraded. This question still remains. How did my world list get wiped? I know that I did not manually go in there and modify/delete it, and the only portage commands I have used are:
emerge unmerge somePackage
emerge -upv world (I always like to pretend first just to check things)
emerge -u world
and just a few minutes ago I did
emerge -p --emptytree world
If anyone has any idea how my world file was wiped, please let me know.
*** This bug has been marked as a duplicate of 48181 ***