CUPS update 2.1.3-4ubuntu0-2 produces error [SOLVED]

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
wht66cld

Re: CUPS update 2.1.3-4ubuntu0-2 produces error [SOLVED]

Post by wht66cld »

beetm wrote:Are you trying to install these .deb files after downloading them and installing them manually from the site quoted?
I suspect you're trying to do it via apt (via synaptic or terminal).

Presumably the libcups2 you have is the 2.1.3-4ubuntu0.2 right?

If so installing the three files would match libcups2 on your system.
I have downloaded the three packages and use GDebi to install. If I try to install for example cups-core-drivers_2.1.3-4ubuntu0.2_amd64, I get the error that there are unmet dependencies for libcups2 (=2.1.3-4ubuntu0.2).
beetm
Level 1
Level 1
Posts: 12
Joined: Mon Mar 27, 2017 12:04 pm

Re: CUPS update 2.1.3-4ubuntu0-2 produces error [SOLVED]

Post by beetm »

wht66cld wrote:
I have downloaded the three packages and use GDebi to install. If I try to install for example cups-core-drivers_2.1.3-4ubuntu0.2_amd64, I get the error that there are unmet dependencies for libcups2 (=2.1.3-4ubuntu0.2).
Ok. It sounds like you might have a slightly different problem then. (Possibly still based off of the update perhaps).

Can you post the result when you;

Code: Select all

sudo apt-get install cups
Registered Linux User: #448206
Linux Mint 18.1 - Cinnamon amd64
wht66cld

Re: CUPS update 2.1.3-4ubuntu0-2 produces error [SOLVED]

Post by wht66cld »

beetm wrote:
wht66cld wrote:
I have downloaded the three packages and use GDebi to install. If I try to install for example cups-core-drivers_2.1.3-4ubuntu0.2_amd64, I get the error that there are unmet dependencies for libcups2 (=2.1.3-4ubuntu0.2).
Ok. It sounds like you might have a slightly different problem then. (Possibly still based off of the update perhaps).

Can you post the result when you;

Code: Select all

sudo apt-get install cups
When I attempt to install cups via the terminal I get:

Code: Select all

Läser paketlistor… Färdig
Bygger beroendeträd       
Läser tillståndsinformation… Färdig
cups is already the newest version (2.1.3-4).
0 att uppgradera, 0 att nyinstallera, 0 att ta bort och 41 att inte uppgradera.

Says I already have the newest version of cups.
This all started earlier this week when I needed to print an invoice. Printer didn't work, so I opened http://localhost:631/admin to see what was going on with my printer. Lo and behold. There was no cups there at all! So I installed cups again the way I normally install stuff, using the terminal. Had cups back alright and installed my printer again. it was there and I could see that cups was communicating with it all right, but when I attempt to print a test page the light on my printer blinks, but nothing comes out. So I guess cups-filters must be wrong, right?

Code: Select all

apt-cache policy cups-filters
gives...

Code: Select all

cups-filters:
  Installerad: 1.8.3-2ubuntu3.1
  Kandidat:    1.8.3-2ubuntu3.1
  Versionstabell:
 *** 1.8.3-2ubuntu3.1 500
        500 http://ftp.acc.umu.se/ubuntu xenial-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     1.8.3-2ubuntu3 500
        500 http://ftp.acc.umu.se/ubuntu xenial/main amd64 Packages
:?
beetm
Level 1
Level 1
Posts: 12
Joined: Mon Mar 27, 2017 12:04 pm

Re: CUPS update 2.1.3-4ubuntu0-2 produces error [SOLVED]

Post by beetm »

Thanks, yes you have a slightly different problem than the solutions posted here.

Yes, looks like your problem is with cups-filters.
Registered Linux User: #448206
Linux Mint 18.1 - Cinnamon amd64
wht66cld

Re: CUPS update 2.1.3-4ubuntu0-2 produces error [SOLVED]

Post by wht66cld »

beetm wrote:Yes, looks like your problem is with cups-filters.
Any suggestion how to solve that one so that cups-filters works with my version of cups?
Habitual

Re: CUPS update 2.1.3-4ubuntu0-2 produces error [SOLVED]

Post by Habitual »

I heard this works.
terminal >

Code: Select all

wget http://archive.ubuntu.com/ubuntu/pool/main/c/cups/cups-daemon_2.1.3-4ubuntu0.2_amd64.deb
sudo dpkg -i ./cups-daemon_2.1.3-4ubuntu0.2_amd64.deb
Can't make it any worse?
beetm
Level 1
Level 1
Posts: 12
Joined: Mon Mar 27, 2017 12:04 pm

Re: CUPS update 2.1.3-4ubuntu0-2 produces error [SOLVED]

Post by beetm »

Habitual wrote:I heard this works.
terminal >

Code: Select all

wget http://archive.ubuntu.com/ubuntu/pool/main/c/cups/cups-daemon_2.1.3-4ubuntu0.2_amd64.deb
sudo dpkg -i ./cups-daemon_2.1.3-4ubuntu0.2_amd64.deb
Can't make it any worse?
Think he's already tried installing cups-daemon_2.1.3-4ubuntu0.2 along with cups-core-drivers and cups. This is a slightly different problem and may need it's own separate thread.
Registered Linux User: #448206
Linux Mint 18.1 - Cinnamon amd64
Houchou

Re: CUPS update 2.1.3-4ubuntu0-2 produces error [SOLVED]

Post by Houchou »

It seams they pushed wrong packages in the repos, then they removed them and we got this mess.

To actually solve the issue, you need to go in synaptic and downgrade packages untill the system is happy again. Be careful not to remove half your system.

The easiest solution would be to simply reinstall.... B[
Houchou

Re: CUPS update 2.1.3-4ubuntu0-2 produces error [SOLVED]

Post by Houchou »

SOLUTION SOLUTION SOLUTION SOLUTION SOLUTION
from here:
https://bugs.launchpad.net/ubuntu/+sour ... ug/1676621

do

Code: Select all

sudo dpkg -P --force-depends libcups2 cups-bsd cups-client cups-daemon libcups2:i386 libcupscgi1 libcupsmime1 libcupsimage2 libcupsppdc1 cups
then

Code: Select all

sudo apt-get install -f
then
EDIT(to be exactly like before)

Code: Select all

sudo apt-get install cups bluez-cups hplip printer-driver-gutenprint printer-driver-hpcups printer-driver-postscript-hp printer-driver-splix
this should be it. It worked for me.
Last edited by Houchou on Fri Mar 31, 2017 3:24 pm, edited 2 times in total.
Habitual

Re: CUPS update 2.1.3-4ubuntu0-2 produces error [SOLVED]

Post by Habitual »

Good news and good job!
wht66cld

Re: CUPS update 2.1.3-4ubuntu0-2 produces error [SOLVED]

Post by wht66cld »

Houchou wrote:SOLUTION SOLUTION SOLUTION SOLUTION SOLUTION
from here:
https://bugs.launchpad.net/ubuntu/+sour ... ug/1676621

do

sudo dpkg -P --force-depends libcups2 cups-bsd cups-client cups-daemon libcups2:i386 libcupscgi1 libcupsmime1 libcupsimage2 libcupsppdc1 cups

then

sudo apt-get install -f

then

sudo apt-get install cups

this should be it. It worked for me.
I've tried that but no change for me. Still can't print :(
Houchou

Re: CUPS update 2.1.3-4ubuntu0-2 produces error [SOLVED]

Post by Houchou »

apt still complains about broken packages?
what's the error?

A correction from before, installing these, should get the system like it was:

Code: Select all

sudo apt-get install cups bluez-cups hplip printer-driver-gutenprint printer-driver-hpcups printer-driver-postscript-hp printer-driver-splix
bsz

Re: CUPS update 2.1.3-4ubuntu0-2 produces error [SOLVED]

Post by bsz »

Have exactly the same problem.

Sub-optimal !
nkoropoff
Level 2
Level 2
Posts: 80
Joined: Fri Mar 21, 2014 12:32 pm

Re: CUPS update 2.1.3-4ubuntu0-2 produces error [SOLVED]

Post by nkoropoff »

I faced the same problem and after trying all the suggestions without any resolution, I just did a reinstall of Mint to resolve my lack of printing.
Houchou

Re: CUPS update 2.1.3-4ubuntu0-2 produces error [SOLVED]

Post by Houchou »

Exactly what happened, was that the maintainers uploaded the wrong files in the repos, then they just removed them. (they should instaid have uploaded the good packages with higher version numbers in my opinion)

So, as long as you remove all the alien packages, your system should get fixed. Added complication in this, is that the mirrors took some time to propagate the changes.

And if you fiddled with the packages trying to fix them, you might complicated the breakage....

I guess reinstalling is the least stressful thing to do.
wht66cld

Re: CUPS update 2.1.3-4ubuntu0-2 produces error [SOLVED]

Post by wht66cld »

Houchou wrote:I guess reinstalling is the least stressful thing to do.
I give up and will make a clean install of Linux Mint in a few days when I have the time. As you say, it's the least stressful and most simple solution. Still somewhat disappointing that it was allowed to happen in the first place. Thanks for your effort in helping :)
Boxerman

Re: CUPS update 2.1.3-4ubuntu0-2 produces error [SOLVED]

Post by Boxerman »

Houchou wrote:SOLUTION SOLUTION SOLUTION SOLUTION SOLUTION
from here:
https://bugs.launchpad.net/ubuntu/+sour ... ug/1676621.
This worked for me :D
Thanks to everyone who contributed to this thread. It was good to know that it wasn't me who had messed things up, and it was even better to find out that there are knowledgeable people on here who are willing to help us numpties out.

BIG thank you guys!

Frank
lmintnewb2

Re: CUPS update 2.1.3-4ubuntu0-2 produces error [SOLVED]

Post by lmintnewb2 »

For sake of being overly anal
The following packages have unmet dependencies:
cups : Depends: libcups2 (= 2.1.3-4) but 2.1.3-4ubuntu0.2 is to be installed


Package manager is viewing v 2.1.3-4xxx0.2 as a newer version than 2.1.3-4, so is trying to upgrade to latest, thus borkage that's going on. Am sure using "apt-get install - t" or one of the cmds to tell apt or aptitude to install a specific version or force'ing it should fixy.

Also betting (know) someone could download the deb for problem package and install w Gdebi or "dpkg -i", then put the sucker on hold if want to be overly sure it doesn't get upgraded. Until this cups mess blows over.

Might even simply be able to rename the download something like 2.1.3-4.03 and trick apt etc into seeing it as a newer version ? Though that last one is just a madcap, wonder if it'd work brainfart. :)

edit: afterthought nope wouldn't work, would put someone right back in the need 2.1.3-4 situation a bunch of the other junk will work fine. :)
hfsandrade

Re: CUPS update 2.1.3-4ubuntu0-2 produces error [SOLVED]

Post by hfsandrade »

Thank you very much, this was the only solution that worked for me! :D :D :D
Houchou wrote:SOLUTION SOLUTION SOLUTION SOLUTION SOLUTION
from here:
https://bugs.launchpad.net/ubuntu/+sour ... ug/1676621

do

Code: Select all

sudo dpkg -P --force-depends libcups2 cups-bsd cups-client cups-daemon libcups2:i386 libcupscgi1 libcupsmime1 libcupsimage2 libcupsppdc1 cups
then

Code: Select all

sudo apt-get install -f
then
EDIT(to be exactly like before)

Code: Select all

sudo apt-get install cups bluez-cups hplip printer-driver-gutenprint printer-driver-hpcups printer-driver-postscript-hp printer-driver-splix
this should be it. It worked for me.
Total_Blue
Level 3
Level 3
Posts: 113
Joined: Wed Sep 07, 2011 5:01 pm

Re: CUPS update 2.1.3-4ubuntu0-2 produces error [SOLVED]

Post by Total_Blue »

Houchou wrote:SOLUTION SOLUTION SOLUTION SOLUTION SOLUTION
from here:
https://bugs.launchpad.net/ubuntu/+sour ... ug/1676621
Thanks Houchou, I just found this problem on my system and came across your posted solution while Googling the issue. Worked like a charm for me.
Locked

Return to “Printers & Scanners”