[Bug 1221607] New: Slowroll keeps reinstalling kernel and virtualbox on every zypper dup
https://bugzilla.suse.com/show_bug.cgi?id=1221607 Bug ID: 1221607 Summary: Slowroll keeps reinstalling kernel and virtualbox on every zypper dup Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Kernel Assignee: kernel-bugs@opensuse.org Reporter: llrainey15@gmail.com QA Contact: qa-bugs@suse.de Target Milestone: --- Found By: --- Blocker: --- zypper dup keeps installing the same 2 entries over and over slowroll:~ # zypper ref ; zypper -n dup Repository 'base-non-oss' is up to date. Repository 'base-oss' is up to date. Repository 'h264' is up to date. Repository 'packman' is up to date. Repository 'update' is up to date. All repositories have been refreshed. Loading repository data... Reading installed packages... Warning: You are about to do a distribution upgrade with all enabled repositories. Make sure these repositories are compatible before you continue. See 'man zypper' for more information about this command. Computing distribution upgrade... The following 2 NEW packages are going to be installed: kernel-default-6.7.4-1.1 virtualbox-kmp-default-7.0.14_k6.7.4_1-2.1 The following package requires a system reboot: kernel-default-6.7.4-1.1 2 new packages to install. Overall download size: 166.3 MiB. Already cached: 0 B. After the operation, additional 242.7 MiB will be used. Note: System reboot required. Continue? [y/n/v/...? shows all options] (y): y Retrieving: kernel-default-6.7.4-1.1.x86_64 (base-oss) (1/2), 165.8 MiB Retrieving: kernel-default-6.7.4-1.1.x86_64.rpm .............[done (39.2 MiB/s)] Retrieving: virtualbox-kmp-default-7.0.14_k6.7.4_1-2.1.x86_64 (base-oss) (2/2), 546.5 KiB Retrieving: virtualbox-kmp-default-7.0.14_k6.7.4_1-2.1.x86_64.[done (1.9 MiB/s)] Checking for file conflicts: .............................................[done] dracut[I]: Executing: /usr/bin/dracut -f /boot/initrd-6.7.4-1-default 6.7.4-1-default Lines delete dracut[I]: *** Creating initramfs image file '/boot/initrd-6.7.4-1-default' done *** CA enrolled. Skip /etc/uefi/certs/1F673297.crt (1/2) Installing: kernel-default-6.7.4-1.1.x86_64 ........................[done] (2/2) Installing: virtualbox-kmp-default-7.0.14_k6.7.4_1-2.1.x86_64 ......[done] Running post-transaction scripts .........................................[done] Loading repository data... Reading installed packages... Warning: You are about to do a distribution upgrade with all enabled repositories. Make sure these repositories are compatible before you continue. See 'man zypper' for more information about this command. Computing distribution upgrade... Nothing to do. Mon Mar 18 07:15:26 CDT 2024 slowroll:~ # Broadcast message from root@slowroll on pts/5 (Mon 2024-03-18 07:16:41 CDT): The system will reboot now! Connection to llr2 closed by remote host. Connection to llr2 closed. llrainey@LLR2:~> t2x 06 Last login: Sun Mar 17 06:43:50 CDT 2024 from 10.0.2.2 on ssh Have a lot of fun... slowroll:~ # zypper ref ; zypper -n dup Repository 'base-non-oss' is up to date. Repository 'base-oss' is up to date. Repository 'h264' is up to date. Repository 'packman' is up to date. Repository 'update' is up to date. All repositories have been refreshed. Loading repository data... Reading installed packages... Warning: You are about to do a distribution upgrade with all enabled repositories. Make sure these repositories are compatible before you continue. See 'man zypper' for more information about this command. Computing distribution upgrade... The following 2 NEW packages are going to be installed: kernel-default-6.7.4-1.1 virtualbox-kmp-default-7.0.14_k6.7.4_1-2.1 The following package requires a system reboot: kernel-default-6.7.4-1.1 2 new packages to install. Overall download size: 166.3 MiB. Already cached: 0 B. After the operation, additional 242.7 MiB will be used. Note: System reboot required. Continue? [y/n/v/...? shows all options] (y): y Retrieving: kernel-default-6.7.4-1.1.x86_64 (base-oss) (1/2), 165.8 MiB Retrieving: kernel-default-6.7.4-1.1.x86_64.rpm .............[done (39.2 MiB/s)] Retrieving: virtualbox-kmp-default-7.0.14_k6.7.4_1-2.1.x86_64 (base-oss) (2/2), 546.5 KiB Retrieving: virtualbox-kmp-default-7.0.14_k6.7.4_1-2.1.x86_64.[done (1.9 MiB/s)] Checking for file conflicts: .............................................[done] dracut[I]: Executing: /usr/bin/dracut -f /boot/initrd-6.7.4-1-default 6.7.4-1-default Lines delete dracut[I]: *** Creating initramfs image file '/boot/initrd-6.7.4-1-default' done *** CA enrolled. Skip /etc/uefi/certs/1F673297.crt (1/2) Installing: kernel-default-6.7.4-1.1.x86_64 ........................[done] (2/2) Installing: virtualbox-kmp-default-7.0.14_k6.7.4_1-2.1.x86_64 ......[done] Running post-transaction scripts .........................................[done] Loading repository data... Reading installed packages... Warning: You are about to do a distribution upgrade with all enabled repositories. Make sure these repositories are compatible before you continue. See 'man zypper' for more information about this command. Computing distribution upgrade... Nothing to do. Mon Mar 18 07:15:26 CDT 2024 slowroll:~ # Broadcast message from root@slowroll on pts/5 (Mon 2024-03-18 07:16:41 CDT): The system will reboot now! Connection to llr2 closed by remote host. Connection to llr2 closed. llrainey@LLR2:~> t2x 06 Last login: Mon Mar 18 07:14:23 CDT 2024 from 10.0.2.2 on ssh Have a lot of fun... slowroll:~ # zypper ref ; zypper -n dup Repository 'base-non-oss' is up to date. Repository 'base-oss' is up to date. Repository 'h264' is up to date. Repository 'packman' is up to date. Repository 'update' is up to date. All repositories have been refreshed. Loading repository data... Reading installed packages... Warning: You are about to do a distribution upgrade with all enabled repositories. Make sure these repositories are compatible before you continue. See 'man zypper' for more information about this command. Computing distribution upgrade... The following 2 NEW packages are going to be installed: kernel-default-6.7.4-1.1 virtualbox-kmp-default-7.0.14_k6.7.4_1-2.1 The following package requires a system reboot: kernel-default-6.7.4-1.1 2 new packages to install. Overall download size: 166.3 MiB. Already cached: 0 B. After the operation, additional 242.7 MiB will be used. Note: System reboot required. Continue? [y/n/v/...? shows all options] (y): y Retrieving: kernel-default-6.7.4-1.1.x86_64 (base-oss) (1/2), 165.8 MiB Retrieving: kernel-default-6.7.4-1.1.x86_64.rpm .............[done (30.6 MiB/s)] Retrieving: virtualbox-kmp-default-7.0.14_k6.7.4_1-2.1.x86_64 (base-oss) (2/2), 546.5 KiB Retrieving: virtualbox-kmp-default-7.0.14_k6.7.4_1-2.1.x86_64.[done (2.1 MiB/s)] Checking for file conflicts: .............................................[done] dracut[I]: Executing: /usr/bin/dracut -f /boot/initrd-6.7.4-1-default 6.7.4-1-default Lines Delete dracut[I]: *** Creating initramfs image file '/boot/initrd-6.7.4-1-default' done *** CA enrolled. Skip /etc/uefi/certs/1F673297.crt (1/2) Installing: kernel-default-6.7.4-1.1.x86_64 ........................[done] (2/2) Installing: virtualbox-kmp-default-7.0.14_k6.7.4_1-2.1.x86_64 ......[done] Running post-transaction scripts .........................................[done] Loading repository data... Reading installed packages... Warning: You are about to do a distribution upgrade with all enabled repositories. Make sure these repositories are compatible before you continue. See 'man zypper' for more information about this command. Computing distribution upgrade... Nothing to do. Mon Mar 18 07:18:32 CDT 2024 -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1221607 https://bugzilla.suse.com/show_bug.cgi?id=1221607#c1 Larry Rainey <llrainey15@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #1 from Larry Rainey <llrainey15@gmail.com> --- Felix Your suggestion worked - thank you slowroll:~ # rpm --rebuilddb slowroll:~ # zypper clean All repositories have been cleaned up. slowroll:~ # zypper ref Repository 'base-non-oss' is up to date. Repository 'base-oss' is up to date. Repository 'h264' is up to date. Repository 'packman' is up to date. Repository 'update' is up to date. All repositories have been refreshed. slowroll:~ # zypper in kernel-default-6.7.9 Loading repository data... Reading installed packages... 'kernel-default = 6.7.9' is already installed. No update candidate for 'kernel-default-6.7.9-1.1.x86_64'. The highest available version is already installed. Resolving package dependencies... Nothing to do. slowroll:~ # zypper in virtualbox-kmp-default Loading repository data... Reading installed packages... 'virtualbox-kmp-default' is already installed. No update candidate for 'virtualbox-kmp-default-7.0.14_k6.7.6_1-3.2.x86_64'. The highest available version is already installed. Resolving package dependencies... Nothing to do. slowroll:~ # zypper ref ; zypper dup Repository 'base-non-oss' is up to date. Repository 'base-oss' is up to date. Repository 'h264' is up to date. Repository 'packman' is up to date. Repository 'update' is up to date. All repositories have been refreshed. Loading repository data... Reading installed packages... Warning: You are about to do a distribution upgrade with all enabled repositories. Make sure these repositories are compatible before you continue. See 'man zypper' for more information about this command. Computing distribution upgrade... Nothing to do. slowroll:~ # On 3/18/24 08:06, Felix Miata wrote: What I would do: 1-rpm --rebuilddb 2-zypper clean 3-zypper ref 4a-zypper in kernel-default-6.7.9 or 4b-zypper in kernel-longterm-6.6.21 5-zypper in virtualbox-kmp-default -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1221607 https://bugzilla.suse.com/show_bug.cgi?id=1221607#c2 Bernhard Wiedemann <bwiedemann@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bwiedemann@suse.com --- Comment #2 from Bernhard Wiedemann <bwiedemann@suse.com> --- I had missed this bug report earlier. I was releasing updated kernel packages, but no matching virtualbox kmp updates, so virtualbox kept pulling in the old kernel+kmp and purge-kernels.service would probably remove it again, because there were newer kernels installed+running. In the end, I used virtualbox:kmp in https://github.com/openSUSE/slowroll-tools/commit/fffc9d6a3f5200e38f73443a2b... so solve this. Now new kernels always come with matching kmps. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com