Can't upgrade to kernel 5.18.1
Hi, I have a weird dependency problem when trying to upgrade the system, where kernel-default-base conflicts with kernel-default. I use distro kernels only. sudo zypper dup --no-allow-vendor-change Problem: the to be installed kernel-default-base-5.18.1-1.1.24.16.x86_64 conflicts with 'kernel-default = 5.18.1-1' provided by the to be installed kernel-default-5.18.1-1.1.x86_64 Solution 1: deinstallation of kernel-default-5.17.9-1.1.x86_64 Solution 2: deinstallation of kernel-default-base-5.17.7-1.1.24.14.x86_64 Solution 3: keep obsolete kernel-default-5.17.9-1.1.x86_64 Solution 4: keep obsolete kernel-default-base-5.17.7-1.1.24.14.x86_64 Any hints on how to resolve this? Bye Michal
Hi, Am Dienstag, 7. Juni 2022, 09:34:19 CEST schrieb Michal Vyskocil:
Hi,
I have a weird dependency problem when trying to upgrade the system, where kernel-default-base conflicts with kernel-default. I use distro kernels only.
sudo zypper dup --no-allow-vendor-change
Problem: the to be installed kernel-default-base-5.18.1-1.1.24.16.x86_64 conflicts with 'kernel-default = 5.18.1-1' provided by the to be installed kernel-default-5.18.1-1.1.x86_64 Solution 1: deinstallation of kernel-default-5.17.9-1.1.x86_64 Solution 2: deinstallation of kernel-default-base-5.17.7-1.1.24.14.x86_64 Solution 3: keep obsolete kernel-default-5.17.9-1.1.x86_64 Solution 4: keep obsolete kernel-default-base-5.17.7-1.1.24.14.x86_64
Depending on whether you want the smaller -base flavor (for VMs only) or the full one, delete all -base kernels or the others. Cheers, Fabian
Any hints on how to resolve this? Bye Michal
Dne úterý 7. června 2022 9:42:01 CEST, Fabian Vogt napsal(a):
Hi,
Am Dienstag, 7. Juni 2022, 09:34:19 CEST schrieb Michal Vyskocil:
Hi,
I have a weird dependency problem when trying to upgrade the system, where kernel-default-base conflicts with kernel-default. I use distro kernels only.
sudo zypper dup --no-allow-vendor-change
Problem: the to be installed kernel-default-base-5.18.1-1.1.24.16.x86_64 conflicts with 'kernel-default = 5.18.1-1' provided by the to be installed kernel-default-5.18.1-1.1.x86_64
Solution 1: deinstallation of kernel-default-5.17.9-1.1.x86_64 Solution 2: deinstallation of kernel-default-base-5.17.7-1.1.24.14.x86_64 Solution 3: keep obsolete kernel-default-5.17.9-1.1.x86_64 Solution 4: keep obsolete kernel-default-base-5.17.7-1.1.24.14.x86_64
Depending on whether you want the smaller -base flavor (for VMs only) or the full one, delete all -base kernels or the others.
Cheers, Fabian
Any hints on how to resolve this? Bye Michal
Or you can disable multiversion.kernels in /etc/zypp/zypp.conf, if you do not need multiple kernels installed at once. Regards, Gryffus
Hi, Am Dienstag, 7. Juni 2022, 16:05:36 CEST schrieb Lukáš Krejza:
Dne úterý 7. června 2022 9:42:01 CEST, Fabian Vogt napsal(a):
Hi,
Am Dienstag, 7. Juni 2022, 09:34:19 CEST schrieb Michal Vyskocil:
Hi,
I have a weird dependency problem when trying to upgrade the system, where kernel-default-base conflicts with kernel-default. I use distro kernels only.
sudo zypper dup --no-allow-vendor-change
Problem: the to be installed kernel-default-base-5.18.1-1.1.24.16.x86_64 conflicts with 'kernel-default = 5.18.1-1' provided by the to be installed kernel-default-5.18.1-1.1.x86_64
Solution 1: deinstallation of kernel-default-5.17.9-1.1.x86_64 Solution 2: deinstallation of kernel-default-base-5.17.7-1.1.24.14.x86_64 Solution 3: keep obsolete kernel-default-5.17.9-1.1.x86_64 Solution 4: keep obsolete kernel-default-base-5.17.7-1.1.24.14.x86_64
Depending on whether you want the smaller -base flavor (for VMs only) or the full one, delete all -base kernels or the others.
Cheers, Fabian
Any hints on how to resolve this? Bye Michal
Or you can disable multiversion.kernels in /etc/zypp/zypp.conf, if you do not need multiple kernels installed at once.
That wouldn't help here. kernel-default and kernel-default-base are different flavors, not just different versions. zypper would still try to upgrade both and run into a conflict. Cheers, Fabian
Regards, Gryffus
Yeah, Thanks for the hint. I removed the base flavor. I suppose it was installed as a part of my experiments with Kata containers, but I really need a full kernel installed. Bye Michal On Tue, Jun 7, 2022 at 5:02 PM Fabian Vogt <fvogt@suse.de> wrote:
Hi,
Am Dienstag, 7. Juni 2022, 16:05:36 CEST schrieb Lukáš Krejza:
Dne úterý 7. června 2022 9:42:01 CEST, Fabian Vogt napsal(a):
Hi,
Am Dienstag, 7. Juni 2022, 09:34:19 CEST schrieb Michal Vyskocil:
Hi,
I have a weird dependency problem when trying to upgrade the system, where kernel-default-base conflicts with kernel-default. I use distro kernels only.
sudo zypper dup --no-allow-vendor-change
Problem: the to be installed kernel-default-base-5.18.1-1.1.24.16.x86_64 conflicts with 'kernel-default = 5.18.1-1' provided by the to be installed kernel-default-5.18.1-1.1.x86_64
Solution 1: deinstallation of kernel-default-5.17.9-1.1.x86_64 Solution 2: deinstallation of kernel-default-base-5.17.7-1.1.24.14.x86_64 Solution 3: keep obsolete kernel-default-5.17.9-1.1.x86_64 Solution 4: keep obsolete kernel-default-base-5.17.7-1.1.24.14.x86_64
Depending on whether you want the smaller -base flavor (for VMs only) or the full one, delete all -base kernels or the others.
Cheers, Fabian
Any hints on how to resolve this? Bye Michal
Or you can disable multiversion.kernels in /etc/zypp/zypp.conf, if you do not need multiple kernels installed at once.
That wouldn't help here. kernel-default and kernel-default-base are different flavors, not just different versions. zypper would still try to upgrade both and run into a conflict.
Cheers, Fabian
Regards, Gryffus
Dne úterý 7. června 2022 17:02:18 CEST, Fabian Vogt napsal(a):
Hi,
Am Dienstag, 7. Juni 2022, 16:05:36 CEST schrieb Lukáš Krejza:
Dne úterý 7. června 2022 9:42:01 CEST, Fabian Vogt napsal(a):
Hi,
Am Dienstag, 7. Juni 2022, 09:34:19 CEST schrieb Michal Vyskocil:
Hi,
I have a weird dependency problem when trying to upgrade the system, where kernel-default-base conflicts with kernel-default. I use distro kernels only.
sudo zypper dup --no-allow-vendor-change
Problem: the to be installed kernel-default-base-5.18.1-1.1.24.16.x86_64 conflicts with 'kernel-default = 5.18.1-1' provided by the to be installed kernel-default-5.18.1-1.1.x86_64
Solution 1: deinstallation of kernel-default-5.17.9-1.1.x86_64 Solution 2: deinstallation of kernel-default-base-5.17.7-1.1.24.14.x86_64 Solution 3: keep obsolete kernel-default-5.17.9-1.1.x86_64 Solution 4: keep obsolete kernel-default-base-5.17.7-1.1.24.14.x86_64
Depending on whether you want the smaller -base flavor (for VMs only) or the full one, delete all -base kernels or the others.
Cheers, Fabian
Any hints on how to resolve this? Bye Michal
Or you can disable multiversion.kernels in /etc/zypp/zypp.conf, if you do not need multiple kernels installed at once.
That wouldn't help here. kernel-default and kernel-default-base are different flavors, not just different versions. zypper would still try to upgrade both and run into a conflict.
Hey, if you check the solutions offered by libsolv, the "blocking" packages are kernel-default-base-5.17.7. Without them, the libsolv would choose the correct path to upgrade without questions. The "kernel-default- base-5.18.1-1.1.24.16.x86_64 conflicts with 'kernel-default = 5.18.1-1' provided by the to be installed kernel-default-5.18.1-1.1.x86_64" message here is just (known) misleading message and is actually the reason why I am myself not using multiversion.kernels. Regards, Gryffus
Hi, Am Donnerstag, 9. Juni 2022, 10:38:04 CEST schrieb Lukáš Krejza:
Dne úterý 7. června 2022 17:02:18 CEST, Fabian Vogt napsal(a):
Hi,
Am Dienstag, 7. Juni 2022, 16:05:36 CEST schrieb Lukáš Krejza:
Dne úterý 7. června 2022 9:42:01 CEST, Fabian Vogt napsal(a):
Hi,
Am Dienstag, 7. Juni 2022, 09:34:19 CEST schrieb Michal Vyskocil:
Hi,
I have a weird dependency problem when trying to upgrade the system, where kernel-default-base conflicts with kernel-default. I use distro kernels only.
sudo zypper dup --no-allow-vendor-change
Problem: the to be installed kernel-default-base-5.18.1-1.1.24.16.x86_64 conflicts with 'kernel-default = 5.18.1-1' provided by the to be installed kernel-default-5.18.1-1.1.x86_64
Solution 1: deinstallation of kernel-default-5.17.9-1.1.x86_64 Solution 2: deinstallation of kernel-default-base-5.17.7-1.1.24.14.x86_64 Solution 3: keep obsolete kernel-default-5.17.9-1.1.x86_64 Solution 4: keep obsolete kernel-default-base-5.17.7-1.1.24.14.x86_64
Depending on whether you want the smaller -base flavor (for VMs only) or the full one, delete all -base kernels or the others.
Cheers, Fabian
Any hints on how to resolve this? Bye Michal
Or you can disable multiversion.kernels in /etc/zypp/zypp.conf, if you do not need multiple kernels installed at once.
That wouldn't help here. kernel-default and kernel-default-base are different flavors, not just different versions. zypper would still try to upgrade both and run into a conflict.
Hey,
if you check the solutions offered by libsolv, the "blocking" packages are kernel-default-base-5.17.7. Without them, the libsolv would choose the correct path to upgrade without questions. The "kernel-default- base-5.18.1-1.1.24.16.x86_64 conflicts with 'kernel-default = 5.18.1-1' provided by the to be installed kernel-default-5.18.1-1.1.x86_64" message here is just (known) misleading message and is actually the reason why I am myself not using multiversion.kernels.
Even without multiversion.kernels you can get into this situation if you install e.g. kernel-default-base 5.17.1 and kernel-default 5.18.1 and then try to update both to 5.18.2. Cheers, Fabian
Regards, Gryffus
Even without multiversion.kernels you can get >> >> into this situation if you install e.g. kernel-default-base 5.17.1 and kernel-default 5.18.1 and then try to update both to 5.18.2.
It seems like the real issue is that one kernel only has the base ( minimum kernel installation package ) but the other kernel is the full kernel installation package. In that situation, if you want both kernels couldn't you just: remove kernel-default-base 5.17.1 install kernel-default 5.17.1 and then perform the zypper dup? The only "gotcha" would be that you could not be booted to kernel 5.17.1 when you did that since you'd be removing the current kernel while you were using it. FWIW, I have zypper setup to keep the last 5 kernels: multiversion.kernels = latest,latest-1,running,latest-2,latest-3,latest-4 and I have never had a problem, however, I always have the full kernel package (kernel-default-x.y.z) installed and not the minimum kernel package ( kernel-default-base.x.y.z ) Leads me to think that kernel-default-base 5.17.1 was mistakenly installed when kernel-default-5.17.1 is what was meant to be installed.
participants (4)
-
Fabian Vogt
-
Joe Salmeri
-
Lukáš Krejza
-
Michal Vyskocil