Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 64344 - Emerge should warn before removing one of its own dependencies
Summary: Emerge should warn before removing one of its own dependencies
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-16 21:37 UTC by Alexander Marks
Modified: 2004-09-16 21:56 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 Alexander Marks 2004-09-16 21:37:13 UTC
Although its obviously always a result of human error, it is possible to accidentally unemerge a dependency of emerge (such as Python). Emerge should warn of this before doing the act, because the result will be a broken emerge and possibly a tough time getting back up to speed.

Reproducible: Always
Steps to Reproduce:
1. Unemerge a dependency of emerge
2. Cry
Comment 1 Alexander Marks 2004-09-16 21:40:11 UTC
Ideally it should warn when you try to unemerge anything that is a dependency of anything else, but it's particularly annoying with emerge as it makes recovery that much harder.
Comment 2 SpanKY gentoo-dev 2004-09-16 21:44:34 UTC
this has already been reported (but i cant locate the bug # atm) and already been fixed in 2.0.51:

root@vapier 0 ~ # emerge python -C


!!! Trying to unmerge package(s) in system profile. 'dev-lang/python'
!!! This could be damaging to your system.

>>> Waiting 10 seconds before starting...
>>> (Control-C to abort)...
Press Ctrl-C to Stop in: 10 9
Comment 3 Alexander Marks 2004-09-16 21:56:20 UTC
Ah fair enough, glad to hear that's in the new portage. I would like, however, to see some kind of safe mode that requires confirmation before doing anything potentially damaging such as that (or perhaps safe mode by default, and an option for reckless mode)