[CentOS] yum 4 packages excluded due to repository priority protections

Dave tdbtdb+centos at gmail.com
Thu Oct 14 22:14:17 UTC 2010


On Thu, Oct 14, 2010 at 5:55 PM, Karanbir Singh <mail-lists at karan.org> wrote:
> On 10/14/2010 03:53 PM, Dave wrote:
>> Is there a simple command to get yum to list what packages are being excluded?
>> mahalo,
>
> easy way to do this is write a couple of lines of code, or use something
> like this :
>
> http://www.karan.org/blog/index.php/2009/05/28/checking-a-machines-yum-exclude-policy
>
>

Snippet does not work for me, but the -d3 thing is good enough. Thanks!

Dave

Output:
bash-3.2$ sudo wget -q http://centos.karan.org/check_excludes.py -O - | python
Password:
Loaded plugins: dellsysidplugin2, fastestmirror, priorities
main: []
addons - []
adobe-linux-i386 - []
base - []
epel - []
extras - []
google - []
google64 - []
opennms-stable-common - []
opennms-stable-rhel5 - []
rpmforge - []
rpmfusion-free-updates - []
rpmfusion-free-updates-testing - []
rpmfusion-nonfree-updates - []
rpmfusion-nonfree-updates-testing - []
updates - []
bash-3.2$ sudo yum -d3 search lsb
Loaded plugins: dellsysidplugin2, fastestmirror, priorities, security
Config time: 0.141
Yum Version: 3.2.22
Setting up Package Sacks
Loading mirror speeds from cached hostfile
 * addons: mirror.san.fastserv.com
 * base: mirror.san.fastserv.com
 * epel: ftp.osuosl.org
 * extras: mirrors.versaweb.com
 * rpmforge: ftp-stud.fht-esslingen.de
 * rpmfusion-free-updates: mirror.web-ster.com
 * rpmfusion-free-updates-testing: mirror.web-ster.com
 * rpmfusion-nonfree-updates: mirror.web-ster.com
 * rpmfusion-nonfree-updates-testing: mirror.web-ster.com
 * updates: mirror.san.fastserv.com
addons                                                   |  951 B     00:00
adobe-linux-i386                                         |  951 B     00:00
base                                                     | 2.1 kB     00:00
epel                                                     | 3.7 kB     00:00
extras                                                   | 2.1 kB     00:00
google                                                   |  951 B     00:00
google64                                                 |  951 B     00:00
opennms-stable-common                                    |  951 B     00:00
opennms-stable-rhel5                                     |  951 B     00:00
rpmforge                                                 | 1.1 kB     00:00
rpmfusion-free-updates                                   | 2.8 kB     00:00
rpmfusion-free-updates-testing                           | 2.8 kB     00:00
rpmfusion-nonfree-updates                                | 2.8 kB     00:00
rpmfusion-nonfree-updates-testing                        | 2.8 kB     00:00
updates                                                  | 1.9 kB     00:00
updates/primary_db                                       | 799 kB     00:00
 --> flash-plugin-10.0.22.87-1.el5.rf.x86_64 from rpmforge excluded (priority)
 --> flash-plugin-10.0.32.18-0.1.el5.rf.x86_64 from rpmforge excluded (priority)
 --> flash-plugin-10.0.45.2-0.1.el5.rf.x86_64 from rpmforge excluded (priority)
 --> flash-plugin-10.2.161.22-0.1.el5.rf.x86_64 from rpmforge excluded
(priority)
4 packages excluded due to repository priority protections
pkgsack time: 10.450
rpmdb time: 0.000
================================= Matched: lsb =================================
redhat-lsb.i386 : LSB support for Red Hat Linux
redhat-lsb.x86_64 : LSB support for Red Hat Linux
tor-lsb.x86_64 : LSB initscripts for tor



More information about the CentOS mailing list