Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 77727 - Additional feature to unmerging request
Summary: Additional feature to unmerging request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2005-01-12 12:43 UTC by Łukasz Mierzwa
Modified: 2005-07-14 06:58 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 Łukasz Mierzwa 2005-01-12 12:43:23 UTC
hi, I just damages my system real hard and I'm in a middle of solving it, here is what happed:

one day someone added acl use flag as default (i'm running x86) so when I run "#emerge -uD world" I've got attr and acl installed. Since then I had updated my system few times so many system critical packages was remerged. Today I run "#emerge sync" and "#emerge -uD world", I unmerged mldonkey necouse I didn't needet it anymore, after that I had run "#emerge depclean -pv" to unmerge any mldonkey dependecies, it listed acl and attr packages as unneeded, the acl use flag was now disabled by default on my arch (x86), I let it unmerge those packages and after that I wanted to run revdep-rebuild to fix packages that were depending on acl, it listed few packages including coreutils, but the problem is that coreutils apps like install, mv, cp, ls etc. are broken, they don't work, when I run "#ls" I get:
>ls: error while loading shared libraries: libacl.so.1: cannot open shared object file: No such file or >directory
I can't emerge anything so I'm stuck with system that if I will shut down I won't probably boot completly anymore.
My request if FEATURES="unmerge_backup_or_something_more_fancy" is set then during umerge portage should build binary package before deleting files, so if something like this happens there are files that can be used for recovery. I can set buildpkg but that's  just too much, or maybe packages should be build automaticly only during depclean.
I just basicly think that we should have some protection from deleting libraries that if missing can make system unusable.

Łukasz Mierzwa
Comment 1 Nicholas Jones (RETIRED) gentoo-dev 2005-01-13 09:11:23 UTC
There's a very large, bright red, strongly marked, capital letter,
counter-delayed warning on depclean.
Comment 2 Paul Varner (RETIRED) gentoo-dev 2005-01-13 09:31:26 UTC
I'm just brainstorming here, so feel free to ignore if I'm being stupid.  Would it be a good idea to recommend in the warning message to run emerge --update --deep --newuse [system | world ] prior to running emerge depclean to minimize the risk of damage to the system?
Comment 3 Jason Stubbs (RETIRED) gentoo-dev 2005-07-14 05:48:12 UTC
Fixed on or before 2.0.51.22-r1 
Comment 4 Jason Stubbs (RETIRED) gentoo-dev 2005-07-14 06:58:50 UTC
Looking through the batch of bugs, I'm not sure that some of these are 
actually fixed in stable. Others, the requirements have possibly changed after 
the initial fix was committed. 
 
If you think this bug has been closed incorrectly, please reopen or ask that 
it be reopened.