Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41296 - Portage problem with virtuals handling after unemerging
Summary: Portage problem with virtuals handling after unemerging
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-11 14:45 UTC by David Grant
Modified: 2004-04-10 18:07 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 David Grant 2004-02-11 14:45:19 UTC
I had syslog-ng and metalog installed previously.  I unemerged them, however they did not remove themselves from the /var/cache/edb/virtuals file under virtual/logger

I also had the same problem with sun-jdk.  I had previously installed, but then removed it.  Later on some packages with java as a dependancy wanted to install sun-jdk when I already had blackdown-jdk and blackdown-jre.  It turned out that sun-jdk was listed under virtual/jre, virtual/jdk, and virtual/java-scheme in the /var/cache/edb/virtuals file.
Comment 1 SpanKY gentoo-dev 2004-02-11 18:44:47 UTC
you neglected to provide `emerge info`
Comment 2 David Grant 2004-02-12 05:51:26 UTC
bash-2.05b$ emerge info
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.1-gentoo)
=================================================================
System uname: 2.6.1-gentoo i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-tbird -O3 -pipe -fomit-frame-pointer -fforce-addr"
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.2/share/config /usr/kde/3/share/config /usr/share/confi
g /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/
qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-tbird -O3 -pipe -fomit-frame-pointer -fforce-addr"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://mirrors.tds.net/ge
ntoo http://gentoo.mirrors.pair.com/ http://gentoo.chem.wisc.edu/gentoo/ http://
128.213.5.34/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X Xaw3d aalib acpi alsa apache2 apm arts artswrappersuid atlas avi be
rkdb bonobo cdr crypt cups curl dedicated directfb emacs encode fbcon flac fooma
ticdb gd gdbm gif gimpprint gphoto2 gpm gtk gtk2 gtkhtml guile imap imlib java j
avascript joystick jpeg kde libg++ libwww mad mbox mcal mmx motif mozcalendar mo
zilla mozp3p mozsvg mpeg mpi mysql nas ncurses nls offensive ofx oggvorbis openg
l oss pam pda pdflib perl pic plotutils png postgres ppds python qt quicktime re
adline samba sasl sdl slang spell ssl svga tcltk tcpd tetex tiff truetype type1 
usb v4l wxwindows x86 xml2 xmms xv xvid zlib"
Comment 3 Masatomo Nakano (RETIRED) gentoo-dev 2004-04-09 14:28:40 UTC
Hello David,

Do you remember when you unmerged them?
old portage didn't remove virtual entry correctly.
But the current portage does it.
Comment 4 Jason Stubbs (RETIRED) gentoo-dev 2004-04-09 19:02:39 UTC
The virtual/logger entries should have been unmerged correctly with the current versions of portage. The virtual/{jre,jdk} entries probably were not due to bug 46968.
Comment 5 Masatomo Nakano (RETIRED) gentoo-dev 2004-04-10 14:32:05 UTC
jstubbs,

I can't reproduce this bug even if I emerge/unmerge the jdk/jre/ruby packages.
Can you explain it for me?
Comment 6 Jason Stubbs (RETIRED) gentoo-dev 2004-04-10 18:00:33 UTC
Apologies. I read the code and thought that the values in /var/db/pkg/*/*/PROVIDE were compared directly to /var/cache/edb/virtuals. Rechecking and looking deeper I found that catpkgsplit is used to force the PROVIDE values to cat/pkg form. ie. I can't reproduce it either.
Comment 7 Masatomo Nakano (RETIRED) gentoo-dev 2004-04-10 18:07:20 UTC
OK. i'm closing this bug.
If there is any problem yet, feel free to reopen.