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

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

根据这个话题,可以在 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

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

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

有任何想法吗?

答案1

好吧,这个问题有点老了,但是因为我刚刚遇到了同样的问题,所以我还是会发布一下解决这个问题的方法:

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

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

这个过程乍一看似乎很复杂,但实际上并不复杂。分步说明非常简单明了。我的 Brother HL-2250DN 就是这样工作的。

答案2

你可以在这里找到修改后的 deb 文件
http://play.oob.gr/files/common.deb
http://play.oob.gr/files/mx870.deb

使用 --force-architecture 安装

答案3

看一下参考的帖子:

http://ubuntuforums.org/showthread.php?t=1264928&page=13

高血压

相关内容