[opensuse] YaST, Kernel versions & sheer bloody-mindedness
Hi all. I'm having a major argument with YaST (and zypper) at the moment, trying to purge my system of kernel 3.16.7, leaving only 4.1.3 and 4.1.5 installed. No matter what I try, it insists in having kernel-[default|deskop]-3.16.7-7.1, 21.1 and 24.1 or kernel-[default|desktop|-base-3.16.7-7.1,21.1 and 24.1 installed. How hard can this be? What could be depending on 3 versions of kernel 3.16.7 that the system insists on keeping them installed, when I'm running 4.1.3 and have 4.1.5 installed as well? Running oS 13.2, btw. Seriously thinking about switching to debian, though I really don't want to... Any ideas? TIA, Rodney. -- ============================================================== Rodney Baker VK5ZTV rodney.baker@iinet.net.au ============================================================== -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
* Rodney Baker
Hi all. I'm having a major argument with YaST (and zypper) at the moment, trying to purge my system of kernel 3.16.7, leaving only 4.1.3 and 4.1.5 installed.
No matter what I try, it insists in having kernel-[default|deskop]-3.16.7-7.1, 21.1 and 24.1 or kernel-[default|desktop|-base-3.16.7-7.1,21.1 and 24.1 installed.
How hard can this be? What could be depending on 3 versions of kernel 3.16.7 that the system insists on keeping them installed, when I'm running 4.1.3 and have 4.1.5 installed as well?
Running oS 13.2, btw.
Seriously thinking about switching to debian, though I really don't want to...
Any ideas?
Only a simple and obvious one: zypper al "kernel-*-base-3.16.7*" the pattern may require adjustment. -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2015-08-16 20:29, Rodney Baker wrote:
No matter what I try, it insists in having kernel-[default|deskop]-3.16.7-7.1, 21.1 and 24.1 or kernel-[default|desktop|-base-3.16.7-7.1,21.1 and 24.1 installed.
Taboo each of those packages it wants. But before accepting, verify the summary pane, just in case it wants to take revenge on you by uninstalling the desktop or something huge ;-p -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
On Mon, 17 Aug 2015 03:59:01 Rodney Baker wrote:
Hi all. I'm having a major argument with YaST (and zypper) at the moment, trying to purge my system of kernel 3.16.7, leaving only 4.1.3 and 4.1.5 installed.
No matter what I try, it insists in having kernel-[default|deskop]-3.16.7-7.1, 21.1 and 24.1 or kernel-[default|desktop|-base-3.16.7-7.1,21.1 and 24.1 installed.
How hard can this be? What could be depending on 3 versions of kernel 3.16.7 that the system insists on keeping them installed, when I'm running 4.1.3 and have 4.1.5 installed as well?
Running oS 13.2, btw.
Seriously thinking about switching to debian, though I really don't want to...
Any ideas?
TIA, Rodney.
Thanks, guys, but I solved it. I tried rpm -e kernel-default-3.16.7* and found the answer that YaST could not tell me - some stale virtualbox-kmp and xen-kmp module entries lying around in the rpm database. Told zypper to remove them as well as the 3.16.7 kernels and finally got rid of them. There must be a command to automatically remove dependencies instead of automatically installing alternative packages to satisfy them, but YaST certainly did not seem capable of figuring this out. Anyway - the immediate problem is solved. Funny, now I seem to recall jumping through these hoops once before...should have kept notes. R. -- ============================================================== Rodney Baker VK5ZTV rodney.baker@iinet.net.au ============================================================== -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2015-08-16 21:04, Rodney Baker wrote:
Thanks, guys, but I solved it. I tried rpm -e kernel-default-3.16.7* and found the answer that YaST could not tell me - some stale virtualbox-kmp and xen-kmp module entries lying around in the rpm database. Told zypper to remove them as well as the 3.16.7 kernels and finally got rid of them.
Yep.
There must be a command to automatically remove dependencies instead of automatically installing alternative packages to satisfy them, but YaST certainly did not seem capable of figuring this out.
No, that's a can of worms. People have found that out when removing what they thought was a trivial package, and almost the entire system got removed as dependencies and would not boot any longer. It is really not yast which decides, but the rpm database, filled from data in each rpm, telling what depends on what. Some packages are marked as absolutely must have (I don't remember the wording) and removing one installs an alternative. -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
* Rodney Baker
Thanks, guys, but I solved it. I tried rpm -e kernel-default-3.16.7* and found the answer that YaST could not tell me - some stale virtualbox-kmp and xen-kmp module entries lying around in the rpm database. Told zypper to remove them as well as the 3.16.7 kernels and finally got rid of them.
There must be a command to automatically remove dependencies instead of automatically installing alternative packages to satisfy them, but YaST certainly did not seem capable of figuring this out.
There is but care must be taken, zypper -v rm -u <package> perhaps even, zypper -v rm -u --details <package> I have not tried the second but frequently utilize the first. -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (3)
-
Carlos E. R.
-
Patrick Shanahan
-
Rodney Baker