Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 6696 - emerge clean breaks portage and removes important sys-apps
Summary: emerge clean breaks portage and removes important sys-apps
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: Normal normal
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-18 18:47 UTC by Nick
Modified: 2011-10-30 22:17 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 Nick 2002-08-18 18:47:38 UTC
I recently received a security advisory through gentoo-announce pertaining to
netscape flash.  I followed the directions "emerge rsync; emerge netscape-flash;
emerge clean" ...everything was fine until the "emerge clean".
after running that command, not only did portage fail to work, it also unmerged
a package that included "tar", making it impossible to do a portage rescue.
i then dug out my install cd and did a manual rescue.
it took me a couple of days to get everything squared away for that incident,
because it also broke gcc.

Now, I just recently tried "emerge clean" again, and once again it broke
portage. However, tar remained on the system this time so i could use the
portage rescue option.  But after i got portage up and running somewhat, i did
an "emerge system -up" and got these results:

These are the packages that I would merge, in order.

Calculating system dependencies ...done!
[ebuild   U ] sys-apps/baselayout-1.7.9-r1 to /
[ebuild   U ] sys-apps/hdparm-5.2-r2 to /
[ebuild   U ] sys-apps/iptables-1.2.7 to /

i thought "emerge clean" would only remove old programs that aren't needed and
it appears that it has.

after doing the portage rescue, i remerged portage and got this error at the end
of the process 9 times

/usr/sbin/ebuild.sh: einfo not found: command not found

when trying an "emerge system -u" i get this error on the baselayout

/usr/sbin/ebuild.sh: /etc/init.d/functions.sh: No such file or directory
Comment 1 Daniel Robbins (RETIRED) gentoo-dev 2002-08-28 17:48:17 UTC
What version of Portage are you using?
Comment 2 SpanKY gentoo-dev 2002-09-12 23:21:45 UTC
lack of user input and quite an odd bug (i.e. i dont think its reproducable)

closing ...