sudo apt -f install cups
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:
cups : Depends: libcups2 (= 2.1.3-4) but 2.1.3-4ubuntu0.2 is to be installed
Depends: libcupscgi1 (>= 1.4.2) but it is not going to be installed
Depends: libcupsmime1 (>= 1.4.0) but it is not going to be installed
Depends: cups-core-drivers (>= 2.1.3-4) but it is not going to be installed
Depends: cups-daemon (>= 2.1.3-4) but it is not going to be installed
Recommends: printer-driver-gutenprint but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
-f does not work for me
sudo apt -f install cups
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: driver- gutenprint but it is not going to be installed
cups : Depends: libcups2 (= 2.1.3-4) but 2.1.3-4ubuntu0.2 is to be installed
Depends: libcupscgi1 (>= 1.4.2) but it is not going to be installed
Depends: libcupsmime1 (>= 1.4.0) but it is not going to be installed
Depends: cups-core-drivers (>= 2.1.3-4) but it is not going to be installed
Depends: cups-daemon (>= 2.1.3-4) but it is not going to be installed
Recommends: printer-
E: Unable to correct problems, you have held broken packages.
with Ubuntu 16.04