Mailinglist Archive: opensuse (1108 mails)

< Previous Next >
Re: [opensuse] kernel versions
On 08/08/2018 09:09 PM, Anton Aylward wrote:

On 08/08/18 09:57 PM, don fisher wrote:

I have tried to perform research on the desired actions, and I have asked
many questions on this list. Also, the way I have removed the unwanted
kernel upgrades was to grep on my entire system for any files containing the
version number of the undesired installed kernel. Then I deleted all of these
files and reran grub2-mkconfig.

Don't do it that way.
You end up with an inconsistent system and indeterminate results an.

Do it all with zypper.

1. add the repository
2. install using zypper.
let zypper take care of consistency and
rebuilding grub in a consistent manner
3. remove things using zypper

This part all appears to work, except for the appearance of the deleted
kernels in the Yast2 GUI candidates window.

that's an inadequate statement.
By definition, yast will show you everything available.
So what?
It is what it has marked as install or not that matters.

And if you've screwed around by deleting files manually it means your RPM
database, which is what zypper and yast (and the underlying libraries they have
in common) base their knowledge one, no longer matches what you have installed.
That translates to:


In the meantime, try to limit or repair it by running 'zypper verify'

I downloaded these kernels from the page:,


You add that to your repositories (using 'zypper addrepo' (try 'zypper help
addrepo' for details))

You then use 'zypper in --from' specifying that repository (use 'zypper help in'
for details).


... or worse, and may not be able to recover from the damage you've caused by
your manual intervention.

under the "Opensuse 42.3", "show community packages". It shows "1 click
install" for the suggested kernels. This method of installing desired
software has been suggested many times on this list. What is different here?

Using the web based search is great for finding things that you can't find
because they are not in a Well Known Repository.

What is different is that you are not following a tried and trued method and
because you didn't do that you are not trying a shotgun approach.

The web search is a superb tool but we are dealing with a Well Known Repository
and one that has been discussed and recommended very often on this list.

I am trying to learn more, but have found that sometimes experimentation is
all that works. I have read the entire zipper man page, but still do not
understand how all the parts fit together.

Zypper does everything that Yast in sw-single mode does and bit more, They are
both front ends for the relevant libraries. GUIs are a bit more 'idiot stick'
since they have all the icons. Both are 'Swiss army knives' with lots of

When you run 'zypper help' it gives you all the possible first order commands.

I always use zypper; but then I don't use about 85% of the possible commands.
And of the 15% I do use, about 3% I have to look at the 'help' 'cos I don't use
them often enough to remember the syntax.

But the circumstances I use yast are very very very very very rare.
Compared to zypper it is too slow, to unresponsive, to much fiddle-faddle in the
way of getting Things Done.
In Yast those map to various icons.

The last time I was required to build kernels they were first downloaded from, configured and then compiled.

Gee, I don't thing I've done that since the beginning of the 1990s with
Slackware. Too much aggravation. It turned me off Linux and I went back to
using SCO.

I have been trying to learn how to do things the Opensuse way.

Manually deleting files so as to upset the consistency of the RPM database is
certainly NOT the OpenSUSE way!


At this point, I think that I and Patrick might like to know just what
repositories you DO have configured.

So, can you please show us the output of running, as root, 'zypper lr'

I tried to upgrade to Leap 15 and the DVD upgrade stalled at the first entry, examining USB devices. It had already loaded USB devices during boot, so am a bit confused. I cannot get almost anything to work on this laptop:-(.


To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
This Thread
Follow Ups