Upgrade resulted In Boot Failure

Need support for GhostBSD. Ask here if your question does not fit elsewhere.
Post Reply
plumtreed
Posts: 68
Joined: Sat Nov 03, 2018 7:14 am
Location: Australia

Upgrade resulted In Boot Failure

Post by plumtreed »

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....
User avatar
ericbsd
Developer
Posts: 2056
Joined: Mon Nov 19, 2012 7:54 pm

Re: Upgrade resulted In Boot Failure

Post by ericbsd »

plumtreed wrote: Tue Jul 21, 2020 9:10 pm I did an upgrade but that failed and the system failed to boot after the failure. This is on Ghost installed on a 16MB USB that had previously been running well.
I assume that 16MB is 16GB and that you are out of space.
plumtreed wrote: Tue Jul 21, 2020 9:10 pm 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.
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]: 
Just on my machine, I have 5 GiB of packages in the cache and I clean my cache at least every month.
plumtreed wrote: Tue Jul 21, 2020 9:10 pm Is there a way to recover this situation......and what is the basic capacity recommendation for the current Ghost? I really don't understand ZFS and how it handles 'partitioning' and space used and so on...
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.
plumtreed
Posts: 68
Joined: Sat Nov 03, 2018 7:14 am
Location: Australia

Re: Upgrade resulted In Boot Failure

Post by plumtreed »

Thanks for the heads-up that got me back in business.....took some time but!
Post Reply