Bug 277321 - Enable Yum to remove all packages from a repository
Enable Yum to remove all packages from a repository
Product: Fedora
Classification: Fedora
Component: yum (Show other bugs)
All Linux
medium Severity low
: ---
: ---
Assigned To: Jeremy Katz
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2007-09-04 16:25 EDT by Martin Jürgens
Modified: 2014-01-21 17:59 EST (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-09-04 16:50:13 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Martin Jürgens 2007-09-04 16:25:39 EDT
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 16:36:51 EDT
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 16:50:13 EDT
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.