u/GuitaristKitten

DNF: Install pack without deps or replace indicate another package to replace a dep.
▲ 3 r/Fedora

DNF: Install pack without deps or replace indicate another package to replace a dep.

I'm currently using docker from docker's repo. It provides the package docker-ce-cli whose conflicts with docker-cli from fedora repo. I use it to be in line with my dev team -- they also use docker from docker's repo.

So, now I'm playing around with kubernetes just for fun. I tried to install kind using dnf, but it requires docker-cli or podman-docker.

I want to know if there is a way to force dnf to install the package ignoring the deps, or set docker-ce-cli as an alternative to docker-cli.

As a workaround, I know I could install it without dnf. But I wonder if there is a way to do it with dnf. I don't want to think about manually update it.

I thought that using "dnf swap" could fix it, but does work the way I think it would work. I also tried to exclude the deps during install process, but it also fails to install.

using exclude: https://imgur.com/ci8owlz

using swap: https://imgur.com/20ovzco

u/GuitaristKitten — 2 days ago