kernel provide 2.6.9. Too bad.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Here is the problem :

# rpm -q kernel
kernel-2.6.9-1.643.mat.1
kernel-2.6.9-1.649.mat.1
# rpm -q --provides kernel
kernel-drm = 4.3.0
kernel = 2.6.9-1.643.mat.1
kernel-drm = 4.3.0
kernel = 2.6.9-1.649.mat.1
# rpm -q --requires -p kernel-module-unicorn-atm-0.8.7-mat.1_2.6.9_1.649.i686.rpm
/bin/sh
/sbin/depmod
kernel = 2.6.9-1.649
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
# rpm -i kernel-module-unicorn-atm-0.8.7-mat.1_2.6.9_1.649.i686.rpm
error: Failed dependencies:
        kernel = 2.6.9-1.649 is needed by kernel-module-unicorn-atm-0.8.7-mat.1_2.6.9_1.649.i686

This "error", is normal.

Install the "right" packages :
# rpm -i --fileconflicts(*) kernel-module-unicorn-atm-0.8.7-mat.1_2.6.9_1.643.mat.1.i686.rpm
# rpm -i --fileconflicts(*) kernel-module-unicorn-atm-0.8.7-mat.1_2.6.9_1.649.mat.1.i686.rpm

Try to remove a kernel (2.6.9-1.643.mat.1)
# rpm -e kernel-2.6.9-1.643.mat.1
error: Failed dependencies:
        kernel = 2.6.9-1.643.mat.1 is needed by (installed) kernel-module-unicorn-atm-0.8.7-mat.1_2.6.9_1.643.mat.1.i686

This "error", is normal.

Add kernel-2.6.9-1.649
# rpm -i --fileconflicts(*) --oldpackage kernel-2.6.9-1.649.i686.rpm
Fine.

Try to remove a kernel (2.6.9-1.643.mat.1) again
# rpm -e kernel-2.6.9-1.643.mat.1

No error !

# find /lib/modules/2.6.9-1.643.mat.1/ -type f
/lib/modules/2.6.9-1.643.mat.1/kernel/extra/unicorn_pci_atm.ko

# rpm -q --provides kernel-2.6.9-1.649
kernel = 2.6.9  <===== Why ?
kernel-drm = 4.3.0
kernel = 2.6.9-1.649

Can you please remove "Provides: kernel = %{version}" from the kernel .spec file ?
Should I file this in bugzilla ?

(*) : Errr

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=


[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]