Error installing apt-show-versions / webmin November 07, 2017 01:08PM |
Registered: 8 years ago Posts: 88 |
apt-get -o Acquire::GzipIndexes=false updatedoesn't seem to help me:
root@debian:/tmp# apt-get -o Acquire::GzipIndexes=false update Ign:1 http://ftp.us.debian.org/debian stretch InRelease Get:2 http://security.debian.org stretch/updates InRelease [63.0 kB] Hit:3 http://ftp.us.debian.org/debian stretch Release Hit:4 http://cdn-fastly.deb.debian.org/debian stretch-updates InRelease Fetched 63.0 kB in 8s (7707 B/s) Reading package lists... Done root@debian:/tmp# root@debian:/tmp# root@debian:/tmp# root@debian:/tmp# root@debian:/tmp# apt-get install apt-show-versions Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: apt-show-versions 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/34.3 kB of archives. After this operation, 162 kB of additional disk space will be used. Selecting previously unselected package apt-show-versions. (Reading database ... 19287 files and directories currently installed.) Preparing to unpack .../apt-show-versions_0.22.7_all.deb ... Unpacking apt-show-versions (0.22.7) ... Setting up apt-show-versions (0.22.7) ... ** initializing cache. This may take a while ** Killed dpkg: error processing package apt-show-versions (--configure): subprocess installed post-installation script returned error exit status 137 Processing triggers for man-db (2.7.6.1-2) ... Errors were encountered while processing: apt-show-versions E: Sub-process /usr/bin/dpkg returned an error code (1) root@debian:/tmp#
Re: Error installing apt-show-versions / webmin November 07, 2017 11:29PM |
Registered: 9 years ago Posts: 226 |
echo "** initializing cache. This may take a while **" umask 0022 apt-show-versions -iI assume your postinst script does the same thing. I'm guessing the "apt-show-versions -i" is running out of memory. Do you have a swap file setup?
[2935908.100248] Out of memory: Kill process 2958 (apt-show-versio) score 102 or sacrifice child [2935908.108955] Killed process 2958 (apt-show-versio) total-vm:155092kB, anon-rss:68976kB, file-rss:116kB, shmem-rss:0kB [2936334.985097] kswapd0: page allocation failure: order:0, mode:0x2604050(GFP_NOFS|__GFP_COMP|__GFP_RECLAIMABLE|__GFP_NOTRACK)Check your dmesg output for "Out of memory".
Re: Error installing apt-show-versions / webmin November 08, 2017 04:36AM |
Registered: 8 years ago Posts: 88 |