Re: Removing All Packages From Repository

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



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
(Love is in the Air)
PL Computers
Serbia, Europe

Google is the Mother, Google is the Father, and traceroute is your
trusty Spiderman...
StarOS, Mikrotik and CentOS/RHEL/Linux consultant
_______________________________________________
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