2

I am trying to install cups and gutenprint on my Raspberry Pi (VERSION="8 (jessie)"; all updated/upgraded).

When installing cups-driver-gutenprint (with apt-get install cups-driver-gutenprint) it complains about an incompatible printer-driver-gutenprint:

The following packages have unmet dependencies:
 cups-driver-gutenprint : Depends: printer-driver-gutenprint (= 5.2.10-3) but 5.2.10-3+b3 is to be installed

How can I get this to work?

4 Answers 4

2

You should be able to install a specific version of a package using

apt-get install <package name>=<version>

Remove the printer-driver-gutenprint package using

apt-get remove printer-driver-gutenprint

and then re-add the required version using

apt-get install printer-driver-gutenprint=5.2.10-3

then try again with the cups driver:

apt-get install cups-driver-gutenprint
2
  • Your suggested "re-adding" step results in E: Version '5.2.10-3' for 'printer-driver-gutenprint' was not found on a fresh Jessie
    – techraf
    Jan 7, 2016 at 15:04
  • Strange. Try skipping that step and go straight for the apt-get install cups-driver-gutenprint step.
    – Bex
    Jan 7, 2016 at 16:41
1

Though it's not a full answer, the problem has been solved. Using uptitude I found out:

cups-driver-gutenprint
<...>
transitional dummy package for gutenprint printer driver
This is a transitional package to install the CUPS driver based on
Gutenprint, which has been renamed to printer-driver-gutenprint.

So, Just install the printer-driver-gutenprint yourself without using the dummy cups-driver-gutenprint:

sudo apt-get install printer-driver-gutenprint
1

cups-driver-gutenprint is a dummy package containing a single readme document. So installing the actual driver package, printer-driver-gutenprint, is a possible workaround.

However, there's no reason you'd be unable to install the dummy package. Debian does a good job preventing broken package dependencies, and the package I currently see in the repo is indeed version 5.2.10-3, not 5.2.10-3+b3. Most probably, you forgot to run apt-get update; apt-get upgrade before installing, so the package list on your RPi is out of date compared to the repo, causing the issue.

0

I would check that you really have an up-to-date list of packages available from the servers that you are using. You have just done a: sudo apt-get update first haven't you (things can change on a daily basis) then try the sudo apt-get install cups-driver-gutenprint again. The problem you are experiencing is that the extra package you have requested is later than the ones already installed but apt-get does not know (without running the "update" instruction) that new versions for all the interconnected packages have become available...!

Failing that it may be that (temporarily) one or more packages have not been updated on the servers so that there is a mix of updated and un-updated both on the server and you have got a mix of both. If that seems to be the case (the previous paragraph did not solve your problem) try running sudo aptitude - without any arguments aptitude runs as a text-mode application and it can show you the interrelation between packages and if there is a problem it offers an interactive means to fix things...

Here is a capture of the information for that package on my Debian (Wheezy) PC (not a Pi!):

screenshot of Aptitude program

Any line in an aptitude tab beginning with --- can be expended by selecting that line (with <up>/<down> arrows) and hitting <enter> and --\ lines collapsed in the same way. Use <cntl>-t to access the menu and don't forget to do a <cntl>-t U to update the package list (aptitude and apt-get are two separate utilities and each needs to have it's lists updated to keep their idea of what packages are around up to date...)

Red background lines are problems/warnings (but only if on something that needs to be installed or you want installed); Green lines are packages to be installed; Purple lines are packages to be uninstalled and Cyan lines are packages (on the preview tab) that will be updated (on other tabs there will be a purple/green pair of lines). Bold white foreground lines are packages that are currently installed and not changed and dim white are un-installed ones available but not installed... Hope this helps.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.