如题,有没有装过的大佬看看
网上查了一下通用驱动似乎 apt install cpus 就行了
然后我 root 运行拿到下面这个提示:( raspbian 系统)
=======================================================
root@raspberrypi:~# 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 还是我的某些设置有问题?
我看网上教学都是直接就装了,咋回事,很懵
1
black11black OP 树莓派型号 4B
|
2
chunchu 2020-01-12 14:39:03 +08:00
试试
sudo apt-get update sudo apt-get install cpus |
3
mikeguan 2020-01-12 15:09:21 +08:00 via Android
看着像是不同版本软件源乱了
如果软件源乱了建议还是先看基础吧 |
4
ashong 2020-01-12 15:15:59 +08:00
似乎就是 arm 不支持, 我以前也遇到过打印机装不上,后来自己编译安装驱动后 色彩不对, 后来 x86 安装就没问题了
|
5
black11black OP @mikeguan
感谢,debug 了一下,似乎发生原因是因为使用原版源 apt upgrade,然后中途嫌太慢 ctrl+c 了,后面换成科大镜像导致的问题。 哪里的基础会讲软件源替换和冲突的原理。。不懂啊 |
6
black11black OP |
8
black11black OP |
9
JackieMe 2020-01-12 22:07:10 +08:00
@black11black 你应该是 update 一半你取消了,然后 apt 本地缓存的源信息和你实际用的源有的包版本不一致,你这时候 apt install 就会出现 apt 明明在本地缓存里找到某个包某个版本,但是去去下载的时候(实际使用的源的网址)找不到这个包了,就报错了。一般不混用源和第三方不靠谱的源很少出现版本冲突的。
|
10
black11black OP @JackieMe
感谢,基本上是这个问题了 |