首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法在Ubuntu 22.04.1 LTS上安装Docker-桌面

无法在Ubuntu 22.04.1 LTS上安装Docker-桌面
EN

Ask Ubuntu用户
提问于 2023-02-06 10:28:25
回答 1查看 234关注 0票数 0

我试图在Ubuntu22.04.1LTS上安装docker-desktop。但是,当我尝试运行以下命令时,它将显示错误。

代码语言:javascript
复制
sudo apt install ./docker-desktop-*-amd64.deb

此命令的输出如下:

代码语言:javascript
复制
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

代码语言:javascript
复制
$ docker -v 
Docker version 23.0.0, build e92dd87
EN

回答 1

Ask Ubuntu用户

回答已采纳

发布于 2023-02-07 06:58:08

您似乎没有启用universe存储库。启用此功能:

代码语言:javascript
复制
sudo add-apt-repository universe

这将启用其余软件包(passuidmap)的安装。

票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1453707

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档