I recently ran a command to install a package on Ubuntu 16.04 with apt-get
% sudo apt-get install <package>
apt-get
was unable to install, it printed some status messages, with the last line being:
[ output truncated... ]
E: Unable to correct problems, you have held broken packages.
I understand that apt and dpkg
has a system of marking packages, where you can denote a preference regarding a package's install status.
you can view this list with
dpkg -l
So all packages in the resulting list whose status is "desired" or "install me" could be used to recreate the install state of applications on another system.
Does held broken packages have something to do with this? i.e. my packages install preferences as shown by dpkg -l
express a state of packages such that if apt-get
were to install them - the end result would have dependency conflicts?
What does it mean to have held broken packages?