首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法在Ubuntu的实时安装上安装任何东西

无法在Ubuntu的实时安装上安装任何东西
EN

Ask Ubuntu用户
提问于 2023-01-08 20:22:22
回答 1查看 122关注 0票数 0

我正在运行Ubuntu20.04LTS的实时安装,其持久存储容量为40 am。由于某些原因,如果没有错误Unable to correct problems, you have held broken packages.,我就无法安装任何东西(请参阅下面的完整输出)。例如,我正在尝试安装Keepass2。我添加了存储库sudo apt-add-repository ppa:jtaylor/keepass,更新了apt sudo apt-get update && sudo apt-get upgrade,但是当我运行sudo apt-get install keepass2 -y时仍然会得到相同的错误!在尝试安装i2p时,我做了几乎完全相同的过程,而且我还得到了坏包错误。我也不能打开Ubuntu软件应用程序。

sudo apt-get install keepass2 -y的全部输出:

代码语言:javascript
复制
Reading package lists... Done
Building dependency tree       
Reading state information... Done
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:
 keepass2 : Depends: mono-runtime (>= 3.0~) but it is not installable
            Depends: libmono-corlib4.5-cil (>= 5.18.0.240) but it is not installable
            Depends: libmono-system-drawing4.0-cil (>= 5.12.0.309) but it is not installable
            Depends: libmono-system-security4.0-cil (>= 5.18.0.240) but it is not installable
            Depends: libmono-system-windows-forms4.0-cil (>= 5.16.0.220) but it is not installable
            Depends: libmono-system-xml4.0-cil (>= 4.6.1.3) but it is not installable
            Depends: libmono-system4.0-cil (>= 5.18.0.240) but it is not installable
            Recommends: xsel but it is not installable
E: Unable to correct problems, you have held broken packages.

sudo apt-get dist-upgrade的全部输出:

代码语言:javascript
复制
[sudo] password for i2p: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

安装了PPA:

代码语言:javascript
复制
/etc/apt/sources.list:deb cdrom:[Ubuntu 20.04.5 LTS _Focal Fossa_ - Release amd64 (20220831)]/ focal main restricted
/etc/apt/sources.list:deb http://archive.ubuntu.com/ubuntu/ focal main restricted
/etc/apt/sources.list:deb http://security.ubuntu.com/ubuntu/ focal-security main restricted
/etc/apt/sources.list:deb http://archive.ubuntu.com/ubuntu/ focal-updates main restricted
/etc/apt/sources.list.d/i2p-maintainers-ubuntu-i2p-focal.list:deb http://ppa.launchpad.net/i2p-maintainers/i2p/ubuntu focal main
/etc/apt/sources.list.d/i2p-maintainers-ubuntu-i2p-focal.list:# deb-src http://ppa.launchpad.net/i2p-maintainers/i2p/ubuntu focal main
/etc/apt/sources.list.d/i2p-maintainers-ubuntu-i2p-focal.list:# deb-src http://ppa.launchpad.net/i2p-maintainers/i2p/ubuntu focal main
/etc/apt/sources.list.d/i2p-maintainers-ubuntu-i2p-focal.list.save:deb http://ppa.launchpad.net/i2p-maintainers/i2p/ubuntu focal main
/etc/apt/sources.list.d/i2p-maintainers-ubuntu-i2p-focal.list.save:# deb-src http://ppa.launchpad.net/i2p-maintainers/i2p/ubuntu focal main
/etc/apt/sources.list.d/i2p-maintainers-ubuntu-i2p-focal.list.save:# deb-src http://ppa.launchpad.net/i2p-maintainers/i2p/ubuntu focal main
/etc/apt/sources.list.d/jtaylor-ubuntu-keepass-focal.list:deb http://ppa.launchpad.net/jtaylor/keepass/ubuntu focal main
/etc/apt/sources.list.d/jtaylor-ubuntu-keepass-focal.list:# deb-src http://ppa.launchpad.net/jtaylor/keepass/ubuntu focal main
EN

回答 1

Ask Ubuntu用户

发布于 2023-01-08 23:27:36

问题是我的Linux版本。因为我运行的是sudo add-apt-repository ppa:phoerious/keepassxc,所以它会自动获取最新版本,存储库意味着22.10。为了解决这个问题,我找到了20.04的旧存储库,并通过软件和更新手动将它们添加到软件资源中。

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

https://askubuntu.com/questions/1449359

复制
相关文章

相似问题

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