PKG_CACHEDIR: 1.4G tmpfs for /tmp is too small for an (OctoPkg) upgrade of 130R-20210508
grahamperrin opened this issue · 1 comments
grahamperrin commented
Steps
- NomadBSD first run
- reboot
- attempt to upgrade packages
Expected
- sufficient capacity in
PKG_CACHEDIR
for an upgrade of NomadBSD-provided packages
Actual result
- during a fetch of 595 files, capacity reached around 98%
- during attempts to install, capacity reaches 99% (repeated use of
df -h
in a terminal), then presumably 100%; killings occur.
grahamperrin commented
Possible workarounds
A
Instead of pkg upgrade
:
- upgrade a package, or set of packages, then
pkg clean -a
- again, upgrade a package, or set of packages, then
pkg clean -a
- again … repeat until it becomes possible to run
pkg upgrade
without a killing.
Workaround test result (work in progress):
pkg upgrade firefox
and encounter a Python-related conflict, make a notepkg upgrade firefox
pkg clean -a
pkg upgrade libreoffice
- … test interrupted by a UFS-related kernel panic, IIRC this coincided with installation of the final package (for LibreOffice itself).
B
A certain workaround:
- set
PKG_CACHEDIR
to somewhere with greater capacity than/tmp/pkg
– maybe/data/var/tmp/pkg
– for as long as is necessary - remember to
pkg clean
orpkg clean -a
.