Docker Desktop fails install on 24.04

Docker running: am logged in
docker version

Client:
 Version:           26.1.3
 API version:       1.45
 Go version:        go1.22.2
 Git commit:        26.1.3-0ubuntu1~24.04.1+esm1
 Built:             Sun Dec 15 14:08:17 2024
 OS/Arch:           linux/amd64
 Context:           desktop-linux

tried sudo dpkg -i ./docker-desktop-amd64.deb and got this —>

Unpacking docker-desktop (4.36.0-175267) ...
dpkg: dependency problems prevent configuration of docker-desktop:
 docker-desktop depends on qemu-system-x86 (>= 5.2.0); however:
  Package qemu-system-x86 is not installed.
 docker-desktop depends on docker-ce-cli; however:
  Package docker-ce-cli is not installed.
 docker-desktop depends on pass; however:
  Package pass is not installed.
 docker-desktop depends on uidmap; however:
  Package uidmap is not installed.

dpkg: error processing package docker-desktop (--install):
 dependency problems - leaving unconfigured

I also tried this method and the same failure

aot-get install fails with packages have unmet dependencies:
 docker-desktop : Depends: qemu-system-x86 (>= 5.2.0) but it is not installed
                  Depends: docker-ce-cli but it is not installable
                  Depends: pass but it is not installed
                  Depends: uidmap; however:
  Package uidmap is not installed.

Any thoughts about what I am forgetting to do?

Looks like there is something wrong with your apt repositories so Ubuntu cannot download anything. I would understand the docker-ce-cli, since it requires a repository from Docker, but since now even pass or qemu can be installed, I would say you need to run apt-get update to initialize the APT cache. You can try running this first:

apt-get install qemu-system-x86

If it doesn’t work either, it is not a Docker issue, but something with Ubuntu and its repositories which hopefully can be solved by updating the apt cache, but no guarantee.

Thanks Akos happy new year. Tried that got this —>
~~

Reading package lists... Done
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'http://dl.bluecherrydvr.com noble InRelease' doesn't support architecture 'i386'
E: The repository 'https://download.docker.com/linux/debian noble Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.

the apt-get install qemu-systemn-x86 ,It then uninstalled my docker desktop that was installed but didn’t work. Will try to get the repository It looks like we wait for the Release file for noble version and a fix for bluecherry :sunglasses:

The missing release file is not something that you just need to wait for. Docker is supported on Ubuntu 24.04 so something must be broken on your machine. Make sure you don’t miss a step in the installation guide

Please, show the output of

arch

and

cat /etc/os-release

and

curl -L https://download.docker.com/linux/debian

When you do it, please, format your post as described here: How to format your forum posts

You must have noticed that I edited all your posts to add code blocks. Help me by doing it yourself.

This by the way doesn’t seem right. It is like you have a docker client from Ubuntu’s own repository, not from Docker’s.

arch
x86_64
cat /etc/os-release
PRETTY_NAME="Ubuntu 24.04.1 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04.1 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=noble
LOGO=ubuntu-logo
curl -L https://download.docker.com/linux/debian
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Index of linux/debian/</title>
</head>
<body>
<h1>Index of linux/debian/</h1>
<hr>
<pre><a href="../">../</a>
<a href="dists/">dists/</a>
<a href="gpg">gpg</a> 
    2025-01-01 10:17:05 3.7 KiB
</pre><hr></body></html>

I am at the beginning of the learning curve here, thanks for your patience.
Docker is up and working, am logged in. I will go through desktop install again carefully checking the steps and will also discover what is wrong with my repository.

" got it, first I fixed my broken repository and reinstalled qemu-system-x86
did a little house cleaning with

 apt --fix-broken install

It was very busy repairing years of damage I surely caused.
Also I made sure Docker was not running during this install
Then I ran

sudo apt-get install ./docker-desktop-amd64.deb

it did not work and returned

Reading package lists... Done
E: Unsupported file ./docker-desktop-amd64.deb given on commandline

So I did it the other way

sudo dpkg -i ./docker-desktop-amd64.deb

 Bingo Number 5 is alive. LOL
Thanks for pointing me in the correct direction and 
encouraging me learn how to talk in this forum

That’s great :slight_smile: Thanks for sharing how you fixed it.