Some time ago, I downgraded from Tumbleweed to 13.1 using zypper dup. Now I noticed that my kernel-desktop package it still the one that I had installed from the Tumbleweed repository (a more recent version than the 13.1 Update repo has). How can I safely remove the Tumbleweed versions of the package and replace them with the latest 13.1 Update version?
On 2014-09-27 20:16, ondracifka wrote:
>
> Some time ago, I downgraded from Tumbleweed to 13.1 using zypper dup.
> Now I noticed that my kernel-desktop package it still the one that I had
> installed from the Tumbleweed repository (a more recent version than the
> 13.1 Update repo has). How can I safely remove the Tumbleweed versions
> of the package and replace them with the latest 13.1 Update version?
Check first if you have the “native” 13.1 kernel installed, and simply
grub2 is starting the tumbleweed one, as it has a higher number.
13.1 has now 3.11.10-21-desktop
To check versions do:
cp /var/lib/rpm/Packages /dev/null
rpm -qa | grep -i kernel
–
Cheers / Saludos,
Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)
Or just use YaST->Software Management.
Search for “kernel-desktop” and click on “Versions” below the package list to see all installed/available kernels and install/uninstall selected ones.
Oh, I seem to have installed the right package from YaST by choosing ‘Downgrade’, I just didn’t realise it wouldn’t actually remove the newer versions.
By default more than one kernel is kept installed.
So even if you “downgrade” the kernel, the old, higher, version is not removed. And even still booted by default by grub2.
Remove the higher version with YaST/zypper or rpm if you want to.
On 2014-09-27 21:26, ondracifka wrote:
>
> Oh, I seem to have installed the right package from YaST by choosing
> ‘Downgrade’, I just didn’t realise it wouldn’t actually remove the newer
> versions.
No, because, by default since few releases back, the kernel is
configured as a “multiversion” package.
–
Cheers / Saludos,
Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)