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

Bug 266996

Summary: [patch] app-portage/gentoolkit: eclean-pkg should update Packages file
Product: Gentoo Linux Reporter: Ryan Tandy <ryan>
Component: [OLD] UnspecifiedAssignee: Portage Tools Team <tools-portage>
Status: RESOLVED FIXED    
Severity: normal CC: eva
Priority: High Keywords: InVCS
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 237964, 268001    
Attachments: eclean_clean_package_metadata.patch

Description Ryan Tandy 2009-04-21 17:15:06 UTC
when eclean-pkg deletes unused binpkg files, the metadata for them is left intact in the Packages file which could cause problems if that file is then used as a binhost.  a possible fix to this would be to call emaint --fix binhost at the end of each eclean-pkg run; I don't know whether there's some api to accomplish the same.
Comment 1 michael@smith-li.com 2009-05-03 05:37:08 UTC
Created attachment 190201 [details, diff]
eclean_clean_package_metadata.patch

This should work, according to my preliminary tests. It's not well-tested, though, so take proper precautions before trying it.
Comment 2 Paul Varner (RETIRED) gentoo-dev 2009-05-05 01:50:38 UTC
$ svn commit -m "Add patch from kojiro to clean binary package metadata (Bug #266996 and to clean up inconsistent error messages (Bug #268513)"
Sending        eclean/eclean
Transmitting file data .
Committed revision 581.
Comment 3 Paul Varner (RETIRED) gentoo-dev 2009-05-05 03:27:01 UTC
$ svn commit -m "Add patch from kojiro to clean binary package metadata (Bug #266996 and to clean up inconsistent error messages (Bug #268513)"
Sending        eclean/eclean
Transmitting file data .
Committed revision 581.
Comment 4 Paul Varner (RETIRED) gentoo-dev 2009-05-07 01:42:12 UTC
gentoolkit-0.3.0_rc5 released.  Thanks to djanderson for the hard work on equery and gentoolkit.
Comment 5 Paul Varner (RETIRED) gentoo-dev 2009-05-18 22:13:58 UTC
gentoolkit-0.2.4.4 released.