跳至主要內容
  • Hostloc 空間訪問刷分
  • 售賣場
  • 廣告位
  • 賣站?

4563博客

全新的繁體中文 WordPress 網站
  • 首頁
  • 树莓派无法安装打印机驱动,这个错误提示是没有 arm 对应包的意思吗?
未分類
8 5 月 2020

树莓派无法安装打印机驱动,这个错误提示是没有 arm 对应包的意思吗?

树莓派无法安装打印机驱动,这个错误提示是没有 arm 对应包的意思吗?

資深大佬 : black11black 65

如题,有没有装过的大佬看看

网上查了一下通用驱动似乎 apt install cpus 就行了

然后我 root 运行拿到下面这个提示:( raspbian 系统)

=======================================================

[email protected]:~# apt-get install cups

Reading package lists… Done Building dependency tree
Reading state information… Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:

The following packages have unmet dependencies: cups : Depends: libcups2 (= 1.7.5-11+deb8u7) but 2.2.10-6+deb10u1 is to be installed Depends: libcupscgi1 (>= 1.4.2) but it is not going to be installed Depends: libcupsmime1 (>= 1.4.0) but it is not going to be installed Depends: libcupsppdc1 (>= 1.4.0) but it is not going to be installed Depends: cups-core-drivers (>= 1.7.5-11+deb8u7) but it is not going to be installed Depends: cups-daemon (>= 1.7.5-11+deb8u7) but it is not going to be installed Depends: ghostscript (>= 9.02~) but it is not going to be installed Depends: cups-client (>= 1.7.5-11+deb8u7) but it is not going to be installed Depends: cups-ppdc but it is not going to be installed Depends: cups-filters (>= 1.0.24-3~) but it is not going to be installed Recommends: colord but it is not going to be installed Recommends: cups-filters (>= 1.0.42) but it is not going to be installed or foomatic-filters (>= 4.0) Recommends: printer-driver-gutenprint but it is not going to be installed Recommends: cups-filters (>= 1.0.36) but it is not going to be installed or ghostscript-cups (>= 9.02~) E: Unable to correct problems, you have held broken packages.

=======================================================

以前 x86 的 apt install 从来没出过这种问题,看不太懂

所以是没有适配版本的 cpus 还是我的某些设置有问题?

我看网上教学都是直接就装了,咋回事,很懵

大佬有話說 (10)

  • 主 資深大佬 : black11black

    树莓派型号 4B

  • 資深大佬 : chunchu

    试试
    sudo apt-get update
    sudo apt-get install cpus

  • 資深大佬 : mikeguan

    看着像是不同版本软件源乱了
    如果软件源乱了建议还是先看基础吧

  • 資深大佬 : ashong

    似乎就是 arm 不支持, 我以前也遇到过打印机装不上,后来自己编译安装驱动后 色彩不对, 后来 x86 安装就没问题了

  • 主 資深大佬 : black11black

    @mikeguan

    感谢,debug 了一下,似乎发生原因是因为使用原版源 apt upgrade,然后中途嫌太慢 ctrl+c 了,后面换成科大镜像导致的问题。

    哪里的基础会讲软件源替换和冲突的原理。。不懂啊

  • 主 資深大佬 : black11black

    @black11black

    更新,似乎不是替换和冲突政策的问题

    是我用的科大源本身有些问题。。换清华源以后解决了

  • 資深大佬 : swsh007

    @ashong 是有这种事,比如 brother 有官方驱动但只是 x86。

  • 主 資深大佬 : black11black

    @swsh007

    更新,换源可以解决安装问题,但 arm 下有些奇怪的 bug

    我的机器设置好以后只能在 cups 的 web 控制面板里打印测试页面(正常)

    但 http 远程打印全部无效,很神秘

  • 資深大佬 : JackieMe

    @black11black 你应该是 update 一半你取消了,然后 apt 本地缓存的源信息和你实际用的源有的包版本不一致,你这时候 apt install 就会出现 apt 明明在本地缓存里找到某个包某个版本,但是去去下载的时候(实际使用的源的网址)找不到这个包了,就报错了。一般不混用源和第三方不靠谱的源很少出现版本冲突的。

  • 主 資深大佬 : black11black

    @JackieMe
    感谢,基本上是这个问题了

文章導覽

上一篇文章
下一篇文章

AD

其他操作

  • 登入
  • 訂閱網站內容的資訊提供
  • 訂閱留言的資訊提供
  • WordPress.org 台灣繁體中文

51la

4563博客

全新的繁體中文 WordPress 網站
返回頂端
本站採用 WordPress 建置 | 佈景主題採用 GretaThemes 所設計的 Memory
4563博客
  • Hostloc 空間訪問刷分
  • 售賣場
  • 廣告位
  • 賣站?
在這裡新增小工具