![尝试安装包,抛出错误](https://linux22.com/image/868673/%E5%B0%9D%E8%AF%95%E5%AE%89%E8%A3%85%E5%8C%85%EF%BC%8C%E6%8A%9B%E5%87%BA%E9%94%99%E8%AF%AF.png)
apt-get install firmware-atheros
抛出错误。我已经将 sources.list 改为允许非免费。
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 219877 files and directories currently installed.)
Preparing to unpack .../firmware-atheros_0.36+wheezy.1_all.deb ...
Unpacking firmware-atheros (0.36+wheezy.1) ...
dpkg: error processing archive /home/administrator/Downloads/firmware-atheros_0.36+wheezy.1_all.deb (--install):
trying to overwrite '/lib/firmware/ath3k-1.fw', which is also in package linux-firmware 1.138.1
dpkg-deb (subprocess): decompressing archive member: internal gzip write error: Broken pipe
dpkg-deb: error: subprocess <decompress> returned error exit status 2
dpkg-deb (subprocess): cannot copy archive member from '/home/administrator/Downloads/firmware-atheros_0.36+wheezy.1_all.deb' to decompressor pipe: unexpected end of file or stream
发生了。有什么办法可以解决这个问题吗?谢谢。
答案1
根据评论,通过删除冲突的包可以解决问题
sudo apt-get remove linux-firmware