I am running a live installation of Ubuntu 20.04 LTS with Persistent Storage of 40GB. For some reason I can not install anything without getting the error Unable to correct problems, you have held broken packages.
(see full output below). For instance, I am trying to install Keepass2. I have added the repositories sudo apt-add-repository ppa:jtaylor/keepass
, I have updated apt sudo apt-get update && sudo apt-get upgrade
, and yet when I run sudo apt-get install keepass2 -y
I still get that same error! I did almost exactly the same process when trying to install i2p, and I also got the broken packages error. I also can not open the Ubuntu Software app.
Full Output of sudo apt-get install keepass2 -y
:
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.
Full Output of sudo apt-get dist-upgrade
:
[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.
PPAs Installed:
/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
deb-src http://ppa.launchpad.net/i2p-maintainers/i2p/ubuntu focal main
deb http://ppa.launchpad.net/i2p-maintainers/i2p/ubuntu focal main
deb-src http://ppa.launchpad.net/i2p-maintainers/i2p/ubuntu focal main
deb-src http://ppa.launchpad.net/i2p-maintainers/i2p/ubuntu focal main
deb http://ppa.launchpad.net/jtaylor/keepass/ubuntu focal main
deb-src http://ppa.launchpad.net/jtaylor/keepass/ubuntu focal main
(2/2) @OrganicMarble
– pencilwatch Jan 08 '23 at 21:43