Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DNF package conflicts when updating to releasever 2022.0.20220215 #93

Closed
jimilinuxguy opened this issue Feb 18, 2022 · 3 comments
Closed
Labels
bug Something isn't working

Comments

@jimilinuxguy
Copy link

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:

  1. Launch an instance based on al2022-ami-2022.0.20220204.0-kernel-5.10-x86_64
  2. dnf update --releasever=2022.0.20220215
  3. Type y to accept packages and install
  4. 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.

@jimilinuxguy jimilinuxguy changed the title [Bug] - Title DNF package conflicts when updating to releasever 2022.0.20220215 Feb 18, 2022
@incitem
Copy link

incitem commented Feb 19, 2022

I can confirm this behaviour.

@njacklin1988 njacklin1988 added the bug Something isn't working label Feb 21, 2022
@liesenml
Copy link
Contributor

Hello, thank you for submitting your request! We review all requests on a weekly basis and will reply to this ticket by with our evaluation.

@njacklin1988
Copy link
Contributor

A fix for this issue was pushed last week. Please let us know if you experience any other issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants