Ubuntu: Trying to install a package, throwing errors



Question:

apt-get install firmware-atheros  

Throws me an error. I've already changed sources.list to allow non-free.

(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  

Happens. Is there a way I can fix this? Thanks.


Solution:1

From the comments, the problem was solved by removing the conflicting package

sudo apt-get remove linux-firmware  

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »