Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 83670 - emerge doesn't warn upon some system breaking unmerges
Summary: emerge doesn't warn upon some system breaking unmerges
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: High normal
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-01 04:55 UTC by Thomas Gruber
Modified: 2005-08-01 05:36 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Expands virtuals and removes operators for syslist checking (2.0.51.18-unmerge-syspkg.patch,497 bytes, patch)
2005-03-01 06:48 UTC, Jason Stubbs (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Gruber 2005-03-01 04:55:44 UTC
glibc should not be unemergeable or at least it should print a warning like when trying to unemerge portage or patch

cheers...
Comment 1 Jason Stubbs (RETIRED) gentoo-dev 2005-03-01 06:45:22 UTC
This one's a portage bug. There was the hack in the glibc ebuild a while back, but portage is meant to warn on the attempted removal of system packages already. It doesn't do it for glibc because the profiles depend on the virtual rather than directly on the package.
Comment 2 Jason Stubbs (RETIRED) gentoo-dev 2005-03-01 06:48:21 UTC
Created attachment 52385 [details, diff]
Expands virtuals and removes operators for syslist checking

Pre-expands the syslist to include all known providers of a virtual for
checking during the unmerge phase. Also kills of operators from the atoms so
that only the raw cat/pkg is checked against.
Comment 3 Jason Stubbs (RETIRED) gentoo-dev 2005-03-01 06:51:23 UTC
If there's no complaints about the patch, it'll go into 2.0.51.19 some time down the line. There's another case that isn't accounted for which won't be handled until the next major version though. That is when a system package depends on another package that is not part of system - for example acl.
Comment 4 Jason Stubbs (RETIRED) gentoo-dev 2005-08-01 05:36:02 UTC
This is fixed enough for the time being. Anything in the system profile will 
be warned on.