http://bugzilla.opensuse.org/show_bug.cgi?id=1182666 http://bugzilla.opensuse.org/show_bug.cgi?id=1182666#c45 --- Comment #45 from B <kerossin@pm.me> --- I used zypper dup when I encountered this problem. Also, I found there are Zypper logs at /var/log/zypp/history. I pulled out all kernel* package changes from that run: 2021-03-16 16:16:00|command|root@kero-pc|'zypper' 'dup' '-l'| 2021-03-16 16:16:12|install|kernel-macros|5.11.4-1.3|noarch||download.opensuse.org-oss|094c2698eee92f5e2ed2141b24402d723312363176761fb7b9051bcc6ed708b3| 2021-03-16 16:16:21|install|kernel-devel|5.11.4-1.3|noarch||download.opensuse.org-oss|2a2fef6ba3147345f27515e6a1ee6a250b35fd161749fa257b244d04887b7f6e| 2021-03-16 16:16:24|remove |kernel-source|5.11.4-1.2|noarch|| 2021-03-16 16:16:25|remove |kernel-devel|5.11.4-1.2|noarch|| 2021-03-16 16:16:25|remove |kernel-default-devel|5.11.4-1.2|x86_64|| 2021-03-16 16:16:55|install|kernel-source|5.11.4-1.3|noarch||download.opensuse.org-oss|3f88e7ef0ccc6967b56ffb11a7b0a46eda8869820b7f2067acb41922fe3124a5| # 2021-03-16 16:18:28 kernel-default-devel-5.11.4-1.3.x86_64.rpm installed ok # Additional rpm output: # /usr/src/kernel-modules/nvidia-460.56-default / *** removed all the make output when compiling modules *** 2021-03-16 16:18:28|install|kernel-default-devel|5.11.4-1.3|x86_64||download.opensuse.org-oss|e7d65e28cc78c8a2224581b1a08f804ef1943353ba7864b7fd670fb1c55d8b7e| 2021-03-16 16:18:33|remove |kernel-default|5.11.4-1.2|x86_64|| 2021-03-16 16:18:38|install|kernel-syms|5.11.4-1.3|x86_64||download.opensuse.org-oss|5ed22f7ab2fd92cab01455afe73e89d2f57256673ac3459360498f34a045b9d0| 2021-03-16 16:19:12|install|kernel-default|5.11.4-1.3|x86_64||download.opensuse.org-oss|d1fa5e4c267fe3bb23f02258b940b4b6060f873ab480cee7a93c131258653abb| Now when I was testing the updates yesterday, on the last few runs I checked the kernel package updates either by zypper in and specifying the packages or by zypper dup were handled in the correct order - that is kernel-default is installed first and later kernel-default-devel is installed. But the logs from the original zypper dup (which produced the problem) according to the timestamps say that first the kernel-default-devel was installed "2021-03-16 16:18:28|install|kernel-default-devel|5.11.4-1.3" (and there's output of it actually compiling the modules), then the old kernel-default was removed "2021-03-16 16:18:33|remove |kernel-default|5.11.4-1.2|x86_64||" and the new one installed "2021-03-16 16:19:12|install|kernel-default|5.11.4-1.3". I ran a test just now: 1) Uninstalled kernel-default and kernel-default-devel 5.11.4 packages 2) sudo zypper in --oldpackage kernel-default-5.11.4-1.2.x86_64.rpm kernel-default-devel-5.11.4-1.2.x86_64.rpm Installed -1.2 from RPMs, modules compiled and in the updates/ dir, no broken links. 3) sudo zypper in kernel-default-devel Upgraded ONLY kernel-default-devel to -1.3 from the repo, again modules compiled and where they need to be. 4) sudo zypper in kernel-default Now upgraded the kernel to -1.3 from the repo, updates/ is empty and the broken links in weak-updates/updates/ are present. So for some reason zypper dup sometimes installs kernel packages in the wrong order when there are a lot of packages. Is it possible that another package depends on kernel-default-devel and pulls it to be installed before kernel-default? -- You are receiving this mail because: You are on the CC list for the bug.