dnf kernel-image-bzimage conflicts while doing dnf upgrade


Sylvain TheRock
 

Hi everyone,

 

I am trying to resolve a dnf package conflicts while trying to perform a dnf upgrade from my old image to my new image. I want to be able to use dnf to upgrade the system.

 

 

My 2 rpms seems to be identical from the old to the new version

 

opalrtlinux@yocto:~/yocto/packages-repo$ rpm -qlpv ./3.4.1/corei7_64_intel_common/kernel-image-bzimage-4.19.55-opalrtlinux-4.19.55+git0+ad235db461_3347a3790f-r0.corei7_64_intel_common.rpm

warning: ./3.4.1/corei7_64_intel_common/kernel-image-bzimage-4.19.55-opalrtlinux-4.19.55+git0+ad235db461_3347a3790f-r0.corei7_64_intel_common.rpm: Header V4 RSA/SHA256 Signature, key ID dbf6a22d: NOKEY

drwxr-xr-x    2 root     root                        0 Sep  9 15:42 /boot

lrwxrwxrwx    1 root     root                       27 Sep  9 15:42 /boot/bzImage -> bzImage-4.19.55-opalrtlinux

-rw-r--r--    1 root     root                  8311456 Sep  9 15:42 /boot/bzImage-4.19.55-opalrtlinux

 

opalrtlinux@yocto:~/yocto/packages-repo$ rpm -qlpv ./3.5.3/corei7_64_intel_common/kernel-image-bzimage-4.19.80-opalrtlinux-4.19.80+git0+a7cb57afb9_6570cbed7b-r0.corei7_64_intel_common.rpm

warning: ./3.5.3/corei7_64_intel_common/kernel-image-bzimage-4.19.80-opalrtlinux-4.19.80+git0+a7cb57afb9_6570cbed7b-r0.corei7_64_intel_common.rpm: Header V4 RSA/SHA256 Signature, key ID dbf6a22d: NOKEY

drwxr-xr-x    2 root     root                        0 Sep 26 12:05 /boot

lrwxrwxrwx    1 root     root                       27 Sep 26 12:05 /boot/bzImage -> bzImage-4.19.80-opalrtlinux

-rw-r--r--    1 root     root                  8356512 Sep 26 12:05 /boot/bzImage-4.19.80-opalrtlinux

 

 

However, while performing a dnf upgrade, the only package that conflicts is kernel-image-bzimage as follow:

 

Error: Transaction check error:

  file /boot/bzImage from install of kernel-image-bzimage-4.19.80-opalrtlinux-4.19.80+git0+a7cb57afb9_6570cbed7b-r0.corei7_64_intel_common conflicts with file from package kernel-image-bzimage-4.19.55-opalrtlinux-4.19.55+git0+ad235db461_3347a3790f-r0.corei7_64_intel_common

 

Error Summary

-------------

 

 

Dnf -v, or looking at dnf log file in /var/log do not give much information neither.

 

The only way I was able to have it go through is by performing the following dnf command:

 

dnf upgrade --repo 353 -x kernel-image-bzimage* --nobest

 

But afterward, I need to manually remove the kernel-image-bzimage and install the newer version manually using dnf or rpm including all that was skipped and reported by dnf.

 

If anybody would have a tips as to why the package is conflicting.

 

Regards.