Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 40378 - Updating package keeps old version protected; autoclean busts package after merging.
Summary: Updating package keeps old version protected; autoclean busts package after m...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-04 07:29 UTC by Alexey Spiridonov
Modified: 2004-02-06 07:23 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 Alexey Spiridonov 2004-02-04 07:29:45 UTC
I just updated to portage-2.0.49-r21 (had 2.0.48 before hand), and I have this problem now: anything I try to update by simply doing emerge would get wiped by portage right after installation, since the old version would be protected. This happened with gaim, autoconf, cvs, and mozilla. So, it's a fair bet that it happens with everything. Here's an example:

sheepiness lesha # AUTOCLEAN="no" emerge cvs &> ~/out
(happy stuff happens, the merge is good)
sheepiness lesha # emerge -p clean cvs
 
>>> These are the packages that I would unmerge:
 
 dev-util/cvs
    selected: 1.11.11
   protected: 1.11.6
     omitted: none
 
>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.

I've posted this in the forums but got no reply. What steps should I take to diagnose what's going on?

Reproducible: Always
Steps to Reproduce:
1. Find an out-of-date package on your system. Say its name is "foo"
2. emerge foo &> out 
3. Read "out", and discover that autoclean wiped the new package (disabling the old along the way)




Portage 2.0.49-r21 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.21)
=================================================================
System uname: 2.4.21 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.70GHz
Gentoo Base System version 1.4.3.8p1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -mcpu=pentium4 -O2 -mfpmath=sse -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium3 -mcpu=pentium4 -O2 -mfpmath=sse -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://gentoo.mirrors.pair.com/ http://gentoo.mirrors.pair.com/
ftp://gentoo.noved.org/ http://gentoo.noved.org/
ftp://mirror.iawnet.sandia.gov/pub/gentoo/ http://gentoo.oregonstate.edu/
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d aalib acpi alsa arts avi berkdb cdr crypt cups curl dga doc dvd
encode foomaticdb gd gdbm gif gpm gtk gtk2 gtkhtml imap imlib java jpeg ldap
libg++ libwww mad mikmod mmx motif mozilla mpeg ncurses nls oggvorbis opengl oss
pcmcia pdflib perl plotutils png pnp python qt quicktime readline sasl sdl slang
spell sse ssl tcltk tcpd tetex tiff truetype trusted usb wmf x86 xml xml2 xmms
xv zlib"
Comment 1 Nicholas Jones (RETIRED) gentoo-dev 2004-02-04 17:27:27 UTC
Update to portage-2.0.50_pre22

That should fix any problem.
It will be stable soon.
Comment 2 Alexey Spiridonov 2004-02-06 07:23:18 UTC
That's right, it went away in 50_pre22. Thanks!