apt-get install unzip get strange error
i am trying to install unzip and get this error:
root@bo:~# apt-get install unzip
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following packages will be upgraded:
1 upgraded, 0 newly installed, 0 to remove and 54 not upgraded.
1 not fully installed or removed.
Need to get 0 B/193 kB of archives.
After this operation, 386 kB of additional disk space will be used.
(Reading database …
dpkg: warning: files list file for package `unzip’ missing, assuming package has no files currently installed.
(Reading database … 219960 files and directories currently installed.)
Preparing to replace unzip 6.0-4ubuntu2.5 (using …/unzip6.0-4ubuntu2.5amd64.deb) …
Unpacking replacement unzip …
dpkg: unrecoverable fatal error, aborting:
fork failed: Cannot allocate memory
E: Sub-process /usr/bin/dpkg returned an error code (2)
Please suggest to fix that issue.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.