Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 451396 - app-portage/flaggie-0.2-r3 - Should not remove category/* if there are still packages installed from that category.
Summary: app-portage/flaggie-0.2-r3 - Should not remove category/* if there are still ...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-11 13:35 UTC by Massimo Burcheri
Modified: 2013-01-12 12:21 UTC (History)
1 user (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 Massimo Burcheri 2013-01-11 13:35:08 UTC
I had
xfce-base/*
in /etc/portage/package.accept_keywords/xall
and this was removed by flaggie --destructive-cleanup eventhough there are still some (not all) packages of that category installed and after the cleanup forced to downgrade.
Any cleanup not matter how destructive should leave the wildcards category/* at least if there is at least one package of the category still installed.

Reproducible: Always
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-01-11 19:31:06 UTC
Hmm, I guess I didn't think of wildcards when implementing the cleanup. I'm currently quite busy but I will try to fix this in reasonable time.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-01-12 12:21:49 UTC
(In reply to comment #1)
> Hmm, I guess I didn't think of wildcards when implementing the cleanup. I'm
> currently quite busy but I will try to fix this in reasonable time.

Yes, the cleanup methods use .xmatch() method which doesn't support wildcards.

I've tried to construct an Atom() with wildcards enabled but that doesn't help either.

In [16]: a=portage.dep.Atom('dev-python/*', allow_wildcard=True)

In [17]: db.xmatch('match-all', a)
Out[17]: []