我刚刚安装了 KDE 3.5,并试图让驱动程序适用于我的 Atheros 9271,当我键入时,lsusb
它被检测到,但没有 ifconfig(仅以太网和环回)。
我在这里尝试了以下说明:
https://wiki.debian.org/ath9k_htc
但是当我运行时apt-get update && apt-get install firmware-atheros
它只会出现:
有任何想法吗?
答案1
firmware-atheros 是一个非免费程序,您应该/etc/apt/sources.list
按如下方式编辑您的程序(不要使用重定向器 httpredir):
deb http://deb.debian.org/debian jessie main contrib non-free
deb-src http://deb.debian.org/debian jessie main contrib non-free
deb http://deb.debian.org/debian jessie-updates main contrib non-free
deb-src http://deb.debian.org/debian jessie-updates main contrib non-free
deb http://security.debian.org/debian-security/ jessie/updates main contrib non-free
deb-src http://security.debian.org/debian-security/ jessie/updates main contrib non-free
保存并安装包:
apt update
apt install firmware-atheros
解决此错误:
E: The package firmware-atheros needs to be reinstalled, but I can't find an archive for it
尝试以下命令:
apt install --reinstall firmware-atheros
如果您仍然得到“半配置包”,请备份您的/var/lib/dpkg/status
:
cp /var/lib/dpkg/status status.bak
打开status
文件:
nano /var/lib/dpkg/status
找到然后firmware-atheros
删除它及其描述,保存文件并运行:
dpkg --configure -a
apt update
apt install firmware-atheros
GPG 错误可以通过安装 和debian-archive-keyring
来解决debian-keyring
:
apt install debian{$1,-archive}-keyring