I’ve downloaded docker container installable .deb file in my system and then I have tried to install it with the following command.
anand@inc:~/Downloads$ sudo apt-get install ./docker-desktop-amd64.deb
This is output I’m getting
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
buildah : Depends: containers-common (>= 100:1-20) but it is not installed
podman : Depends: containers-common (>= 100:1-21) but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
and this apt --fix-broken install is not helping. And I’ve tried installing buildah & podman but no luck on it.
for buildah & podman installation. I am getting the following errors
anand@inc:~/Downloads$ sudo apt install buildah
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
buildah is already the newest version (100:1.22.3-2).
buildah set to manually installed.
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
buildah : Depends: containers-common (>= 100:1-20) but it is not going to be installed
podman : Depends: containers-common (>= 100:1-21) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
for podman
anand@inc:~/Downloads$ sudo apt install podman
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
podman is already the newest version (100:3.4.2-4).
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
buildah : Depends: containers-common (>= 100:1-20) but it is not going to be installed
podman : Depends: containers-common (>= 100:1-21) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
anand@inc:~/Downloads$
Now, after the answer from musictomyear, I could install both bulidah and podman. However my .deb file installation for docker desktop is failing with the following error.
The following packages have unmet dependencies:
docker-desktop : Depends: docker-ce-cli but it is not installable
E: Unable to correct problems, you have held broken packages.