After an Ubuntu 16.04 to 18.04 upgrade virtually all calls to apt-get install
result in errors of this sort ...
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:
texstudio : Depends: libpoppler-qt5-1 (>= 0.24.5) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Note that I see something similar on every package I try to install.
I have tried the various sudo apt-get -f install
, sudo apt-get clean
, etc. to no avail. Also I removed all other repositories, and only have official ones left.
So, the big question is have I nuked my system?
sudo apt-get -f install
command if you get any warnings or errors. – guiverc Sep 13 '19 at 12:23sources.list
I havedeb http://archive.ubuntu.com/ubuntu bionic main universe
– MalteseUnderdog Sep 13 '19 at 12:33sudo apt update
first. Sometimessudo apt install -f
will produce different error messages thanapt-get
IIRC. – WinEunuuchs2Unix Sep 13 '19 at 12:34The following packages have unmet dependencies: texstudio : Depends: libpoppler-qt5-1 (>= 0.24.5) but it is not going to be installed E: Unable to correct problems, you have held broken packages.
– karel Sep 13 '19 at 12:41sudo apt install libpoppler-qt5-1
– nobody Sep 13 '19 at 13:06cat /etc/apt/sources.list
– Raffa Apr 10 '20 at 17:51