audinux / fedora-spec

Spec files for fedora packages
https://audinux.github.io
GNU General Public License v3.0
23 stars 7 forks source link

Update of lqx Kernel fails due to file conflicts #50

Closed henning closed 9 months ago

henning commented 9 months ago

When I do a "dnf upgrade" right now, I get shown a bunch of updates, including the lqx kernel.

After I confirm with Y to do it, it starts but then ends with this error:

Error: Transaction test error:
  file /boot/System.map-6.6.9-lqx1.fc39.x86_64 from install of kernel-lqx-mao-6.6.9.lqx1-14.fc39.x86_64 conflicts with file from package kernel-lqx-mao-6.6.9.lqx1-12.fc39.x86_64
  file /boot/config-6.6.9-lqx1.fc39.x86_64 from install of kernel-lqx-mao-6.6.9.lqx1-14.fc39.x86_64 conflicts with file from package kernel-lqx-mao-6.6.9.lqx1-12.fc39.x86_64
  file /boot/vmlinuz-6.6.9-lqx1.fc39.x86_64 from install of kernel-lqx-mao-6.6.9.lqx1-14.fc39.x86_64 conflicts with file from package kernel-lqx-mao-6.6.9.lqx1-12.fc39.x86_64
  file /lib/modules/6.6.9-lqx1.fc39.x86_64/modules.builtin.alias.bin from install of kernel-lqx-mao-6.6.9.lqx1-14.fc39.x86_64 conflicts with file from package kernel-lqx-mao-6.6.9.lqx1-12.fc39.x86_64
  file /lib/modules/6.6.9-lqx1.fc39.x86_64/modules.builtin.modinfo from install of kernel-lqx-mao-6.6.9.lqx1-14.fc39.x86_64 conflicts with file from package kernel-lqx-mao-6.6.9.lqx1-12.fc39.x86_64
  file /lib/modules/6.6.9-lqx1.fc39.x86_64/modules.dep from install of kernel-lqx-mao-6.6.9.lqx1-14.fc39.x86_64 conflicts with file from package kernel-lqx-mao-6.6.9.lqx1-12.fc39.x86_64
  file /lib/modules/6.6.9-lqx1.fc39.x86_64/modules.dep.bin from install of kernel-lqx-mao-6.6.9.lqx1-14.fc39.x86_64 conflicts with file from package kernel-lqx-mao-6.6.9.lqx1-12.fc39.x86_64
  file /lib/modules/6.6.9-lqx1.fc39.x86_64/vmlinuz from install of kernel-lqx-mao-6.6.9.lqx1-14.fc39.x86_64 conflicts with file from package kernel-lqx-mao-6.6.9.lqx1-12.fc39.x86_64

I know I can (and will) work around this by removing the package first and then install the latest version again manually, but the fact that I see this conflict is probably a hint for an error in the spec defintion, as usually a package version upgrade should not yields such an error.

ycollet commented 9 months ago

Yes, there is a problem of version in the lqx kernel. I need to fix this. For now, to install the lqx kernel, you need first to remove lqx kernel and then reinstall lqx kernel. This happen if the lqx package change without any change in the lqx kernel version. Here, I just updated the spec version and kept lqx kernel to 6.6.9 ... By the way, normally the lqx kernel is fixed now.