Score:0

Unable to install Docker-Desktop on Ubuntu 22.04.1 LTS

br flag

I am trying to install docker-desktop on Ubuntu 22.04.1 LTS. However, when I try to run the following command, it shows errors.

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

The output of this command is:

Reading package lists...
Done Building dependency tree...
Done Reading state information...
Done
Note, selecting 'docker-desktop' instead of './docker-desktop-4.12.0-amd64.deb'
Some packages could not be installed. This may mean that you have requested an
impossible situation or if you are using the unstable distribution that some
required packages have not yet been created or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
docker-desktop : Depends: pass but it is not installable 
                 Depends: uidmap but it is not installable
E: Unable to correct problems, you have held broken packages.
Reading package lists...
Done

I have already installed docker:

$ docker -v 
Docker version 23.0.0, build e92dd87
Sahi avatar
br flag
This answer do not solve the problem. In my case, two dependencies are unmet i.e. "pass" and "uidmap". I do not know how to resolve these dependencies.
Artur Meinild avatar
vn flag
It seems you need to add the `universe` repo. I also added this to the other Q&A .. ^^
Score:0
vn flag

It seems you don't have the universe repository enabled. Enable with this:

sudo add-apt-repository universe

This should enable the installation of the remaining packages (pass and uidmap).

Sahi avatar
br flag
thank you. The problem is resolved by enabling repository.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.