[CentOS] Removing All Packages From Repository

2012-02-13 Thread Matt
Is there a way to remove all packages from a certain repository such as RPMFORGE? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] Removing All Packages From Repository

2012-02-13 Thread Scott Silva
on 2/13/2012 12:54 PM Matt spake the following: Is there a way to remove all packages from a certain repository such as RPMFORGE? I have done it by something like rpm -qa|grep rf and cat the list into rpm -U... I don't have the exact incantation near me, but that will get you a start

Re: [CentOS] Removing All Packages From Repository

2012-02-13 Thread Ljubomir Ljubojevic
On 02/13/2012 09:54 PM, Matt wrote: Is there a way to remove all packages from a certain repository such as RPMFORGE? yum remove $(yum list installed | grep repoforge | awk '{ print $1 }') where repoforge is the part of the repository name that show up in yum list -- Ljubomir Ljubojevic

Re: [CentOS] Removing All Packages From Repository

2012-02-13 Thread m . roth
Ljubomir Ljubojevic wrote: On 02/13/2012 09:54 PM, Matt wrote: Is there a way to remove all packages from a certain repository such as RPMFORGE? yum remove $(yum list installed | grep repoforge | awk '{ print $1 }') where repoforge is the part of the repository name that show up in yum