Sou novo no Ubuntu e estou tendo problemas para instalar alguns pacotes no 16.04 TLS. O primeiro é pip. Quando eu corri sudo apt-get install python-pip
, eu peguei:
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:
libpcl1.7 : Depends: libpcl-people1.7 but it is not going to be installed
python-pip : Depends: python-pip-whl (= 8.1.1-2ubuntu0.4) but it is not going to be installed
Recommends: python-all-dev (>= 2.6) but it is not going to be installed
Recommends: python-wheel but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Eu tentei o comando com o -f
, mas ainda assim não ajudou.
Eu então tentei instalar o libpcl-people1.7 usando sudo apt-get install libpcl-people1.7
, mas recebi ainda mais erros:
After this operation, 74.8 kB of additional disk space will be used.
E: Read error - read (5: Input/output error)
E: Prior errors apply to /var/cache/apt/archives/libpcl-people1.7_1.7.2-14build1_amd64.deb
debconf: apt-extracttemplates failed: Interrupted system call
(Reading database ... 283158 files and directories currently installed.)
Preparing to unpack .../libpcl-people1.7_1.7.2-14build1_amd64.deb ...
Unpacking libpcl-people1.7:amd64 (1.7.2-14build1) ...
dpkg-deb (subprocess): cannot copy archive member from '/var/cache/apt/archives/libpcl-people1.7_1.7.2-14build1_amd64.deb' to decompressor pipe: failed to read (Input/output error)
dpkg-deb (subprocess): decompressing archive member: lzma error: unexpected end of input
dpkg-deb: error: subprocess <decompress> returned error exit status 2
dpkg: error processing archive /var/cache/apt/archives/libpcl-people1.7_1.7.2-14build1_amd64.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
Processing triggers for libc-bin (2.23-0ubuntu7) ...
Errors were encountered while processing:
/var/cache/apt/archives/libpcl-people1.7_1.7.2-14build1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Atualizei o sistema antes de executar esses comandos. Para mim os erros parecem esquisitos. Qual pode ser a causa desses erros? Qualquer ajuda é apreciada. Obrigado.