YOU kernel confusion
Hello SuSE people, Running 9.2 -2.6 kernel. Last night I did a YOU update. It bumped me up to the .11 version of the kernel from the .10 version. Tonight I went to do an apt-get update/upgrade. I received a message: The following packages have unmet dependencies: kernel-default-nongpl#2.6.8-24.10: Depends: kernel-default (= 2.6.8-24.10) but 2.6.8-24.11 is installed. So I did a uname -r That showed the 2.6--.11 kernel. So then I did an rpm -qa. That showed that I had one version of kernel-default and one version of kernel-sourcres (.11 version) and two versions of kernel-source-nongpl. the .10. and the .11 versions. So then I went in and looked at /var/lib/YaST2/you/mnt/i386/update/9.2/deltas & /rpms (the deltas are what the patches are, right?) figuring I would just delete the old .10 versions and be on my merry way. Wrong, to my surprise I found two versions, .5 (which I surmise is the original kernel from the install), and .10. No .11 !! Now I am really confused. Where did YOU put .11 ?? And when it installs the kernel-default does it also install both of the sources? And if it does, why doesn't it overwrite/delete the old packages ?? Sooo, how do I rpm -e the kernel-source-nongpl .10 package when there are two versions with the same name? Can I delete the old .5 & .10 rpm's and hope that the .11 packages are somewhere?? And, do I even need the kernel-source-nongpl file ? Bob S. PS Did an rpm rebuilddb just to be sure.
B. Stia wrote:
Tonight I went to do an apt-get update/upgrade. I received a message: The following packages have unmet dependencies: kernel-default-nongpl#2.6.8-24.10: Depends: kernel-default (= 2.6.8-24.10) but 2.6.8-24.11 is installed.
So I did a uname -r That showed the 2.6--.11 kernel.
So then I did an rpm -qa. That showed that I had one version of kernel-default and one version of kernel-sourcres (.11 version) and two versions of kernel-source-nongpl. the .10. and the .11 versions.
Something must have gone wrong on your machine. Mine shows joe@jmorris64:~> rpm -qa | grep kernel kernel-default-nongpl-2.6.8-24.11 kernel-default-2.6.8-24.11 kernel-source-2.6.8-24.11 When it was updated, the nongpl package should have been updated and not just installed.
So then I went in and looked at /var/lib/YaST2/you/mnt/i386/update/9.2/deltas & /rpms (the deltas are what the patches are, right?) figuring I would just delete the old .10 versions and be on my merry way.
That would have done nothing. Those are just the downloaded packages.
Wrong, to my surprise I found two versions, .5 (which I surmise is the original kernel from the install), and .10. No .11 !! Now I am really confused.
If you do not remove the packages after install, this is normal (and keeps from redownloading if needed again).
Where did YOU put .11 ?? It should have been there. Maybe the download was corrupted and didn't finish installing, and thus didn't delete the old package. I would suggest downloading the .11 package and installing with Yast, or rpm -Uvh --replacepkg --replacefiles. And when it installs the kernel-default does it also install both of the sources? If they were installed already, they would be updated. And if it does, why doesn't it overwrite/delete the old packages ??
That depends on your setup. It is an option on the update dialog box.
Sooo, how do I rpm -e the kernel-source-nongpl .10 package when there are two versions with the same name? Just specify the whole name, i.e. rpm -e kernel-default-nongpl-2.6.8-24.10.x86_64.rpm Can I delete the old .5 & .10 rpm's and hope that the .11 packages are somewhere?? You can delete them if you want, but I would first download the package and reinstall. It may contain modules you need to operate properly. And, do I even need the kernel-source-nongpl file ?
Do you need any of the following modules? joe@jmorris64:~> rpm -ql kernel-default-nongpl /lib/modules/2.6.8-24.11-default/extra/ath_hal.ko /lib/modules/2.6.8-24.11-default/extra/libafs.ko /lib/modules/2.6.8-24.11-default/extra/megaide.ko /lib/modules/2.6.8-24.11-default/extra/ztd-eth.ko /lib/modules/2.6.8-24.11-default/kernel/drivers/net/ppp_mppe.ko If not, then no. -- Joe Morris New Tribes Mission Email Address: Joe_Morris@ntm.org Registered Linux user 231871
participants (2)
-
B. Stia
-
Joe Morris (NTM)