0

Trying to install a Canon printer, and getting into trouble at some point (see this question, regarding the 12.10 part) I noticed that I had not followed exactly what Ubuntu Documentation recommended for 12.04: I had installed version 2.4 of the canon driver while the ubuntu website gave a link for v.2.3.

While with 2.4 i have stumbled on the step presented in that question, after removing drivers and trying to install 2.3 version (cndrvcups-common_2.30-1_i386), i have an unsatisfied dependency: gs-esp

enter image description here

But how to install that?

Cannot find it in Synaptic

If i enter

apt-cache show ghostscript | grep ^Provides

i only get

Provides: postscript-viewer

Output of apt-cache policy ghostscript is

Installed: 9.06~dfsg-0ubuntu4
  Candidate: 9.06~dfsg-0ubuntu4
  Version table:
 *** 9.06~dfsg-0ubuntu4 0
        500 http://fr.archive.ubuntu.com/ubuntu/ quantal/main i386 Packages
        100 /var/lib/dpkg/status

Also,

$ sudo dpkg -i cndrvcups-common_2.30-1_i386.deb
Selecting previously unselected package cndrvcups-common.
(Reading database ... 388209 files and directories currently installed.)
Unpacking cndrvcups-common (from cndrvcups-common_2.30-1_i386.deb) ...
dpkg: dependency problems prevent configuration of cndrvcups-common:
 cndrvcups-common depends on gs-esp; however:
  Package gs-esp is not installed.

dpkg: error processing cndrvcups-common (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 cndrvcups-common

1 Answers1

0

The 2.40 version package you have there is just depending on this:

Depends: [...] gs-esp | ghostscript (>= 9.00) [...]

meaning this is an OR relationship, so the ghostscript version 9.05~dfsg-0ubuntu4.2 (precise) or 9.06~dfsg-0ubuntu4 (quantal) in Ubuntu will satisfy it.

Whereas the 2.30 version of the package has these dependencies:

Depends: [...], gs-esp, [...]

The package ghostscript provides this in 12.04:

apt-cache show ghostscript | grep ^Provides
Provides: gs-esp, postscript-viewer

But not in 12.10.

Bottom line: Unless you want to modify this binary-only package, this 2.30 version is not installable on 12.10 and up. Use the 2.40 version.

gertvdijk
  • 69,427