I’m encountering issues while attempting to install Docker Desktop. The installation fails due to conflicts with existing packages, specifically docker-cli
and podman-docker
. Below is a detailed description of the problem and the steps I’ve taken.
System Information:
- Operating System: Fedora 41
- Current Docker Version: 27.3.1
Initial Installation Attempt:
sudo dnf install ./docker-desktop-x86_64.rpm
Error Messages:
Failed to resolve the transaction:
Problem: problem with installed package
- installed package docker-cli-27.3.1-2.fc41.x86_64 conflicts with docker-ce-cli provided by docker-ce-cli-1:27.2.1-1.fc41.x86_64 from docker-ce-stable
- package docker-cli-27.3.1-2.fc41.x86_64 from fedora conflicts with docker-ce-cli provided by docker-ce-cli-1:27.2.1-1.fc41.x86_64 from docker-ce-stable
- package docker-desktop-4.36.0-175267.x86_64 from @commandline requires docker-ce-cli, but none of the providers can be installed
- installed package docker-cli-27.3.1-2.fc41.x86_64 conflicts with docker-ce-cli provided by docker-ce-cli-1:27.3.0-1.fc41.x86_64 from docker-ce-stable
- package docker-cli-27.3.1-2.fc41.x86_64 from fedora conflicts with docker-ce-cli provided by docker-ce-cli-1:27.3.0-1.fc41.x86_64 from docker-ce-stable
- installed package docker-cli-27.3.1-2.fc41.x86_64 conflicts with docker-ce-cli provided by docker-ce-cli-1:27.3.1-1.fc41.x86_64 from docker-ce-stable
- package docker-cli-27.3.1-2.fc41.x86_64 from fedora conflicts with docker-ce-cli provided by docker-ce-cli-1:27.3.1-1.fc41.x86_64 from docker-ce-stable
- installed package docker-cli-27.3.1-2.fc41.x86_64 conflicts with docker-ce-cli provided by docker-ce-cli-1:27.4.0-1.fc41.x86_64 from docker-ce-stable
- package docker-cli-27.3.1-2.fc41.x86_64 from fedora conflicts with docker-ce-cli provided by docker-ce-cli-1:27.4.0-1.fc41.x86_64 from docker-ce-stable
- installed package docker-cli-27.3.1-2.fc41.x86_64 conflicts with docker-ce-cli provided by docker-ce-cli-1:27.4.1-1.fc41.x86_64 from docker-ce-stable
- package docker-cli-27.3.1-2.fc41.x86_64 from fedora conflicts with docker-ce-cli provided by docker-ce-cli-1:27.4.1-1.fc41.x86_64 from docker-ce-stable
- installed package docker-cli-27.3.1-2.fc41.x86_64 conflicts with docker-ce-cli provided by docker-ce-cli-1:27.5.0-1.fc41.x86_64 from docker-ce-stable
- package docker-cli-27.3.1-2.fc41.x86_64 from fedora conflicts with docker-ce-cli provided by docker-ce-cli-1:27.5.0-1.fc41.x86_64 from docker-ce-stable
- installed package docker-cli-27.3.1-2.fc41.x86_64 conflicts with docker-ce-cli provided by docker-ce-cli-1:27.5.1-1.fc41.x86_64 from docker-ce-stable
- package docker-cli-27.3.1-2.fc41.x86_64 from fedora conflicts with docker-ce-cli provided by docker-ce-cli-1:27.5.1-1.fc41.x86_64 from docker-ce-stable
Using --allowerasing:
sudo dnf install ./docker-desktop-x86_64.rpm --allowerasing
Error:
Warning: skipped OpenPGP checks for 1 package from repository: @commandline
- file /usr/bin/docker conflicts between attempted installs of podman-docker-5:5.3.2-1.fc41.noarch and docker-ce-cli-1:27.5.1-1.fc41.x86_64
- conflicting requests
Steps Taken:
- Attempted to Remove
podman-docker
:
Output:sudo dnf remove podman-docker
No packages to remove for argument: podman-docker Nothing to do.
- Checked Installed Docker Packages:
docker-cli-27.3.1-2.fc41.x86_64 docker-compose-switch-1.0.5-1.fc41.x86_64 docker-buildx-0.18.0-1.fc41.x86_64 docker-compose-2.30.3-1.fc41.x86_64
Request for Assistance:
I seek guidance on resolving these package conflicts to successfully install Docker Desktop. Any insights or suggestions would be greatly appreciated.