Не может установить vsftpd - E: подпроцесс/usr/bin/dpkg возвратил код ошибки (1)

После выполнения sudo apt-get install vsftpd Я добрался:

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)

Я пытался удалить /var/cache/apt/archives/vsftpd_3.0.2-1ubuntu2.14.04.1_amd64.deb, но это все еще не работает.

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)
0
задан 7 February 2015 в 12:38

1 ответ

Решить. Я заметил, что после sudo apt-get install vsftpd получил эту ошибку в своем журнале

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

, Который означает, что я должен освободить некоторую RAM. Таким образом, я уничтожил другой процесс, и все работает теперь.

1
ответ дан 6 October 2019 в 02:07

Другие вопросы по тегам:

Похожие вопросы: