[Bug 1172073] New: kernel-devel and kernel-source need Obsolete for previous package rebuilds of the same version
http://bugzilla.opensuse.org/show_bug.cgi?id=1172073 Bug ID: 1172073 Summary: kernel-devel and kernel-source need Obsolete for previous package rebuilds of the same version Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Kernel Assignee: kernel-maintainers@forge.provo.novell.com Reporter: arvidjaar@gmail.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- kernel-devel and kernel-source both provide multiversion(kernel) so zypper tries to install multiple versions in parallel instead of updating them. Different kernel versions are installed in different locations, but when kernel package is rebuilt it has the same kernel version but different RPM release. So two packages that differ only in second digit RPM release cannot really be installed side by side - they either conflict or they contain exactly the same files. Binary kernel packages include Obsoletes for package rebuilds: bor@tw:~> rpm -q --obsoletes kernel-default-devel-5.6.12-1.3 kernel-bigsmp-devel <= 3.1 kernel-default-devel = 5.6.12-1.1 kernel-default-devel = 5.6.12-1.2 which forces zypper to remove previous package rebuilds for the same kernel version even though it normally would try to install all of them. These obsoletes are not included in kernel-devel or kernel-source, so zypper installs all of them. This does not fail because they are pure source packages and contain exactly the same files which is allowed by RPM. But this is rather confusing as in reality they are not installed "side by side" - the last installed version overwrites all files. This also triggers https://bugzilla.opensuse.org/show_bug.cgi?id=1171224, where zypper fails to removed those extra packages. bor@tw:~> rpm -qa kernel-devel kernel-devel-5.5.9-1.2.noarch kernel-devel-5.5.7-1.1.noarch kernel-devel-5.4.10-1.1.noarch kernel-devel-5.6.2-1.2.noarch kernel-devel-5.6.11-1.4.noarch kernel-devel-5.6.11-1.2.noarch kernel-devel-5.6.4-1.1.noarch kernel-devel-5.6.12-1.3.noarch bor@tw:~> I'd say for consistency all kernel packages, both source and binary, should have the same set of Obsoletes for the package rebuilds. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1172073 Takashi Iwai <tiwai@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |msuchanek@suse.com, | |tiwai@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1172073 http://bugzilla.opensuse.org/show_bug.cgi?id=1172073#c42 Dominique Leuenberger <dimstar@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dimstar@opensuse.org --- Comment #42 from Dominique Leuenberger <dimstar@opensuse.org> --- https://openqa.opensuse.org/tests/1642962#step/zdup/17 We seem to have missed kernel-default-base here File /boot/.vmlinuz-5.10.16-1-default.hmac from install of kernel-default-base-5.10.16-1.3.18.2.x86_64 (repo1) conflicts with file from package kernel-default-base-5.10.16-1.2.18.1.x86_64 (@System) (a rebuild, resulting in the originally mentioned conflict) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1172073 http://bugzilla.opensuse.org/show_bug.cgi?id=1172073#c43 --- Comment #43 from Michal Suchanek <msuchanek@suse.com> --- It should inherit the provides and obsoletes from kernel-default but it may need additional adjustment. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1172073 http://bugzilla.opensuse.org/show_bug.cgi?id=1172073#c54 --- Comment #54 from OBSbugzilla Bot <bwiedemann+obsbugzillabot@suse.com> --- This is an autogenerated message for OBS integration: This bug (1172073) was mentioned in https://build.opensuse.org/request/show/928854 15.2 / kernel-source -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com