problem with package depending on installonlypkgs

Nerijus Baliunas <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <[email protected]>
Hello,

I added to /etc/yum.conf
installonlypkgs=kernel-tuxonice kernel-tuxonice-devel

# rpm -qa|grep kernel|sort
kernel-2.6.23.1-49.fc8
kernel-devel-2.6.23.1-49.fc8
kernel-headers-2.6.23.1-49.fc8
kernel-tuxonice-2.6.23.1-42_1.cubbi_tuxonice.fc8
kernel-tuxonice-devel-2.6.23.1-42_1.cubbi_tuxonice.fc8

But yum update says:

--> Running transaction check
--> Processing Dependency: kernel-i686 = 2.6.23.1-42_1.cubbi_tuxonice.fc8 for package: kmod-nvidia-2.6.23.1-42_1.cubbi_tuxonice.fc8
---> Package kernel-tuxonice.i686 0:2.6.23.1-49_1.cubbi_tuxonice.fc8 set to be updated
---> Package kernel-tuxonice-devel.i686 0:2.6.23.1-49_1.cubbi_tuxonice.fc8 set to be updated
--> Finished Dependency Resolution
Error: Missing Dependency: kernel-i686 = 2.6.23.1-42_1.cubbi_tuxonice.fc8 is needed by package kmod-nvidia-2.6.23.1-42_1.cubbi_tuxonice.fc8

It wants to update kernel-tuxonice and kernel-tuxonice-devel (at least
it seems so for kmod-nvidia-2.6.23.1-42_1.cubbi_tuxonice.fc8 package),
which should be installed.

# rpm -q --requires kmod-nvidia-2.6.23.1-42_1.cubbi_tuxonice.fc8
...
kernel-i686 = 2.6.23.1-42_1.cubbi_tuxonice.fc8
...

Now I remove kmod-nvidia-2.6.23.1-42_1.cubbi_tuxonice.fc8 package and
try to update again:

# rpm -e kmod-nvidia-2.6.23.1-42_1.cubbi_tuxonice.fc8
# yum update
--> Running transaction check
---> Package kernel-tuxonice.i686 0:2.6.23.1-49_1.cubbi_tuxonice.fc8 set to be updated
---> Package kernel-tuxonice-devel.i686 0:2.6.23.1-49_1.cubbi_tuxonice.fc8 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size 
=============================================================================
Installing:
 kernel-tuxonice         i686       2.6.23.1-49_1.cubbi_tuxonice.fc8  atrpms             16 M
 kernel-tuxonice-devel   i686       2.6.23.1-49_1.cubbi_tuxonice.fc8  atrpms            4.9 M

Transaction Summary
=============================================================================
Install      2 Package(s)         
Update       0 Package(s)         
Remove       0 Package(s)         

As you see, kernel-tuxonice and kernel-tuxonice-devel will be installed, not
updated, as it should be because of installonlypkgs=kernel-tuxonice kernel-tuxonice-devel.
But why kmod-nvidia-2.6.23.1-42_1.cubbi_tuxonice.fc8 package thinks that they
will be updated, not installed?

Regards,
Nerijus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.