Não é possível instalar o vsftpd - E: O subprocesso / usr / bin / dpkg retornou um código de erro (1)

0

Depois de executar sudo apt-get install vsftpd , obtive:

Errors were encountered while processing:
/var/cache/apt/archives/vsftpd_3.0.2-1ubuntu2.14.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Eu tentei excluir /var/cache/apt/archives/vsftpd_3.0.2-1ubuntu2.14.04.1_amd64.deb , mas ainda não funciona.

root@:~# sudo apt-get install vsftpd
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-headers-3.13.0-36 linux-headers-3.13.0-36-generic
  linux-image-3.13.0-36-generic linux-image-extra-3.13.0-36-generic
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
  vsftpd
0 upgraded, 1 newly installed, 0 to remove and 92 not upgraded.
Need to get 111 kB of archives.
After this operation, 361 kB of additional disk space will be used.
Get:1 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main vsftpd amd64 3.0.2-1ubuntu2.14.04.1 [111 kB]
Fetched 111 kB in 0s (3,120 kB/s)
Preconfiguring packages ...
(Reading database ... 130373 files and directories currently installed.)
Preparing to unpack .../vsftpd_3.0.2-1ubuntu2.14.04.1_amd64.deb ...
Unpacking vsftpd (3.0.2-1ubuntu2.14.04.1) ...
dpkg-deb (subprocess): decompressing archive member: lzma error: Cannot allocate memory
dpkg-deb: error: subprocess <decompress> returned error exit status 2
dpkg: error processing archive /var/cache/apt/archives/vsftpd_3.0.2-1ubuntu2.14.04.1_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
         Errors were encountered while processing:
 /var/cache/apt/archives/vsftpd_3.0.2-1ubuntu2.14.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
    
por Display name 07.02.2015 / 18:16

1 resposta

1

Resolva. Percebi que após sudo apt-get install vsftpd eu recebi esse erro no meu log

dpkg-deb (subprocess): decompressing archive member: lzma error: Cannot allocate memory

Isso significa que devo liberar alguma RAM. Então eu matei outro processo e tudo funciona agora.

    
por Display name 07.02.2015 / 20:50