Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PKG_CACHEDIR: 1.4G tmpfs for /tmp is too small for an (OctoPkg) upgrade of 130R-20210508 #118

Open
grahamperrin opened this issue Sep 21, 2022 · 1 comment

Comments

@grahamperrin
Copy link
Contributor

Steps

  1. NomadBSD first run
  2. reboot
  3. attempt to upgrade packages

Expected

  1. sufficient capacity in PKG_CACHEDIR for an upgrade of NomadBSD-provided packages

Actual result

  1. during a fetch of 595 files, capacity reached around 98%
  2. during attempts to install, capacity reaches 99% (repeated use of df -h in a terminal), then presumably 100%; killings occur.
@grahamperrin
Copy link
Contributor Author

grahamperrin commented Sep 21, 2022

Possible workarounds

A

Instead of pkg upgrade:

  1. upgrade a package, or set of packages, then pkg clean -a
  2. again, upgrade a package, or set of packages, then pkg clean -a
  3. again … repeat until it becomes possible to run pkg upgrade without a killing.

Workaround test result (work in progress):

  1. pkg upgrade firefox and encounter a Python-related conflict, make a note
  2. pkg upgrade firefox
  3. pkg clean -a
  4. pkg upgrade libreoffice
  5. … test interrupted by a UFS-related kernel panic, IIRC this coincided with installation of the final package (for LibreOffice itself).

B

A certain workaround:

  1. set PKG_CACHEDIR to somewhere with greater capacity than /tmp/pkg – maybe /data/var/tmp/pkg – for as long as is necessary
  2. remember to pkg clean or pkg clean -a.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant