How to dnf automatic in fedora 41?

i tried these commands bellow but ran into problems

sudo dnf install dnf-automatic

Problem: 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-2.fc41.x86_64 from fedora
  - package libcurl-minimal-8.9.1-2.fc41.x86_64 from fedora 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.8.1-3.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
  - 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
  - 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
  - cannot install the best candidate for the job

sudo dnf install dnf5-plugin-automatic

Problem: conflicting requests
  - package dnf5-plugin-automatic-5.2.6.2-1.fc41.x86_64 from fedora requires libcurl-full(x86-64), but none of the providers can be installed
  - package dnf5-plugin-automatic-5.2.8.1-3.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-2.fc41.x86_64 from fedora
  - package libcurl-minimal-8.9.1-2.fc41.x86_64 from fedora 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
  - 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-2.fc41.x86_64 from fedora 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
You can try to add to command line:
  --allowerasing to allow removing of installed packages to resolve problems
  --skip-broken to skip uninstallable packages

Notice that all those appear to be version conflicts with libcurl.

It seems likely that this is a passing error with the mirror not fully in sync with all packages.

If you wait a couple hours, or overnight then try again it probably will work the next time.

thanks ! and just to be sure, being on fedora 41, should i go to :
dnf5-plugin-automatic or dnf-automatic ?

Personally I do not use either so I have no recommendation.

I prefer to be in charge of my own update schedule and it is very easy to run
sudo dnf upgrade and look at what is being done before approving it.
I also disable all packagekit automatic updates for the same reason.

sudo dnf swap libcurl-minimal libcurl

Unable to install dnf-automatic - #2 by vgaetera

2 Likes

I had the same issue. The swap solved the problem.

1 Like