[opensuse-kernel] kernel-devel conflicts on update from 4.14.12-1.x to 4.14.12-1.8
See https://forums.opensuse.org/showthread.php/529126-Zypper-dup-failure-file-co.... Suddenly zypper dup started to complain about file conflicts in kernel-devel. Now we know it is impossible to multiversion two rebuilds of the same RPM, but zypper has explicit workaround for kernel-default and kernel-default-devel. Has something changed in kernel packaging recently? Or is it zypper? localhost:~ # zypper in -D kernel-default kernel-default-devel kernel-devel Loading repository data... Reading installed packages... Resolving package dependencies... The following 3 NEW packages are going to be installed: kernel-default-4.14.12-1.8 kernel-default-devel-4.14.12-1.8 kernel-devel-4.14.12-1.8 The following 2 packages are going to be REMOVED: kernel-default-4.14.12-1.4 kernel-default-devel-4.14.12-1.4 3 new packages to install, 2 to remove. Overall download size: 75.5 MiB. Already cached: 0 B. After the operation, additional 56.5 MiB will Continue? [y/n/...? shows all options] (y): n -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
On Wed 2018-01-17 14:47:53, Andrei Borzenkov wrote:
See https://forums.opensuse.org/showthread.php/529126-Zypper-dup-failure-file-co.... Suddenly zypper dup started to complain about file conflicts in kernel-devel. Now we know it is impossible to multiversion two rebuilds of the same RPM, but zypper has explicit workaround for kernel-default and kernel-default-devel. Has something changed in kernel packaging recently? Or is it zypper?
localhost:~ # zypper in -D kernel-default kernel-default-devel kernel-devel Loading repository data... Reading installed packages... Resolving package dependencies...
The following 3 NEW packages are going to be installed: kernel-default-4.14.12-1.8 kernel-default-devel-4.14.12-1.8 kernel-devel-4.14.12-1.8
The following 2 packages are going to be REMOVED: kernel-default-4.14.12-1.4 kernel-default-devel-4.14.12-1.4
3 new packages to install, 2 to remove.
Is the multiversion supported also for devel packages? The kernel binary packages work well because file and directory names include also the rpm release number. The devel package has only the kernel version in the file/dir names. rpm still might be able to install two releases in parallel but only if all the duplicated files are exactly (byte to byte) the same in both packages. This is often the case because minor updates modify only the code and not public headers or documentation. But I guess that we do not guarantee this proactively. Best Regards, Petr -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
On Wed, Jan 17, 2018 at 3:31 PM, Petr Mladek <pmladek@suse.com> wrote:
On Wed 2018-01-17 14:47:53, Andrei Borzenkov wrote:
See https://forums.opensuse.org/showthread.php/529126-Zypper-dup-failure-file-co.... Suddenly zypper dup started to complain about file conflicts in kernel-devel. Now we know it is impossible to multiversion two rebuilds of the same RPM, but zypper has explicit workaround for kernel-default and kernel-default-devel. Has something changed in kernel packaging recently? Or is it zypper?
localhost:~ # zypper in -D kernel-default kernel-default-devel kernel-devel Loading repository data... Reading installed packages... Resolving package dependencies...
The following 3 NEW packages are going to be installed: kernel-default-4.14.12-1.8 kernel-default-devel-4.14.12-1.8 kernel-devel-4.14.12-1.8
The following 2 packages are going to be REMOVED: kernel-default-4.14.12-1.4 kernel-default-devel-4.14.12-1.4
3 new packages to install, 2 to remove.
Is the multiversion supported also for devel packages?
The kernel binary packages work well because file and directory names include also the rpm release number.
No, they do not. They include only the first digit before dot and during rebuild only second digit after dot is changed. Which is why zypper explicitly removes older rebuilds of the same version for selected known packages.
The devel package has only the kernel version in the file/dir names.
It also includes first digit of release number, just like binary kernel. Anyway, up to now everything worked, so there had to be some change which lead to sudden errors. I updated TW recently with kernel-devel and never had any issues up to now.
rpm still might be able to install two releases in parallel but only if all the duplicated files are exactly (byte to byte) the same in both packages. This is often the case because minor updates modify only the code and not public headers or documentation. But I guess that we do not guarantee this proactively.
Best Regards, Petr -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
participants (2)
-
Andrei Borzenkov
-
Petr Mladek