Summary: | emerge results in NEW package being unmerged (autoclean bug) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jeremy Huddleston (RETIRED) <eradicator> |
Component: | [OLD] Core system | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED WORKSFORME | ||
Severity: | blocker | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Jeremy Huddleston (RETIRED)
![]() I went to / and just 'tar -xjf /path/to/python-package.tar.bz2' to get a working python... Here's my emerge info: $ emerge info Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.22-ck2) ================================================================= System uname: 2.4.22-ck2 i686 Pentium II (Deschutes) Gentoo Base System version 1.4.3.10p1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium2 -mcpu=pentium2 -O3 -pipe -fomit-frame-pointer -falign-functions=4 -falign-jumps=4 -falign-loops=4" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=pentium2 -mcpu=pentium2 -O3 -pipe -fomit-frame-pointer -falign-functions=4 -falign-jumps=4 -falign-loops=4" DISTDIR="/usr/local/download/portage/distfiles" FEATURES="ccache autoaddcvs sandbox userpriv usersandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/local/download/portage/packages-pentium2" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/download/portage" SYNC="rsync://192.168.0.1/gentoo-portage" USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib directfb gtkhtml alsa gdbm berkdb slang readline arts tetex aalib nas bonobo svga ggi tcltk java guile mysql postgres X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gnome gtk qt kde motif opengl mozilla gphoto2 cdr scanner acl acpi amd apache2 atlas bindist clisp curl dga dnd doc dv dvb dvd emacs ethereal evo faad fbcon flash gb gd gd-external gnomedb gnutls gps gstreamer gtk2 icc imagemagick imap innodb ipv6 javascript jikes joystick junit justify kerberos lcms ldam leim libgda lirc mbox md5sum mmx mng mozaccess mozcalendar mozctl mozinterfaceinfo mozp3p mozsvg mozxmlterm mpi mule objc odbc offensive openal parse-clocks pda php pic plotutils pnp ppds qhull rplay ruby samba sasl slp snmp socks5 sox sqlite tiff trusted type1 usb v4l wmf wxwindows Xaw3d xinerama xml xvid" Additionally, a workaround is to just unmerge the package before 'emerge -k'ing it... obviously this won't work with packages neccessary for portage like python or portage... I've verified that it is not a problem with -U, -v, or world because the problem shows itself with simply 'emerge -k libsdl'. Additionally, pressing ctr-c to stop the unmerge (and I assume simply disabling the autoclean) isn't that great of a workaround because doing 'emerge clean' after the update will still cause the newer package to be deleted: >>> Regenerating /etc/ld.so.cache... * Caching service dependencies... [ ok ] >>> media-libs/libsdl-1.2.6-r2 merged. media-libs/libsdl selected: 1.2.6-r2 protected: 1.2.6-r1 omitted: none >>> 'Selected' packages are slated for removal. >>> 'Protected' and 'omitted' packages will not be removed. >>> Waiting 5 seconds before starting... >>> (Control-C to abort)... >>> Unmerging in: 5 4 3 2 (15:25:42 Tue Nov 04 2003 root@predator) / $ emerge clean media-libs/libsdl selected: 1.2.6-r2 protected: 1.2.6-r1 omitted: none >>> 'Selected' packages are slated for removal. >>> 'Protected' and 'omitted' packages will not be removed. >>> Waiting 5 seconds before starting... >>> (Control-C to abort)... >>> Unmerging in: 5 4 Are you sure it only happens with -k (so `emerge libsdl` is working correct) ? I apologize. You are right. It is happening with just 'emerge gentoolkit'. I assumed that since it worked on the other system with similar specs, it was working here... my apologies for that... And it's not just with 'autoclean'. It's happening with 'emerge clean' after / $ emerge gentoolkit Calculating dependencies ...done! >>> emerge (1 of 1) app-portage/gentoolkit-0.1.34 to / ... >>> app-portage/gentoolkit-0.1.34 merged. app-portage/gentoolkit selected: 0.1.34 protected: 0.1.33 omitted: none >>> 'Selected' packages are slated for removal. >>> 'Protected' and 'omitted' packages will not be removed. --- Now this is odd... I figured I'd just unmerge the packages manually, but the new version of gentoolkit is shown in the 'emerge clean' but not the 'emerge unmerge ...' $ emerge clean media-libs/libsdl selected: 1.2.6-r2 protected: 1.2.6-r1 omitted: none app-portage/gentoolkit selected: 0.1.34 protected: 0.1.33 omitted: none ... / $ emerge unmerge \=app-portage/gentoolkit-0.1.33 \=media-libs/libsdl-1.2.6-r1 app-portage/gentoolkit selected: 0.1.33 protected: none omitted: none media-libs/libsdl selected: 1.2.6-r1 protected: none omitted: 1.2.6-r2 /usr/lib/portage/bin/fix-db.py seems to have done the trick. Thanks. |