Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 85855 - emerge -upv world is leaving stuff out
Summary: emerge -upv world is leaving stuff out
Status: RESOLVED DUPLICATE of bug 48181
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-18 22:21 UTC by ryanlamb82
Modified: 2005-07-17 13:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ryanlamb82 2005-03-18 22:21:15 UTC
Portage is failing to notify me of some new packages that are marked stable and ready to be upgraded.

Reproducible: Sometimes
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.

Actual Results:  
emerge -upv world missed the updates, while a manual install recognizes them.

Expected Results:  
I should have seen the most recent stable package in the list of things to update.

Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20041102-r1,
2.6.10-gentoo-r6 i686)
=================================================================
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]
dev-lang/python:     2.3.4-r1
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
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
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
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.osuosl.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j7"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
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.
Comment 1 Jason Stubbs (RETIRED) gentoo-dev 2005-03-22 06:12:02 UTC
Any possibility that /var/lib/portage is being deleted? Unless you use --oneshot, packages should be being added there.
Comment 2 ryanlamb82 2005-03-22 08:26:41 UTC
OK, I'm not using --oneshot.  I went to /var/lib/portage and did a cat world and got the following:

sys-kernel/gentoo-dev-sources
x11-base/xorg-x11
app-text/acroread
media-video/nvidia-glx
www-client/mozilla-firefox
media-video/nvidia-kernel

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?
Comment 3 Brian Harring (RETIRED) gentoo-dev 2005-03-23 00:57:23 UTC
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...
Comment 4 ryanlamb82 2005-03-23 09:28:02 UTC
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 somePackage
emerge unmerge somePackage
emerge sync
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.
Comment 5 Jason Stubbs (RETIRED) gentoo-dev 2005-05-03 07:11:12 UTC

*** This bug has been marked as a duplicate of 48181 ***