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...
Status: IN_PROGRESS
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-13 10:08 UTC by Andrei Slavoiu
Modified: 2024-02-05 03:49 UTC (History)
3 users (show)

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 Andrei Slavoiu 2017-01-13 10:08:26 UTC
* Building file list for packages cleaning...

!!! Invalid binary package: '/usr/portage/packages/media-gfx/imagemagick-6.9.7.3.tbz2'
!!! 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.
Comment 2 Brian Dolbec (RETIRED) gentoo-dev 2024-02-05 03:49:39 UTC
I believe this one was fixed and patches added to both portage and eclean and since released.

@sam can you confirm please