Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 266996 - [patch] app-portage/gentoolkit: eclean-pkg should update Packages file
Summary: [patch] app-portage/gentoolkit: eclean-pkg should update Packages file
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 237964 268001
  Show dependency tree
 
Reported: 2009-04-21 17:15 UTC by Ryan Tandy
Modified: 2009-05-18 22:13 UTC (History)
1 user (show)

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


Attachments
eclean_clean_package_metadata.patch (eclean_clean_package_metadata.patch,1.95 KB, patch)
2009-05-03 05:37 UTC, michael@smith-li.com
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.