I did an upgrade but that failed and system failed to boot after the failure. This is on Ghost installed on a 16MB USB that had previously been running well.
I rebooted in order to run 'sudo pkg upgrade -fy' and this resulted in the following 'not enough space in /var/cache/pkg',,,,,,needed 1286 available 1010.
Is there a way to recover this situation......and what is the basic capacity recommendation for current Ghost? I really don't understand ZFS and how it handles 'partitioning' and space used and so on....
Upgrade resulted In Boot Failure
Re: Upgrade resulted In Boot Failure
I assume that 16MB is 16GB and that you are out of space.
I would recommend that you clean the package cache often with low storage space.
Code: Select all
sudo pkg clean
The following package files will be deleted:
/var/cache/pkg/linux-c7-libdrm-2.4.97-fbb9cbf559.txz
/var/cache/pkg/py37-importlib-metadata-0.23-2ecb836652.txz
/var/cache/pkg/openal-soft-1.20.1_1-4d413f6c3c.txz
/var/cache/pkg/tdb-1.4.3,1-e9fc37afd9.txz
...
/var/cache/pkg/libwacom-1.4.1-b98e631772.txz
/var/cache/pkg/linux-c7-xorg-libs-7.7_8-33bf5f8085.txz
/var/cache/pkg/libepoll-shim-0.0.20200602-c90fa2b8ed.txz
/var/cache/pkg/py37-gobject3-3.28.3_1.txz
/var/cache/pkg/gstreamer1-plugins-resindvd-1.16.2_1-1d652ed015.txz
The cleanup will free 5 GiB
Proceed with cleaning the cache? [y/N]:
sudo zfs list will give you how much space is used and in which dataset most usage is.
After you have upgrade I would recommend that you also run sudo pkg autoremove to clean dependency from packages that have been removed.
Re: Upgrade resulted In Boot Failure
Thanks for the heads-up that got me back in business.....took some time but!