Ubuntu – Install i386 printer driver on an amd64 system

11.0464-bitcanonprinting

According to this topic, it's possible to install these i386-drivers for my Pixma MP560 printer on an amd64 Ubuntu. Unfortunately, I cannot install the drivers:

sudo dpkg -i --force-architecture cnijfilter-common_3.20-1_i386.deb
dpkg: warning: overriding problem because --force enabled:
 package architecture (i386) does not match system (amd64)
(Reading database ... 151200 files and directories currently installed.)
Preparing to replace cnijfilter-common:i386 3.20-1 (using cnijfilter-common_3.20-  1_i386.deb) ...
Unpacking replacement cnijfilter-common:i386 ...
dpkg: dependency problems prevent configuration of cnijfilter-common:i386:
 cnijfilter-common:i386 depends on libc6 (>= 2.3.4-1).
 cnijfilter-common:i386 depends on libcupsys2 (>= 1.2.1) | libcups2.
 cnijfilter-common:i386 depends on libpopt0 (>= 1.7).
dpkg: error processing cnijfilter-common:i386 (--install):
 dependency problems - leaving unconfigured
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
 cnijfilter-common:i386

The packages libc6, libcups2, and libpopt0 are installed on my system, but libcupsys2. But libcupsys2 is a virtual package since Ubuntu 7.04 and many users got the printer running under Ubuntu 10.10.

I'm on the 64 bit version of Ubuntu 11.04.

Any ideas?

Best Answer

Okay, this question is a bit old, but since I just bumped into the same thing, I'll post what solved it for me anyway:

I found the solution here:

https://bugs.launchpad.net/ubuntu/+source/cups/+bug/701856/comments/20

Create a directory.
move the .deb files into the directory
open a shell
change dir into the directory

For each package do the following:

1. dpkg -x [package].deb common
2. dpkg --control [package].deb
3. vim DEBIAN/control
4. remove troublesome dependencies from the "Dependency: libc (..." line (or delete it -- move to line than press 'dd' than ESC:x)
5. cp -a DEBIAN/ common/
6. dpkg -b common [package].deb
7. dpkg -i [package].deb
8. rm -rf common DEBIAN

The procedure might seem complicated at first, but actually it is not. The step-by-step instructions are very easy and clear. I got my Brother HL-2250DN working this way.

Related Question