You are not logged in.
I got the following message when trying to upgrade (something I do every week):
error: Partition / too full: 190109 blocks needed, 182904 blocks free
error: failed to commit transaction (not enough free disk space)
I have two installations on the computer with the partitions (as indicated by gparted) below.
The installation which is not upgrading is at /dev/sda1.
The installation at /dev/sda2 upgraded fine.
Partition File Mount Size Used Unused Flags
System point
/dev/sda1 extended 156.80 GiB
/dev/sda5 ext4 /boot 300.00 MiB 80.34 MiB 219.66 MiB boot
/dev/sda6 ext4 / 12.25 GiB 10.92 GiB 1.33 GiB
/dev/sda7 ext4 /home 140.25 GiB 7.71 GiB 135.55 GiB
/dev/sda8 linux-swap 4.00 Gib 0.00 B 4.00 GiB
/dev/sda2 ext4 141.29 Gib 11.72 GiB 1 29.59 GiB
I regularly do the following cleanup after an upgrade.
sudo journalctl --vacuum-time=30d
sudo paccache -rk2
Can anybody suggest what I can do next to remedy this problem?
Ross
Offline
Make a larger partition. Why have you limited the root partition to 13GB? In particular on a 320GB HDD?
You may also remove not installed package files using paccache -ruk0. But with such a tiny partition this is like mending a dam, where water is simply flowing over it. ![]()
Last edited by mpan (2021-05-07 18:05:45)
Offline
I like the simile! As to why the root partition is the size it is goes back 6 or 7 years when I set up the partitions. I am guessing that at that time, I figured the sizes I chose would be fine. And they were, up until today. How would you suggest I make a larger partition. I haven't partitioned a drive for ages and I seem to remember doing so was fraught with difficulties.
Edit: Oops, sorry. It looks as though I should use Gparted. I am busy re-reading this but if you or anyone else has suggestions or warnings, please let me know.
Last edited by WeeDram (2021-05-07 19:08:46)
Offline
Consider to add permamently use pacman hooks to reduce pacman cache. Theese are mine, slightly modified hoooks:
pacman-install.hook
[Trigger]
Operation = Upgrade
Type = Package
Target = *
[Action]
Description = Cleaning upgraded packages...
When = PostTransaction
Depends = pacman-contrib
Exec = /usr/bin/paccache -qrk2pacman-remove.hook
[Trigger]
Operation = Remove
Type = Package
Target = *
[Action]
Description = Cleaning removed packages...
When = PostTransaction
Depends = pacman-contrib
Exec = /usr/bin/paccache -qruk0Consider to tune journald settings:
https://wiki.archlinux.org/title/System … size_limit .
If you are the only non root system user, it would be justified turn off journald split, for example + other options;
cat /etc/systemd/journald.conf.d/custom.conf
[Journal]
Storage=persistent
SplitMode=none
MaxLevelStore=info
SystemMaxUse=256MRemeber you can limit journal on several ways, time, size, etc. See to wiki.
Offline
How would you suggest I make a larger partition.
I suggest just making a backup copy of the partition, repartition to make bigger partition and copy the backup back to the bigger partition.
There are many ways to do this. I have done this with rsync successfully many times.
And ALWAYS have a backup of your most important files if you're doing these kinds of operation.
Offline