Честно говоря, я не понимаю, почему out of room срабатывает, но не всегда и от чего это "не всегда" зависит.
Подряд выполнявшиеся команды:
# echo 3 > /proc/sys/vm/drop_caches
# du -b /var/cache/apt/*cache.bin
64574180 /var/cache/apt/pkgcache.bin
64383740 /var/cache/apt/srcpkgcache.bin
# echo 3 > /proc/sys/vm/drop_caches
# LC_ALL=C apt-get install twm -s -o APT::Cache-Limit=64574180
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
twm
0 upgraded, 1 newly installed, 0 removed and 30 not upgraded.
Inst twm (1:1.0.9-alt1 p8:1529329584/ALT Linux p8)
Conf twm (1:1.0.9-alt1 p8:1529329584/ALT Linux p8)
# echo 3 > /proc/sys/vm/drop_caches
# LC_ALL=C apt-get install twm -s -o APT::Cache-Limit=64574179
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
twm
0 upgraded, 1 newly installed, 0 removed and 30 not upgraded.
Inst twm (1:1.0.9-alt1 p8:1529329584/ALT Linux p8)
Conf twm (1:1.0.9-alt1 p8:1529329584/ALT Linux p8)
# echo 3 > /proc/sys/vm/drop_caches
# LC_ALL=C apt-get install twm -o APT::Cache-Limit=64574179
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
twm
0 upgraded, 1 newly installed, 0 removed and 30 not upgraded.
Need to get 0B/89.7kB of archives.
After unpacking 196kB of additional disk space will be used.
Committing changes...
Preparing... ########## [100%]
1: twm ########## [100%]
Running /usr/lib/rpm/posttrans-filetriggers
Done.
# du -b /var/cache/apt/*cache.bin
64574180 /var/cache/apt/pkgcache.bin
64383740 /var/cache/apt/srcpkgcache.bin
# LC_ALL=C apt-get remove twm -o APT::Cache-Limit=64574179
Reading Package Lists... Error!
E: Dynamic MMap ran out of room
E: Error occured while processing libgbm (CollectFileProvides)
E: Problem with MergeFileProvides /var/lib/rpm/Packages
E: The package lists or status file could not be parsed or opened.
# LC_ALL=C apt-get remove twm -o APT::Cache-Limit=64574180
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
twm
0 upgraded, 0 newly installed, 1 removed and 30 not upgraded.
Need to get 0B of archives.
After unpacking 196kB disk space will be freed.
Do you want to continue? [Y/n]
Committing changes...
Preparing... ########## [100%]
Running /usr/lib/rpm/posttrans-filetriggers
Done.
# LC_ALL=C apt-get install twm -o APT::Cache-Limit=64574179
Reading Package Lists... Error!
E: Dynamic MMap ran out of room
E: Error occured while processing libgbm (CollectFileProvides)
E: Problem with MergeFileProvides /var/lib/rpm/Packages
E: The package lists or status file could not be parsed or opened.
# du -b /var/cache/apt/*cache.bin
64574180 /var/cache/apt/pkgcache.bin
64383740 /var/cache/apt/srcpkgcache.bin
# LC_ALL=C apt-get install twm -o APT::Cache-Limit=64574180
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
twm
0 upgraded, 1 newly installed, 0 removed and 30 not upgraded.
Need to get 0B/89.7kB of archives.
After unpacking 196kB of additional disk space will be used.
Committing changes...
Preparing... ########## [100%]
1: twm ########## [100%]
Running /usr/lib/rpm/posttrans-filetriggers
Done.
# LC_ALL=C apt-get remove twm -o APT::Cache-Limit=64574179
Reading Package Lists... Error!
E: Dynamic MMap ran out of room
E: Error occured while processing libgbm (CollectFileProvides)
E: Problem with MergeFileProvides /var/lib/rpm/Packages
E: The package lists or status file could not be parsed or opened.
# LC_ALL=C apt-get remove twm -o APT::Cache-Limit=64574180
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
twm
0 upgraded, 0 newly installed, 1 removed and 30 not upgraded.
Need to get 0B of archives.
After unpacking 196kB disk space will be freed.
Do you want to continue? [Y/n]
Committing changes...
Preparing... ########## [100%]
Running /usr/lib/rpm/posttrans-filetriggers
Done.