apt - Can't install linux-headers for Ubuntu 16.04 - Ask Ubuntu
i'm trying install packages apt-get , every time try install get:
acanada@ubuntu:~$ sudo apt-get install python3-pip reading package lists... done building dependency tree reading state information... done might want run 'apt-get -f install' correct these: following packages have unmet dependencies: linux-headers-4.4.0-45-generic : depends: linux-headers-4.4.0-45 not going installed e: unmet dependencies. try 'apt-get -f install' no packages (or specify solution).
so, apt-get -f install command , get:
acanada@ubuntu:~$ sudo apt-get -f install reading package lists... done building dependency tree reading state information... done correcting dependencies... done following packages automatically installed , no longer required: gnome-video-effects guile-2.0-libs libgc1c2 libwhoopsie-preferences0 linux-headers-4.4.0-31 linux-headers-4.4.0-31-generic linux-image-4.4.0-31-generic linux-image-extra-4.4.0-31-generic whoopsie-preferences use 'sudo apt autoremove' remove them. following additional packages installed: linux-headers-4.4.0-45 following new packages installed: linux-headers-4.4.0-45 0 upgraded, 1 newly installed, 0 remove , 146 not upgraded. 41 not installed or removed. need 0 b/9,988 kb of archives. after operation, 70.4 mb of additional disk space used. want continue? [y/n] y (reading database ... 270809 files , directories installed.) preparing unpack .../linux-headers-4.4.0-45_4.4.0-45.66_all.deb ... unpacking linux-headers-4.4.0-45 (4.4.0-45.66) ... dpkg-deb (subprocess): decompressing archive member: lzma error: compressed data corrupt dpkg-deb: error: subprocess <decompress> returned error exit status 2 dpkg: error processing archive /var/cache/apt/archives/linux-headers-4.4.0-45_4.4.0-45.66_all.deb (--unpack): subprocess dpkg-deb --fsys-tarfile returned error exit status 2 no apport report written because error message indicates issue on local system errors encountered while processing: /var/cache/apt/archives/linux-headers-4.4.0-45_4.4.0-45.66_all.deb e: sub-process /usr/bin/dpkg returned error code (1)
is there way fix this? can't install packages because comes same error.
Comments
Post a Comment