Bug 2365231 - dnf-automatic breaks dnf5
Summary: dnf-automatic breaks dnf5
Keywords:
Status: CLOSED DUPLICATE of bug 2322918
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 41
Hardware: Unspecified
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: rpm-software-management
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-05-09 06:08 UTC by Frank Büttner
Modified: 2025-05-09 11:22 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-05-09 10:50:32 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Frank Büttner 2025-05-09 06:08:22 UTC
When dnf-automatic are installed, dnf are broken.

Reproducible: Always

Steps to Reproduce:
1. dnf install dnf-automatic
2. dnf update

Actual Results:
Problem 2: package dnf5-plugin-automatic-5.2.13.1-1.fc41.x86_64 from updates requires libcurl-full(x86-64), but none of the providers can be installed
  - installed package libcurl-minimal-8.9.1-3.fc41.x86_64 conflicts with libcurl(x86-64) provided by libcurl-8.9.1-3.fc41.x86_64 from updates
  - installed package libcurl-minimal-8.9.1-3.fc41.x86_64 conflicts with libcurl(x86-64) provided by libcurl-8.9.1-2.fc41.x86_64 from fedora
  - cannot install the best update candidate for package libcurl-minimal-8.9.1-3.fc41.x86_64
  - cannot install the best update candidate for package dnf-automatic-4.21.1-1.fc41.noarch
Problem 4: installed package curl-8.9.1-3.fc41.x86_64 requires libcurl(x86-64) >= 8.9.1-3.fc41, but none of the providers can be installed
  - installed package libcurl-minimal-8.9.1-3.fc41.x86_64 conflicts with libcurl(x86-64) provided by libcurl-8.9.1-2.fc41.x86_64 from fedora
  - package libcurl-minimal-8.9.1-3.fc41.x86_64 from updates conflicts with libcurl(x86-64) provided by libcurl-8.9.1-2.fc41.x86_64 from fedora
  - package dnf5-plugin-automatic-5.2.13.1-1.fc41.x86_64 from updates requires libcurl-full(x86-64), but none of the providers can be installed
  - problem with installed package
  - installed package libcurl-minimal-8.9.1-3.fc41.x86_64 conflicts with libcurl(x86-64) provided by libcurl-8.9.1-3.fc41.x86_64 from updates
  - package libcurl-minimal-8.9.1-3.fc41.x86_64 from updates conflicts with libcurl(x86-64) provided by libcurl-8.9.1-3.fc41.x86_64 from updates
  - package libcurl-minimal-8.9.1-2.fc41.x86_64 from fedora conflicts with libcurl(x86-64) provided by libcurl-8.9.1-3.fc41.x86_64 from updates
  - problem with installed package
  - installed package dnf-automatic-4.21.1-1.fc41.noarch requires python3-dnf = 4.21.1-1.fc41, but none of the providers can be installed
  - package dnf-automatic-4.21.1-1.fc41.noarch from fedora requires python3-dnf = 4.21.1-1.fc41, but none of the providers can be installed
  - package dnf5-plugin-automatic-5.2.6.2-1.fc41.x86_64 from fedora requires dnf5(x86-64) = 5.2.6.2-1.fc41, but none of the providers can be installed
  - cannot install both python3-dnf-4.23.0-1.fc41.noarch from updates and python3-dnf-4.21.1-1.fc41.noarch from @System
  - cannot install both python3-dnf-4.21.1-1.fc41.noarch from fedora and python3-dnf-4.23.0-1.fc41.noarch from updates
  - cannot install both dnf5-5.2.6.2-1.fc41.x86_64 from fedora and dnf5-5.2.13.1-1.fc41.x86_64 from @System
  - cannot install the best update candidate for package python3-dnf-4.21.1-1.fc41.noarch
  - cannot install the best update candidate for package dnf5-5.2.13.1-1.fc41.x86_64
  - cannot install the best update candidate for package curl-8.9.1-3.fc41.x86_64


Expected Results:
working dnf

Comment 1 Pavla Kratochvilova 2025-05-09 10:50:32 UTC
Hi, it seems you have libcurl-minimal installed, but dnf5-plugin-automatic requires libcurl-full, which is provided only by libcurl, which conflicts with libcurl-minimal. When you installed dnf-automatic, you likely installed the obsoleted dnf-automatic (for dnf4), but not the dnf5-plugin-automatic. And now during upgrade, dnf correctly complains that it cannot replace the obsoleted package (because of the libcurl conflicts).

To fix this, you can run:
1. dnf swap libcurl-minimal libcurl
2. dnf upgrade

Closing this as there is no bug in dnf.

Comment 2 Petr Pisar 2025-05-09 11:22:05 UTC

*** This bug has been marked as a duplicate of bug 2322918 ***


Note You need to log in before you can comment on or make changes to this bug.