Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31148 - Unmerging kernel not removing virtual & giving error
Summary: Unmerging kernel not removing virtual & giving error
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: Inclusion
: 1891 21603 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-10-14 13:27 UTC by Narada Sage
Modified: 2011-10-30 22:18 UTC (History)
2 users (show)

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


Attachments
Patch for portage.py (bugs.31148.patch,1.34 KB, patch)
2003-11-03 18:28 UTC, Masatomo Nakano (RETIRED)
Details | Diff
Patch for portage.py (bugs.31148.patch,1.34 KB, patch)
2003-11-03 18:35 UTC, Masatomo Nakano (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Narada Sage 2003-10-14 13:27:59 UTC
$ emerge -Cv vanilla-sources
<snip>
--- !empty dir /usr/src
--- !empty dir /usr
!!! Invalid db entry: /var/db/pkg/sys-kernel/vanilla-sources-2.4.22.portage_lockfile
--- Leaving virtual 'sys-kernel/vanilla-sources' from 'virtual/linux-sources'

$ grep vanilla /var/cache/edb/virtuals
virtual/linux-sources sys-kernel/gentoo-test-sources sys-kernel/vanilla-sources

Problems:

(1) Error about invalid db entry.
(2) Removing kernel does not remove kernel from virtuals

Perhaps this is done deliberately.  If so, please tell me why.

$ emerge info
Portage 2.0.49-r13 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.6.0-test7)
=================================================================
System uname: 2.6.0-test7 i686 Intel(R) Pentium(R) 4 CPU 2.66GHz
Gentoo Base System version 1.4.3.10p1
distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs notitles buildpkg"
GENTOO_MIRRORS="http://ftp.gentoo.skynet.be/pub/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://ftp.easynet.nl/mirror/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.linux.no/ http://trumpetti.atm.tut.fi/gentoo/ http://ds.thn.htu.se/linux/gentoo http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/ http://www.fhh.opensource-mirror.de/gentoo.org/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.caliu.info/pub/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 oss avi encode gif jpeg libwww mad motif mpeg ncurses pdflib png quicktime truetype xml2 xmms xv zlib directfb alsa berkdb slang readline aalib svga java X sdl tcpd pam ssl perl python imlib oggvorbis gtk opengl acpi acpi4linux apache2 dvd dvdr faad fbcon gtk2 imap javascript maildir nocd nptl openal php sse tiff xml -apm -arts -crypt -cups -foomaticdb -gdbm -gpm -kde -gnome -libg++ -mikmod -nls -qt -spell"
Comment 1 Masatomo Nakano (RETIRED) gentoo-dev 2003-11-03 18:28:21 UTC
Created attachment 20215 [details, diff]
Patch for portage.py

Fixed this bug, added new message and cleaned up source.
Comment 2 Masatomo Nakano (RETIRED) gentoo-dev 2003-11-03 18:35:09 UTC
Created attachment 20216 [details, diff]
Patch for portage.py

modified message for removing virtual.
Comment 3 Nicholas Jones (RETIRED) gentoo-dev 2003-11-09 18:09:16 UTC
Included for -r17
Comment 4 Masatomo Nakano (RETIRED) gentoo-dev 2003-11-23 05:51:00 UTC
*** Bug 1891 has been marked as a duplicate of this bug. ***
Comment 5 Masatomo Nakano (RETIRED) gentoo-dev 2003-11-23 05:54:41 UTC
*** Bug 21603 has been marked as a duplicate of this bug. ***