Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56716 - macos package db corruption caused by failed emerge
Summary: macos package db corruption caused by failed emerge
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: PPC All
: High critical (vote)
Assignee: osx porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-11 12:37 UTC by Alexander Plank (RETIRED)
Modified: 2005-02-06 13:33 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 Plank (RETIRED) gentoo-dev 2004-07-11 12:37:44 UTC
On Gentoo MacOS, if an emerge fails, the currently emerging package's database entry becomes corrupt. This causes portage to fail when trying to do something 

Temp fix:

$sudo rm -rf /var/db/pkg/sys-libs/-MERGING*

Reproducible: Always
Steps to Reproduce:
Usually emerging zlib will corrupt its db entry. 
Actual Results:  
portage becomes borked

Expected Results:  
portage shouldn't have become borked ;-)
Comment 1 Pieter Van den Abeele (RETIRED) gentoo-dev 2004-07-12 03:02:19 UTC
The first installer was portage 2.0.51_pre12 based, and had some, but not all patches to _pre13

_pre13 no longer has this problem. I'll create a pre13 with the macos patches and put it in a new installer. I'll close this bug when the installer is available.
Comment 2 Pieter Van den Abeele (RETIRED) gentoo-dev 2004-07-12 18:18:42 UTC
uploading
Comment 3 Hasan Khalil (RETIRED) gentoo-dev 2005-02-06 13:33:19 UTC
Closing out bugs that've been resolved for a while now...