Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 27993 - emerge depclean removes coreutils which leaves system almost unusable
Summary: emerge depclean removes coreutils which leaves system almost unusable
Status: RESOLVED DUPLICATE of bug 24960
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-05 04:31 UTC by Florian Streck
Modified: 2005-07-17 13:06 UTC (History)
1 user (show)

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 Florian Streck 2003-09-05 04:31:56 UTC
After runnung emerge depclean I realized that many important binaries (ls, rm,
...) were missing. This also caused the "emerge depclean" to stop at some point.
Since those binaries are also used by emerge and ebuild I was in real trouble.
When I got back the most important binaries I reinstalled coreutils and it was
added to "world". 




Reproducible: Couldn't Reproduce
Steps to Reproduce:
1. I tried "emerge depclean" again
2. it failed ( due to another but alread reported bug)

Actual Results:  
# emerge depclean

// Warning Messages ...

Calculating depclean dependencies ... done!
Traceback (most recent call last):
  File "/usr/bin/emerge", line 1840, in ?
    catpack=myparts[0]+"/"+myparts[1]
TypeError: unsubscriptable object

#

Expected Results:  
I didn't even expect it to be reproducable that way since coreutils was added to
"world" when I did "emerge coreutils" after my little disaster. That should
prevent it form happening again, shouldn't it? 

I think "coreutils" is not added to "system" or "world" when at first installing
gentoo (how can I find out if that's true or, generally how do I find out what
the contents of "system" are?). Adding it to "system" should resolve that bug I
think.

# emerge info
Portage 2.0.48-r5 (default-1.0, gcc-2.95.3, glibc-2.2.5-r2,2.2.5-r8)
=================================================================
System uname: 2.4.21 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
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/config"
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=""
USE="x86 oss 3dnow apm avi crypt cups encode jpeg kde libg++ mikmod mmx mpeg
ncurses pdflib quicktime spell truetype xml2 xmms xv arts berkdb cdr esd gdbm
gif gnome gnome-libs gpm gphoto2 gtk imlib java libwww motif mozilla nls
oggvorbis opengl pam perl png python qt readline scanner sdl slang ssl svga
tcltk tcpd tetex tiff X"
COMPILER=""
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O3 -pipe"
CXXFLAGS="-march=i686 -O3 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j7 -l6.0"
AUTOCLEAN="yes"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 SpanKY gentoo-dev 2003-09-05 08:12:20 UTC

*** This bug has been marked as a duplicate of 24960 ***