Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 605562 - app-portage/gentoolkit-0.3.3: eclean packages complains about invalid package but does not delete it
Summary: app-portage/gentoolkit-0.3.3: eclean packages complains about invalid package...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage Tools Team
Depends on:
Reported: 2017-01-13 10:08 UTC by Andrei Slavoiu
Modified: 2017-01-23 22:35 UTC (History)
1 user (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Andrei Slavoiu 2017-01-13 10:08:26 UTC
* Building file list for packages cleaning...

!!! Invalid binary package: '/usr/portage/packages/media-gfx/imagemagick-'
!!! Missing metadata key(s): CATEGORY, PF, SLOT. This binary package is not
!!! recoverable and should be deleted.
 * Your packages directory was already clean.

Since it identifies the invalid package it should delete it itself instead of telling the user to delete it manually.
Comment 1 Zac Medico gentoo-dev 2017-01-23 22:35:58 UTC
The portage API has a binarytree.invalids list, but unfortunately it doesn't contain full paths. We're probably going to need a new portage API for this.