Can't upgrade from console
-
I tried to upgrade from the console and it it is failing due to insufficient space -- I haven't added anything significant to my installation --- how can I free up space?
-
-
Freeing up disk space entirely depends on what is consuming the disk space. Most likely it's from an add-on package, so knowing what packages you have installed would help narrow it down. For example there are some packages that write tons of log data without limiting themselves when configured in certain ways.
You'll want to use a shell prompt (8) and look at
du -h -d 1 / | sort -h
to start to see where the space is consumed.For example if you see a ton of space in
/var
then look inside/var
with:du -h -d 1 /var | sort -h
and then so on and so forth. There are some other posts around on the forum walking through the whole process.Or the easiest thing to do would be to take a backup, wipe and reload clean, then restore the backup.
-
-
-
@jimp
I appreciate the feedback but I had already done those kinds of searches with 'du' etc.There were some logs but not a lot and on this particular machine, there are no extra packages installed. I have quite a few on my other 3100s (pfBlockerNG, Snort, OpenVPN Client Import) and had no problems with upgrading directly.
The good news is that it seems to be much easier to install a new version from a flashdrive these days -- it used to be a really painful process. Now I can just create a USB stick with an image (balenaEtcher), boot the device and do 'run recovery' and then restore from a backup configuration file.