Re: [CentOS] Remove all packages from specific repository

2010-09-17 Thread Phil Schaffner
Morten P.D. Stevens wrote on 09/17/2010 09:55 AM: > Hi Phil, > > This command is great to list (and remove) all packages from EPEL repository. You're welcome. Guess you managed to ignore the extraneous Xoops code tags from the forum copy/paste. :-) Phil

Re: [CentOS] Remove all packages from specific repository

2010-09-17 Thread Morten P.D. Stevens
On Fri, Sep 17, 2010 at 3:19 PM, Phil Schaffner wrote: > To see the packages from a > particular Vendor, for example EPEL:[code] > rpm -qa --qf "%{NAME} %{VENDOR} \n" | grep "Fedora Project" | cut -d ' ' > -f 1 | sort > [/code] > The result should be a list of EPEL packages. Hi Phil, This comman

Re: [CentOS] Remove all packages from specific repository

2010-09-17 Thread Phil Schaffner
Morten P.D. Stevens wrote on 09/17/2010 07:06 AM: > What's the best way to remove all amavisd-new packages (and it's dependencies) from EPEL repo and reinstall it from rpmforge repo? To see what repos you have installed packages from: [code] rpm -qa --qf "%{VENDOR} \n" | sort | uniq [/code] The