error broken count>0 unmet dependencies How do I fix
The error message was: 'Error Broken Count > 0' This usually means that your packages have unmet dependencies.
I do not know how to get rid of this error
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu update Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Catherine
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Please provide the output of the following diagnostic commands:
uname -a
lsb_release -crid
sudo dpkg --audit
Revision history for this message
|
#2 |
I ran the above and here below is the result (needless to say I do not understand same)
Linux ccunningham -Aspire -E500 4.4.0 -49 - generic #70 - Ubuntu SMP Fri Nov 11 16:39:33 UTC 2016 i 686 i686 Gnu/Linux
Distributor ID : Ubuntu
Description: Ubuntu 16.04.1 LTS
Release : 16.04
Codename : xenial
Type dpkg -- help for help about installing and deinstalling packages (*);
Use 'apt' or 'aptitude' for user-friendly packagement;
Type dpkg - Dhelp for a list of dpkg flag values;
Type dpkg -- force - help for a list of forcing options;
Type dpkg - deb for help about manipulating * .deb files;
Options marked (*) produce a lot of output - pipe it through 'less' or 'more' !
Revision history for this message
|
#3 |
You must have mistyped some of the commands.
There is the possibility to use copy/paste from and to the terminal window to avoid typo errors.
Please try again.
Revision history for this message
|
#4 |
ccunningham@
Linux ccunningham-
ccunningham@
Distributor ID: Ubuntu
Description: Ubuntu 16.04.1 LTS
Release: 16.04
Codename: xenial
ccunningham@
[sudo] password for ccunningham:
dpkg: error: need an action option
Type dpkg --help for help about installing and deinstalling packages [*];
Use 'apt' or 'aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;
Options marked [*] produce a lot of output - pipe it through 'less' or 'more' !
ccunningham@
Revision history for this message
|
#5 |
Sorry, but the last command again was wring. There should not be a space character between the dash signs and the option audit
sudo dpkg --audit
please try again.
Revision history for this message
|
#6 |
ccunningham@
Linux ccunningham-
ccunningham@
Distributor ID: Ubuntu
Description: Ubuntu 16.04.1 LTS
Release: 16.04
Codename: xenial
ccunningham@
[sudo] password for ccunningham:
The following packages have been unpacked but not yet configured.
They must be configured using dpkg --configure or the configure
menu option in dselect for them to work:
cups Common UNIX Printing System(tm) - PPD/driver support, web
cups-core-drivers Common UNIX Printing System(tm) - PPD-less printing
ccunningham@
Revision history for this message
|
#7 |
Ok, finally the command worked and provided the information that I was looking for.
Try the command
sudo dpkg --configure -a
in a terminal window and copy/paste all output into this question document.
Revision history for this message
|
#8 |
ccunningham@
[sudo] password for ccunningham:
dpkg: dependency problems prevent configuration of cups:
cups depends on cups-daemon (>= 2.1.3-4ubuntu0.1); however:
Version of cups-daemon on system is 2.1.3-4.
dpkg: error processing package cups (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of cups-core-drivers:
cups-core-drivers depends on cups-daemon (>= 2.1.3-4ubuntu0.1); however:
Version of cups-daemon on system is 2.1.3-4.
dpkg: error processing package cups-core-drivers (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
cups
cups-core-drivers
ccunningham@
Revision history for this message
|
#9 |
Well done, we are progressing in identifying the cause of your problem.
What is the output of the following commands:
apt-cache policy
apt-cache policy cups cups-daemon cups-core-drivers
Revision history for this message
|
#10 |
=i386
origin security.ubuntu.com
500 http://
release v=16.04,
origin security.ubuntu.com
500 http://
release v=16.04,
origin security.ubuntu.com
500 http://
release v=16.04,
origin archive.ubuntu.com
500 http://
release v=16.04,
origin archive.ubuntu.com
500 http://
release v=16.04,
origin archive.ubuntu.com
500 http://
release v=16.04,
origin archive.ubuntu.com
Pinned packages:
ccunningham@
Revision history for this message
|
#11 |
Sorry, but this output is incomplete.
Please try the given commands again, and then use the terminal window's menu entries "edit - select all" and "edit copy" and finally paste everything into this question document that we can see.
Revision history for this message
|
#12 |
ccunningham@
Package files:
100 /var/lib/
release a=now
500 http://
release v=16.04,
origin archive.ubuntu.com
500 http://
release v=16.04,
origin archive.ubuntu.com
500 http://
release v=16.04,
origin archive.ubuntu.com
100 http://
release v=16.04,
origin archive.ubuntu.com
100 http://
release v=16.04,
origin archive.ubuntu.com
500 http://
release v=16.04,
origin archive.ubuntu.com
500 http://
release v=16.04,
origin archive.ubuntu.com
500 http://
release v=16.04,
origin archive.ubuntu.com
500 http://
release v=16.04,
origin archive.ubuntu.com
500 http://
release v=16.04,
origin security.ubuntu.com
500 http://
release v=16.04,
origin security.ubuntu.com
500 http://
release v=16.04,
origin security.ubuntu.com
500 http://
release v=16.04,
origin security.ubuntu.com
500 http://
release v=16.04,
origin archive.ubuntu.com
500 http://
release v=16.04,
origin archive.ubuntu.com
500 http://
release v=16.04,
origin archive.ubuntu.com
500 http://
release v=16.04,
origin archive.ubuntu.com
Pinned packages:
ccunningham@
Revision history for this message
|
#13 |
Ok, and now please the output of the command
apt-cache policy cups cups-daemon cups-core-drivers
We cannot help without that information.
Revision history for this message
|
#14 |
ccunningham@
cups:
Installed: 2.1.3-4ubuntu0.1
Candidate: 2.1.3-4ubuntu0.2
Version table:
2.
500 http://
*** 2.1.3-4ubuntu0.1 100
100 /var/lib/
2.1.3-4 500
500 http://
cups-daemon:
Installed: 2.1.3-4
Candidate: 2.1.3-4ubuntu0.2
Version table:
2.
500 http://
*** 2.1.3-4 500
500 http://
100 /var/lib/
cups-core-drivers:
Installed: 2.1.3-4ubuntu0.1
Candidate: 2.1.3-4ubuntu0.2
Version table:
2.
500 http://
*** 2.1.3-4ubuntu0.1 100
100 /var/lib/
2.1.3-4 500
500 http://
ccunningham@
Revision history for this message
|
#15 |
Try the command
sudo apt-get install cups=2.
and copy/paste the output that you get
Revision history for this message
|
#16 |
ccunningham@
[sudo] password for ccunningham:
Sorry, try again.
[sudo] password for ccunningham:
Sorry, try again.
[sudo] password for ccunningham:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
cups : Depends: libcups2 (= 2.1.3-4ubuntu0.2) but 2.1.3-4ubuntu0.1 is to be installed
Depends: cups-core-drivers (>= 2.1.3-4ubuntu0.2) but 2.1.3-4ubuntu0.1 is to be installed
Depends: cups-common (>= 2.1.3-4ubuntu0.2) but 2.1.3-4ubuntu0.1 is to be installed
Depends: cups-server-common (>= 2.1.3-4ubuntu0.2) but 2.1.3-4ubuntu0.1 is to be installed
Depends: cups-client (>= 2.1.3-4ubuntu0.2) but 2.1.3-4ubuntu0.1 is to be installed
cups-daemon : Depends: libcups2 (= 2.1.3-4ubuntu0.2) but 2.1.3-4ubuntu0.1 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
ccunningham@
Revision history for this message
|
#17 |
Please do not hide older comments. The information in these is important to know the details of your system. Without these it is not possible to help.
What output do you get for the commands
sudo apt-get update
sudo apt-get dist-upgrade
Revision history for this message
|
#18 |
ccunningham@
[sudo] password for ccunningham:
Sorry, try again.
[sudo] password for ccunningham:
Get:1 http://
Ign:2 http://
Hit:3 http://
Get:4 http://
Hit:5 http://
Get:7 http://
Get:8 http://
Get:9 http://
Get:10 http://
Get:11 http://
Get:12 http://
Get:13 http://
Get:14 http://
Get:15 http://
Get:16 http://
Get:17 http://
Get:18 http://
Get:19 http://
Get:20 http://
Get:21 http://
Get:22 http://
Get:23 http://
Get:24 http://
Get:25 http://
Fetched 2,799 kB in 22s (123 kB/s)
AppStream cache update completed, but some metadata was ignored due to errors.
Reading package lists... Done
N: Skipping acquire of configured file 'main/binary-
ccunningham@
Revision history for this message
|
#19 |
ccunningham@
[sudo] password for ccunningham:
Sorry, try again.
[sudo] password for ccunningham:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
cups : Depends: libcups2 (= 2.1.3-4ubuntu0.2) but 2.1.3-4ubuntu0.1 is to be installed
Depends: cups-core-drivers (>= 2.1.3-4ubuntu0.2) but 2.1.3-4ubuntu0.1 is to be installed
Depends: cups-common (>= 2.1.3-4ubuntu0.2) but 2.1.3-4ubuntu0.1 is to be installed
Depends: cups-server-common (>= 2.1.3-4ubuntu0.2) but 2.1.3-4ubuntu0.1 is to be installed
Depends: cups-client (>= 2.1.3-4ubuntu0.2) but 2.1.3-4ubuntu0.1 is to be installed
cups-daemon : Depends: libcups2 (= 2.1.3-4ubuntu0.2) but 2.1.3-4ubuntu0.1 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
ccunningham@
Revision history for this message
|
#20 |
Sorry I may have repeated the above in error. Thank you for your help. Do you think we will get a solution to this. Kind Regards Catherine
Revision history for this message
|
#21 |
I am quite sure that this will be solved soon.
Please execute the command
sudo apt-get dist-upgrade
and copy/paste the output.
Revision history for this message
|
#22 |
ccunningham@
[sudo] password for ccunningham:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
cups : Depends: cups-daemon (>= 2.1.3-4ubuntu0.1) but 2.1.3-4 is installed
cups-core-drivers : Depends: cups-daemon (>= 2.1.3-4ubuntu0.1) but 2.1.3-4 is installed
cups-daemon : Depends: libcups2 (= 2.1.3-4) but 2.1.3-4ubuntu0.1 is installed
E: Unmet dependencies. Try using -f.
ccunningham@
Revision history for this message
|
#23 |
Try
sudo apt-get install -f
and report the results
Revision history for this message
|
#24 |
ccunningham@
[sudo] password for ccunningham:
Sorry, try again.
[sudo] password for ccunningham:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
gstreamer0.
libmpcdec6 libqt4-webkit libslv2-9 linux-headers-
linux-
linux-
linux-
linux-
linux-
linux-
linux-
linux-
linux-
linux-
linux-
linux-
linux-
linux-
linux-
linux-
linux-
linux-
linux-
linux-
linux-
linux-
linux-
linux-
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
cups cups-bsd cups-client cups-common cups-core-drivers cups-daemon
cups-
libcupsppdc1
Suggested packages:
cups-pdf xpp
The following packages will be upgraded:
cups cups-bsd cups-client cups-common cups-core-drivers cups-daemon
cups-
libcupsppdc1
12 upgraded, 0 newly installed, 0 to remove and 285 not upgraded.
2 not fully installed or removed.
Need to get 1,662 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Get:9 http://
Get:10 http://
Get:11 http://
Get:12 http://
Fetched 1,662 kB in 13s (121 kB/s)
Preconfiguring packages ...
(Reading database ... 635291 files and directories currently installed.)
Preparing to unpack .../libcupscgi1
Unpacking libcupscgi1:i386 (2.1.3-4ubuntu0.2) over (2.1.3-4ubuntu0.1) ...
Preparing to unpack .../libcupsmime
Unpacking libcupsmime1:i386 (2.1.3-4ubuntu0.2) over (2.1.3-4ubuntu0.1) ...
Preparing to unpack .../cups-
Warning: Stopping cups.service, but it can still be activated by:
cups.socket
Unpacking cups-daemon (2.1.3-4ubuntu0.2) over (2.1.3-4) ...
Preparing to unpack .../cups-
Unpacking cups-core-drivers (2.1.3-4ubuntu0.2) over (2.1.3-4ubuntu0.1) ...
Preparing to unpack .../cups-
Unpacking cups-server-common (2.1.3-4ubuntu0.2) over (2.1.3-4ubuntu0.1) ...
Preparing to unpack .../cups-
Unpacking cups-common (2.1.3-4ubuntu0.2) over (2.1.3-4ubuntu0.1) ...
Preparing to unpack .../cups-
Unpacking cups-client (2.1.3-4ubuntu0.2) over (2.1.3-4ubuntu0.1) ...
Preparing to unpack .../libcupsimag
Unpacking libcupsimage2:i386 (2.1.3-4ubuntu0.2) over (2.1.3-4ubuntu0.1) ...
Preparing to unpack .../libcupsppdc
Unpacking libcupsppdc1:i386 (2.1.3-4ubuntu0.2) over (2.1.3-4ubuntu0.1) ...
Preparing to unpack .../libcups2_
Unpacking libcups2:i386 (2.1.3-4ubuntu0.2) over (2.1.3-4ubuntu0.1) ...
Preparing to unpack .../cups_
Unpacking cups (2.1.3-4ubuntu0.2) over (2.1.3-4ubuntu0.1) ...
Preparing to unpack .../cups-
Unpacking cups-bsd (2.1.3-4ubuntu0.2) over (2.1.3-4ubuntu0.1) ...
Processing triggers for libc-bin (2.23-0ubuntu5) ...
Processing triggers for ureadahead (0.100.0-19) ...
ureadahead will be reprofiled on next reboot
Processing triggers for systemd (229-4ubuntu12) ...
Processing triggers for ufw (0.35-0ubuntu2) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for doc-base (0.10.7) ...
Processing 1 changed doc-base file...
Setting up libcups2:i386 (2.1.3-4ubuntu0.2) ...
Setting up libcupscgi1:i386 (2.1.3-4ubuntu0.2) ...
Setting up libcupsmime1:i386 (2.1.3-4ubuntu0.2) ...
Setting up cups-daemon (2.1.3-4ubuntu0.2) ...
Setting up cups-core-drivers (2.1.3-4ubuntu0.2) ...
Setting up cups-server-common (2.1.3-4ubuntu0.2) ...
Setting up cups-common (2.1.3-4ubuntu0.2) ...
Setting up libcupsimage2:i386 (2.1.3-4ubuntu0.2) ...
Setting up cups-client (2.1.3-4ubuntu0.2) ...
Setting up libcupsppdc1:i386 (2.1.3-4ubuntu0.2) ...
Setting up cups (2.1.3-4ubuntu0.2) ...
Updating PPD files for cups ...
Setting up cups-bsd (2.1.3-4ubuntu0.2) ...
Processing triggers for libc-bin (2.23-0ubuntu5) ...
ccunningham@
Revision history for this message
|
#25 |
looks like problem solved. Thank you