[CentOS] Re: list of epel packages

Mon Apr 7 18:31:19 UTC 2008
Dennis Gilmore <dennis at ausil.us>

On Monday 07 April 2008, 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?
>
> Thanks again
>
> D.
>
> On Mon, Apr 7, 2008 at 8:20 PM, David Hláčik <david at hlacik.eu> wrote:
> > Hi!
> >
> > I know it has been solved many times, but how will i get a list of all
> > installed packages from EPEL repository? I know for rpmforge it is rpm
> > -qa package=*rf* .
> >
> > Thanks!
> >
> > David

rpm -qa --queryformat="%{name}-%{version}-%{release} %{packager}\n"|grep 
Fedora|sed -e "s|Fedora Project <http://bugzilla.redhat.com/bugzilla>||g"|
xargs yum remove


that should do it