我试图在Ubuntu22.04.1LTS上安装docker-desktop。但是,当我尝试运行以下命令时,它将显示错误。
sudo apt install ./docker-desktop-*-amd64.deb此命令的输出如下:
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我已经安装了docker:
$ docker -v
Docker version 23.0.0, build e92dd87发布于 2023-02-07 06:58:08
您似乎没有启用universe存储库。启用此功能:
sudo add-apt-repository universe这将启用其余软件包(pass和uidmap)的安装。
https://askubuntu.com/questions/1453707
复制相似问题