Hi Ralph
Things with computers are not going right at the moment but we will
stick with this problem.
Thanks for the info on flatpaks and that's what I'm facing at the moment
I think BUT---.
I tried your commands and it did not seen to do anything so I reverted
to GUI; opened /var/tmp as root deleted all the files. Came out,
rebooted and checked contents of /var/tmp = 5. Success - no!
Rebooted and checked the update manager that showed nothing to update,
closed and looked at /var/tmp still only the 5 systemd-private folders
remaining.
However the warning that filesystem is nearly full remains! Deleting
those files does not seem to made any difference to that warning.
Checked the 'examine' box to see what that shows; a graphical ring chart
of root using 13.2GB, var has been reduced to 5.7GB; so flatpak entries
have gone.
After aother reboot checked Gparted and that still shows sda1 (root
partition) still almost full:-
sda1 = 26.22GiB, used = 24.13GiB. free = 2.09Gib.
Looking around can't find anything that taking a large space, and 13GB
for root seems OK.
Now completely confused, something must be using the space in sda1 but what?
Is there a command to show files in root and there sizes? I tried 'ls'
but that lists only my home folder.
Tried sudo cd/ no command, not found!
'usr' seems to be large at 5.1GB last date modified 13 Dec2019 well
before this problem started so unlikely to be the problem?
Sorry this is taking time and I'm at a loss as it's the 'main' computer
we both rely on, although I use the laptop the most.
C A Wills
On 30/01/2021 07:18, Ralph Corderoy wrote:
Hi Clive,
The tmp folder has 11.3GB of data
...
and all Flatpack....... folders.
Flatpak has a bug. Well, one so severe I'd argue it's not fit for
purpose. It gradually fills /var/tmp. Probably a bit more on every
boot so if it's a machine which gets booted a lot then it will fill up
more quickly.
As I understand it, a /run/user symlink points the current
/var/tmp/flatpak-cache-* directory but /run is lost, by design, when the
machine stops so when it starts up again a new cache directory is
created and the symlink remade.
The problem with deleting all of those /var/tmp/flatpak-cache-*
directories is that a few of them may be in use at the time. I don't
have a good suggestion for determining which ones because I don't have
access to a system with Flatpak in use so the best thing I can suggest
is to quit most programs, e.g. LibreOffice and Firefox, then delete the
Flatpak caches, and then reboot so if anything was upset by the deletion
it won't have had long to stay confused.
This will do the delete.
cd /var/tmp &&
sudo find -maxdepth 1 -name 'flatpak-cache-*' -exec rm -rf {} +
--
Next meeting: Online, Jitsi, Tuesday, 2021-02-02 20:00
Check to whom you are replying
Meetings, mailing list, IRC, ... http://dorset.lug.org.uk
New thread, don't hijack: mailto:dorset@mailman.lug.org.uk