在 amd64 系统上安装 i386 打印机驱动程序?

iGE*_*GEL 3 64-bit printing 11.04 canon

根据本主题,可以在 amd64 Ubuntu 上为我的 Pixma MP560 打印机安装这些 i386 驱动程序。不幸的是,我无法安装驱动程序:

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
Run Code Online (Sandbox Code Playgroud)

软件包libc6libcups2libpopt0安装在我的系统上,但是libcupsys2. 但是libcupsys2是自 Ubuntu 7.04 以来的虚拟包,许多用户让打印机在 Ubuntu 10.10 下运行。

我使用的是 64 位版本的 Ubuntu 11.04。

有任何想法吗?

Nod*_*ody 5

好吧,这个问题有点老了,但由于我刚刚遇到了同样的事情,无论如何我都会发布为我解决的问题:

我在这里找到了解决方案:

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
Run Code Online (Sandbox Code Playgroud)

程序乍一看似乎很复杂,但实际上并非如此。分步说明非常简单明了。我让我的 Brother HL-2250DN 以这种方式工作。