Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 25206 - cant get rid of modutils
Summary: cant get rid of modutils
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Nicholas Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-24 14:24 UTC by Chuck Brewer
Modified: 2003-12-28 23:22 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 Chuck Brewer 2003-07-24 14:24:41 UTC
currently have modutils and module-init-tools installed, no longer need
modutils, however trying to unmerge modutils gives me this error-

<<< Removing virtual 'sys-apps/modutils' from 'virtual/modutils'
Traceback (most recent call last):
  File "/usr/bin/emerge", line 1783, in ?
    if 1==unmerge(myaction, myfiles):
  File "/usr/bin/emerge", line 1452, in unmerge
    retval=portage.unmerge(mysplit[0],mysplit[1],portage.root,unmerge_action not
in ["clean","prune"])
  File "/usr/lib/python2.2/site-packages/portage.py", line 1879, in unmerge
    mylink.unmerge(trimworld=mytrimworld)
  File "/usr/lib/python2.2/site-packages/portage.py", line 4308, in unmerge
    if mykey in myprovides[myvirt]:
KeyError: virtual/module-tools


I have tried to get rid of modutils with the module-init-tools merged and
unmerged but still no dice:(
Comment 1 Nicholas Jones (RETIRED) gentoo-dev 2003-07-28 00:27:53 UTC
emerge info
Comment 2 Nicholas Jones (RETIRED) gentoo-dev 2003-07-28 00:28:16 UTC
post /var/cache/edb/virtuals too.
Comment 3 Chuck Brewer 2003-07-28 01:20:16 UTC
[cbrewer@killian cbrewer ]$ emerge --info
Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.6.0-test1 i586 AMD-K6(tm) 3D processor
GENTOO_MIRRORS="ftp://mirror.iawnet.sandia.gov/pub/gentoo http://gentoo.       oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/sha       re/config /usr/kde/3/share/config  /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 oss apm avi cups encode foomaticdb gif java jpeg libg++ libwww        mad mikmod mmx motif mpeg ncurses nls pdflib png quicktime slang xml2 xv        zlib gdbm berkdb readline svga sdl gpm tcpd pam perl python imlib oggvo       rbis gtk opengl 3dnow alsa -arts crypt -gnome gtk2 -kde -qt radeon spell        ssl tcltk tiff truetype X xmms"
COMPILER="gcc3"
CHOST="i586-pc-linux-gnu"
CFLAGS="-O2 -march=k6-2 -pipe -fomit-frame-pointer"
CXXFLAGS="-O2 -march=k6-2 -pipe -fomit-frame-pointer"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"

[cbrewer@killian cbrewer ]$ cat /var/cache/edb/virtuals 
virtual/blackbox x11-wm/fluxbox 
virtual/xft x11-base/xfree 
virtual/cron sys-apps/fcron 
sys-apps/console-tools sys-apps/kbd 
virtual/editor app-editors/nano 
virtual/pppd net-dialup/ppp 
virtual/x11 x11-base/xfree 
sys-apps/fileutils sys-apps/coreutils 
sys-apps/textutils sys-apps/coreutils 
virtual/mda net-mail/postfix 
virtual/sylpheed net-mail/sylpheed-claws 
sys-apps/sh-utils sys-apps/coreutils 
virtual/python dev-lang/python 
virtual/kernel sys-kernel/linux-headers 
virtual/aspell-dict app-dicts/aspell-en 
virtual/module-tools sys-apps/modutils 
virtual/bootloader sys-apps/lilo 
virtual/modutils sys-apps/module-init-tools sys-apps/modutils 
virtual/opengl x11-base/xfree 
virtual/linux-sources sys-kernel/development-sources 
virtual/glu x11-base/xfree 
virtual/textbrowser net-www/lynx 
virtual/mta net-mail/postfix 
virtual/glibc sys-libs/glibc 

Comment 4 Chuck Brewer 2003-07-28 13:06:13 UTC
I finally got it unmerged after editing /var/cache/edb/virtuals to remove modutils 
from virtual/modutils and deleted the line containing virtual/module-tools. I believe the cause to be that modutils provided virtual/module-tools when I first emerge it, then after a couple updates it also began to provide the virtual/modutils, without removing the previous virtual, throwing it into a circle. Not sure how to fix this globally for all users, but at least this was a solution. 
Comment 5 Ronald Moesbergen 2003-08-07 04:14:01 UTC
I have a similar problem, but with unmerging an old version of gcc. This is my virtuals file:

virtual/module-tools sys-apps/modutils
virtual/cron sys-apps/dcron
virtual/glibc sys-libs/glibc
sys-apps/console-tools sys-apps/kbd
virtual/editor app-editors/nano
virtual/pppd net-dialup/ppp
sys-apps/texinfo sys-devel/gcc
virtual/bootloader sys-apps/grub
virtual/python dev-lang/python
virtual/modutils sys-apps/modutils
virtual/mta net-mail/ssmtp

And this is the error i get:

# emerge unmerge gcc-2.95.3-r8
Traceback (most recent call last):
  File "/usr/bin/emerge", line 1783, in ?
    if 1==unmerge(myaction, myfiles):
  File "/usr/bin/emerge", line 1452, in unmerge
    retval=portage.unmerge(mysplit[0],mysplit[1],portage.root,unmerge_action not in ["clean","prune"])
  File "/usr/lib/python2.2/site-packages/portage.py", line 1879, in unmerge
    mylink.unmerge(trimworld=mytrimworld)
  File "/usr/lib/python2.2/site-packages/portage.py", line 4308, in unmerge
    if mykey in myprovides[myvirt]:
KeyError: sys-apps/texinfo

Should i just remove the sys-apps/texinfo line from virtuals?
Comment 6 Nicholas Jones (RETIRED) gentoo-dev 2003-12-28 23:22:41 UTC
Any problems like these should be fixed in current portages.
Post a new bug if not.