Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 67435 - Portage: Suggestion for the worst case (rebuilding a broken system)
Summary: Portage: Suggestion for the worst case (rebuilding a broken system)
Status: RESOLVED CANTFIX
Alias: None
Product: [OLD] Docs-developer
Classification: Unclassified
Component: Portage Documentation (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-13 11:30 UTC by Martin Scherer
Modified: 2004-10-13 16:06 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 Martin Scherer 2004-10-13 11:30:30 UTC
Scenario: A crash produced broken files on the root partition
in this case an emerge empty world will fail, because some packages may be broken but are depended by other ebuilds!
In design of empty this should not be a problem, but a there exist several ebuilds which doesnt contain a consistent $DEPEND or even worther $RDEPEND.
Also if $RDEPEND is set correctly but the depencies are broken due the crash configure or make will fail!

The solution for this problem seems simple:
If emerge would check the consisty of $DEPEND $REPEND _before_ trying to merge the actually ebuild, a big source of errors will be eliminated!

I hope somebody would care about this even if this scenario does not occour daily ;-)


Reproducible: Always
Steps to Reproduce:
1. Crash your root fs (DO NOT DO THIS!)
2. try to emerge empty world 
3. see emerge failing on ebuilds, which have broken depencies and or broken files
Comment 1 SpanKY gentoo-dev 2004-10-13 16:06:17 UTC
there really is no way to verify the consistency of installed packages the way you want