Not enough free disk space

No quite good update, strange that update want /boot partition. Im not a super geek and installed OS on default setup not changing the size ect of partitions only make /home on different hdd.

Total Installed Size: 2927.62 MiB
Net Upgrade Size: 72.18 MiB
:: Proceed with installation? [Y/n] y
(233/233) checking keys in keyring [#####################################################] 100%
(233/233) checking package integrity [#####################################################] 100%
(233/233) loading package files [#####################################################] 100%
(233/233) checking for file conflicts [#####################################################] 100%
(234/234) checking available disk space [#####################################################] 100%
error: Partition /boot too full: 4753 blocks needed, 0 blocks free
error: not enough free disk space
error: failed to commit transaction (not enough free disk space)
Errors occurred, no packages were upgraded.

Hello,

This should be the clue for the failure:

So, please clean the cache with Pamac and do the update again.

Example:
image

Or find another way to clean or make more room on your root partition.

1 Like

can you provide

df -Th

What’s so strange about it? Check with pacman -Qo /boot and you will find a bunch of packages writing to that directory. GRUB themes, microcodes, kernel version file, all write to that directory.

before posting this i have already done this and nothing changed

can you provide

df -Th

I know /boot is full but don’t understand why because that partition is the last place where i could think of making any change so its left only to OS updating. If i try updating some generic stuff like firefox its fine. I will try to remove 5.7 kernel and left only 5.8.

so no help in this case

df: /run/user/1000/doc: Operacja niedozwolona
System plików Typ rozm. użyte dost. %uż. zamont. na
dev devtmpfs 7,8G 0 7,8G 0% /dev
run tmpfs 7,8G 1,7M 7,8G 1% /run
/dev/sda1 ext4 219G 20G 189G 10% /
tmpfs tmpfs 7,8G 84M 7,7G 2% /dev/shm
tmpfs tmpfs 4,0M 0 4,0M 0% /sys/fs/cgroup
tmpfs tmpfs 7,8G 47M 7,8G 1% /tmp
/dev/sda2 ext4 93M 58M 28M 68% /boot
/dev/sdb1 ext4 907G 481G 381G 56% /home
/dev/loop2 squashfs 65M 65M 0 100% /var/lib/snapd/snap/caprine/39
/dev/loop0 squashfs 162M 162M 0 100% /var/lib/snapd/snap/gnome-3-28-1804/128
/dev/loop5 squashfs 211M 211M 0 100% /var/lib/snapd/snap/openra/1276
/dev/loop1 squashfs 192M 192M 0 100% /var/lib/snapd/snap/gzdoom/45
/dev/loop3 squashfs 56M 56M 0 100% /var/lib/snapd/snap/core18/1885
/dev/loop4 squashfs 58M 58M 0 100% /var/lib/snapd/snap/discord/112
/dev/loop6 squashfs 55M 55M 0 100% /var/lib/snapd/snap/core18/1880
/dev/loop7 squashfs 164M 164M 0 100% /var/lib/snapd/snap/spotify/41
/dev/loop8 squashfs 161M 161M 0 100% /var/lib/snapd/snap/gnome-3-28-1804/116
/dev/loop9 squashfs 211M 211M 0 100% /var/lib/snapd/snap/openra/1290
/dev/loop10 squashfs 58M 58M 0 100% /var/lib/snapd/snap/discord/115
/dev/loop11 squashfs 170M 170M 0 100% /var/lib/snapd/snap/spotify/42
/dev/loop12 squashfs 193M 193M 0 100% /var/lib/snapd/snap/gzdoom/46
/dev/loop14 squashfs 282M 282M 0 100% /var/lib/snapd/snap/retroarch/423
/dev/loop13 squashfs 65M 65M 0 100% /var/lib/snapd/snap/caprine/40
/dev/loop15 squashfs 30M 30M 0 100% /var/lib/snapd/snap/snapd/8790
/dev/loop16 squashfs 63M 63M 0 100% /var/lib/snapd/snap/gtk-common-themes/1506
/dev/loop17 squashfs 31M 31M 0 100% /var/lib/snapd/snap/snapd/9279
/dev/loop18 squashfs 279M 279M 0 100% /var/lib/snapd/snap/retroarch/418
tmpfs tmpfs 1,6G 96K 1,6G 1% /run/user/1000

Removing “old” 5.7 kernel helps. Also 100mb for /boot partition its a OS instalation default size so do not jugde me.

in /boot you can add more kernels versions
for each version kernel , it’s increased in size , with grub & other

can you give

du -h /boot

148K /boot/memtest86+
2,8M /boot/grub/themes/starfield
2,8M /boot/grub/themes
2,3M /boot/grub/fonts
2,0M /boot/grub/i386-pc
7,1M /boot/grub
du: nie można przeczytać katalogu ‘/boot/lost+found’: Brak dostępu
12K /boot/lost+found
57M /boot

nie można przeczytać katalogu - cannot read file
Brak dostępu - no access

then

sudo mhwd-kernel -li

Currently running: 5.8.6-1-MANJARO (linux58)
The following kernels are installed in your system:

  • linux58

finish update

sudo pacman -Syyu

then reboot

Done! :slight_smile:

From time to time I get this error too. In such cases, after clearing the pacman cache, I usually update the packages with yay instead of pamac.