Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 56716

Summary: macos package db corruption caused by failed emerge
Product: Gentoo Linux Reporter: Alexander Plank (RETIRED) <alexander>
Component: New packagesAssignee: osx porters <osx>
Status: VERIFIED FIXED    
Severity: critical    
Priority: High    
Version: unspecified   
Hardware: PPC   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

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...