Code: Select all
E: /var/cache/apt/archives/cups-daemon_2.1.3-4ubuntu0.2_amd64.deb: subprocess new pre-removal script returned error exit status 1
Code: Select all
E: /var/cache/apt/archives/cups-daemon_2.1.3-4ubuntu0.2_amd64.deb: subprocess new pre-removal script returned error exit status 1
Code: Select all
sudo dpkg --configure -a
Code: Select all
sudo dpkg --configure -a
Code: Select all
dpkg: dependency problems prevent configuration of cups:
cups depends on cups-daemon (>= 2.1.3-4ubuntu0.2); 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.2); 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
Code: Select all
sudo apt-get purge cups
sudo apt-get autoclean
sudo apt-get clean
sudo apt-get update
Code: Select all
sudo apt-get install cups
Code: Select all
sudo apt-get install -f
Glad you found a way to fix it.Terryphi wrote:kc1di:
Before I read your post I did aand this has solved the problem.Code: Select all
sudo apt-get install -f
Possibly the repository had been fixed by the time I did it.
Anyway, thanks for your suggestions.
go to synaptic and see if you have any broken packages. and fix them if there are any and try update again.beetm wrote:I'm still getting unmet dependencies as fstjohn (10:54am) above. I've tried all the suggestions in this thread.
Any ideas?
Code: Select all
The following packages have unmet dependencies:
cups : Depends: libcups2 (= 2.1.3-4) but 2.1.3-4ubuntu0.2 is to be installed
Depends: cups-core-drivers (>= 2.1.3-4)
Depends: cups-daemon (>= 2.1.3-4)
E: Unable to correct problems, you have held broken packages.
Code: Select all
sudo apt-get install -f
I'm assuming that the packages will be on the ubuntu.come rep. since it's a unbuntu package. I'm not shure how fast the sync is on the US server.sdahlstrom wrote:I'm having all of the same issues without any luck from the previous suggestions. I switched my software sources back to the default repositories, assuming those would be the first to get the updates. However, it didn't help. Am I wrong in my assumption that the default repositories (packages.linuxmint.com and us.archive.ubuntu.com/ubuntu) should already have the necessary updates?
(here i went to synaptic and ran fix broken packages)~ $ sudo apt-get install -f
[sudo] password for xxxxxxx:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 33 not upgraded.
~ $ sudo apt-get purge cups
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
cups*
0 upgraded, 0 newly installed, 1 to remove and 33 not upgraded.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 212392 files and directories currently installed.)
Removing cups (2.1.3-4ubuntu0.2) ...
Purging configuration files for cups (2.1.3-4ubuntu0.2) ...
~ $ sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
Del cups-bsd 2.1.3-4ubuntu0.2 [34.8 kB]
Del cups-ppdc 2.1.3-4ubuntu0.2 [26.6 kB]
Del libcupsppdc1 2.1.3-4ubuntu0.2 [44.9 kB]
Del cups-core-drivers 2.1.3-4ubuntu0.2 [27.3 kB]
Del libcupsimage2 2.1.3-4ubuntu0.2 [16.8 kB]
Del cups-server-common 2.1.3-4ubuntu0.2 [493 kB]
Del libcups2 2.1.3-4ubuntu0.2 [196 kB]
Del libcupsimage2 2.1.3-4ubuntu0.2 [16.1 kB]
Del libcupscgi1 2.1.3-4ubuntu0.2 [27.3 kB]
Del libcupsmime1 2.1.3-4ubuntu0.2 [13.1 kB]
Del cups-client 2.1.3-4ubuntu0.2 [133 kB]
Del libcups2 2.1.3-4ubuntu0.2 [212 kB]
Del cups 2.1.3-4ubuntu0.2 [192 kB]
Del cups-common 2.1.3-4ubuntu0.2 [134 kB]
Del cups-daemon 2.1.3-4ubuntu0.2 [301 kB]
scooterpi@AO532h ~ $ sudo apt-get clean
scooterpi@AO532h ~ $ sudo apt-get update
Ign:1 http://mirrors.kernel.org/linuxmint-packages serena InRelease
Hit:2 http://mirrors.kernel.org/linuxmint-packages serena Release
Get:3 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Hit:5 http://mirror.math.ucdavis.edu/ubuntu xenial InRelease
Hit:6 http://mirror.math.ucdavis.edu/ubuntu xenial-updates InRelease
Hit:7 http://mirror.math.ucdavis.edu/ubuntu xenial-backports InRelease
Hit:8 http://archive.canonical.com/ubuntu xenial InRelease
Hit:9 https://deb.opera.com/opera-stable stable InRelease
Fetched 102 kB in 3s (33.2 kB/s)
Reading package lists... Done
~ $ sudo apt-get 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: cups-core-drivers (>= 2.1.3-4)
Depends: cups-daemon (>= 2.1.3-4)
Recommends: printer-driver-gutenprint but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
So no joy for now.~ $ sudo apt-get 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: cups-core-drivers (>= 2.1.3-4)
Depends: cups-daemon (>= 2.1.3-4)
Recommends: printer-driver-gutenprint but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
~ $