Bug 277321 - Enable Yum to remove all packages from a repository
Summary: Enable Yum to remove all packages from a repository
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 7
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-09-04 20:25 UTC by Martin Jürgens
Modified: 2014-01-21 22:59 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-09-04 20:50:13 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Martin Jürgens 2007-09-04 20:25:39 UTC
This is a feature request.

It should be possible to remove all packages from a repository using Yum.

For example, when the user wants to switch from Freshrpms to Livna, he probably
wants to remove all packages from Freshrpms.

Currently, there is no easy way provided to do so, as the Freshrpms packages do
not have freshrpms in there name.

Comment 1 Ignacio Vazquez-Abrams 2007-09-04 20:36:51 UTC
Putting the... sanity... of such a feature aside for the moment, it is possible
to get the key belonging to a repo and then query/remove packages signed with
that key.

rpm -qa gpg-pubkey --qf "%{version}: %{summary}\n"

Comment 2 Seth Vidal 2007-09-04 20:50:13 UTC
right now we just don't have any metadata available to us in the installed pkgs
which would let us do this. In the future it is possible we might, however even
then I do not think this would be enabled in the core yum functionality. It
could, however, be in a plugin someone writes.




Note You need to log in before you can comment on or make changes to this bug.