Re: Re: list of epel packages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Mon, Apr 07, 2008 at 08:21:17PM +0200, David Hláčik wrote:
> Or to be more specific, what i am trying to do is to remove epel repo and all
> installed packages from that repo , how will i achieve it?

Something like this:

  rpm -qa --queryformat '%{NAME}-%{VERSION}-%{RELEASE}|%{DISTRIBUTION}\n' | \
    egrep "Extras Packages for Enterprise Linux$" | cut -f1 -d'|'

Should list all the EPEL packages.  You could then call yum remove on
each one or rpm -e.

Maybe there's a slicker way to do this.

Ray
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux