[Yum] F7 yum 3.2.7 ignoring installonlypkgs?

Richard Michael rmichael-yum at edgeofthenet.org
Fri Dec 7 23:50:37 UTC 2007


Hi list,

I've probably missed something obvious, but my Fedora 7 yum seems to be
ignore my settings for installonlypkgs and installonly_limit.

Yum appears to insist on updating my kernel packages, and I haven't
exceeded installonly_limit.

(I used livna repos for nvidia kernel modules.  I disabled the livna
repo for the tests below, but I have the same problem when livna repos
remain enabled..)

What have I missed?  Is there another setting (other than /etc/yum.conf)
on a Fedora system which is controlling this behaviour?

Thanks,
Richard
--------------------------
[root at localhost Desktop]# yum update --disablerepo=livna*
fedora                    100% |=========================| 2.1 kB 00:00     
primary.sqlite.bz2        100% |=========================| 4.7 MB 00:13     
adobe-linux-i386          100% |=========================|  951 B 00:00     
updates                   100% |=========================| 2.3 kB 00:00     
Setting up Update Process
Resolving Dependencies
--> Running transaction check
--> Processing Dependency: kernel-x86_64 = 2.6.23.1-10.fc7 for package: kmod-nvidia
---> Package kernel-headers.x86_64 0:2.6.23.1-21.fc7 set to be updated
---> Package kernel.x86_64 0:2.6.23.1-21.fc7 set to be updated
---> Package kernel-devel.x86_64 0:2.6.23.1-21.fc7 set to be updated
filelists.sqlite.bz2      100% |=========================| 7.6 MB 00:12     
--> Processing Dependency: /boot/vmlinuz-2.6.23.1-10.fc7 for package: madwifi-hal-kmdl-2.6.23.1-10.fc7
--> Processing Dependency: /boot/vmlinuz-2.6.23.1-10.fc7 for package: madwifi-kmdl-2.6.23.1-10.fc7
--> Finished Dependency Resolution
Error: Missing Dependency: /boot/vmlinuz-2.6.23.1-10.fc7 is needed by package madwifi-kmdl-2.6.23.1-10.fc7
Error: Missing Dependency: kernel-x86_64 = 2.6.23.1-10.fc7 is needed by package kmod-nvidia
Error: Missing Dependency: /boot/vmlinuz-2.6.23.1-10.fc7 is needed by package madwifi-hal-kmdl-2.6.23.1-10.fc7

[root at localhost Desktop]# cat /etc/yum.conf
[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
metadata_expire=1800
installonlypkgs=kernel*, kmod-nvidia*
installonly_limit=4

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d

[root at localhost Desktop]# rpm -q yum
yum-3.2.7-2.fc7

[root at localhost Desktop]# rpm -qa | grep kernel
kernel-devel-2.6.23.1-10.fc7
kernel-headers-2.6.23.1-10.fc7
kernel-2.6.23.1-10.fc7




More information about the Yum mailing list