You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
A clear and concise description of what the bug is.
When attempting to update using the most recent dnf update --releasever=2022.0.20220215, the transaction fails due to a conflict between kernel-tools-5.15.23-11.98.amzn2022.x86_64 conflicts with file from package kernel-tools-libs-5.11.20-300.amzn2022.x86_64.
Error: Transaction test error: file /usr/lib64/libcpupower.so.0.0.1 from install of kernel-tools-5.15.23-11.98.amzn2022.x86_64 conflicts with file from package kernel-tools-libs-5.11.20-300.amzn2022.x86_64
[ec2-user@ip-10-0-1-241 ~]$ python -c 'import dnf, json; db = dnf.dnf.Base(); print(json.dumps(db.conf.substitutions, indent=2))'
{
"arch": "x86_64",
"basearch": "x86_64",
"releasever": "2022.0.20220204"
}
[ec2-user@ip-10-0-1-241 ~]$ sudo dnf check-release-update
WARNING:
A newer release of "Amazon Linux" is available.
Available Versions:
Version 2022.0.20220215:
Run the following command to update to 2022.0.20220215:
dnf update --releasever=2022.0.20220215
Release notes:
https://aws.amazon.com
[ec2-user@ip-10-0-1-241 ~]$ sudo dnf update --releasever=2022.0.20220215
Last metadata expiration check: 0:19:20 ago on Fri 18 Feb 2022 03:30:19 PM UTC.
Dependencies resolved.
=============================================================================================================================
Package Architecture Version Repository Size
=============================================================================================================================
Installing:
kernel x86_64 5.15.23-11.98.amzn2022 amazonlinux 26 M
Upgrading:
expat x86_64 2.4.4-1.amzn2022 amazonlinux 113 k
harfbuzz x86_64 2.9.1-1.amzn2022 amazonlinux 691 k
kernel-headers x86_64 5.15.23-11.98.amzn2022 amazonlinux 1.3 M
kernel-tools x86_64 5.15.23-11.98.amzn2022 amazonlinux 145 k
system-release noarch 2022.0.20220215-0.amzn2022 amazonlinux 23 k
vim-common x86_64 2:8.2.4314-1.amzn2022 amazonlinux 6.8 M
vim-data noarch 2:8.2.4314-1.amzn2022 amazonlinux 29 k
vim-enhanced x86_64 2:8.2.4314-1.amzn2022 amazonlinux 1.9 M
vim-filesystem noarch 2:8.2.4314-1.amzn2022 amazonlinux 23 k
vim-minimal x86_64 2:8.2.4314-1.amzn2022 amazonlinux 715 k
Transaction Summary
=============================================================================================================================
Install 1 Package
Upgrade 10 Packages
Total size: 38 M
Is this ok [y/N]: y
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: Transaction test error:
file /usr/lib64/libcpupower.so.0.0.1 from install of kernel-tools-5.15.23-11.98.amzn2022.x86_64 conflicts with file from package kernel-tools-libs-5.11.20-300.amzn2022.x86_64
To Reproduce
Steps to reproduce the behavior:
Launch an instance based on al2022-ami-2022.0.20220204.0-kernel-5.10-x86_64
dnf update --releasever=2022.0.20220215
Type y to accept packages and install
See error
Expected behavior
I expect that on a fresh system without mixed repo-sources that performing a dnf update would upgrade the packages without finding conflicts.
The text was updated successfully, but these errors were encountered:
jimilinuxguy
changed the title
[Bug] - Title
DNF package conflicts when updating to releasever 2022.0.20220215
Feb 18, 2022
Describe the bug
A clear and concise description of what the bug is.
When attempting to update using the most recent
dnf update --releasever=2022.0.20220215
, the transaction fails due to a conflict between kernel-tools-5.15.23-11.98.amzn2022.x86_64 conflicts with file from package kernel-tools-libs-5.11.20-300.amzn2022.x86_64.Error: Transaction test error: file /usr/lib64/libcpupower.so.0.0.1 from install of kernel-tools-5.15.23-11.98.amzn2022.x86_64 conflicts with file from package kernel-tools-libs-5.11.20-300.amzn2022.x86_64
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expect that on a fresh system without mixed repo-sources that performing a dnf update would upgrade the packages without finding conflicts.
The text was updated successfully, but these errors were encountered: