[CentOS] Remove all packages from specific repository
Phil Schaffner
Philip.R.Schaffner at NASA.govFri Sep 17 13:19:04 UTC 2010
- Previous message: [CentOS] Remove all packages from specific repository
- Next message: [CentOS] Remove all packages from specific repository
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 result should be a list of VENDOR tags. 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. Remove all, or all related to the packages you want to remove, then disable EPEL, or set it to a lower priority than RPMforge. Enable RPMforge, and install the packages you want. If the RPMforge packages are all later versions, then the prior removal should not be necessary. A simple "yum update" with the correct repo configuration should be sufficient. Phil
- Previous message: [CentOS] Remove all packages from specific repository
- Next message: [CentOS] Remove all packages from specific repository
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list