Não é possível instalar cabeçalhos linux para o Ubuntu 16.04

1

Estou tentando instalar pacotes com o apt-get e toda vez que tento instalar qualquer coisa que eu recebo:

acanada@ubuntu:~$ sudo apt-get install python3-pip
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 linux-headers-4.4.0-45-generic : Depends: linux-headers-4.4.0-45 but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

Então, eu faço o comando apt-get -f install e obtenho:

acanada@ubuntu:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are 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' to remove them.
The following additional packages will be installed:
  linux-headers-4.4.0-45
The following NEW packages will be installed:
  linux-headers-4.4.0-45
0 upgraded, 1 newly installed, 0 to remove and 146 not upgraded.
41 not fully installed or removed.
Need to get 0 B/9,988 kB of archives.
After this operation, 70.4 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 270809 files and directories currently installed.)
Preparing to 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 is 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 the error message indicates an issue on the local system
         Errors were 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 an error code (1)

Existe alguma maneira de corrigir isso? Não consigo instalar nenhum pacote porque ele apresenta o mesmo erro.

    
por user1972601 27.10.2016 / 06:19

0 respostas