Pacman Won't Upgrade, Claims there aren't enough blocks when I have a lot of free space.
This is the error message I'm getting
Total Download Size: 520.34 MiB
Total Installed Size: 2028.46 MiB
Net Upgrade Size: -13.94 MiB
:: Proceed with installation? [Y/n] y
error: Partition / too full: 138395 blocks needed, 15294 blocks free
error: failed to commit transaction (not enough free disk space)
Errors occurred, no packages were upgraded.
I've looked into solutions since it might be that pacman isn't looking at the right directory or partition, but I'm still confused, and the commands I ran to change the mountpoint just gave me more errors. Here is the output of df showing that I have space.
Filesystem 1K-blocks Used Available Use% Mounted on
dev 4014880 0 4014880 0% /dev
run 4020732 916 4019816 1% /run
/dev/sda2 8191416 7694428 61176 100% /
tmpfs 4020732 38472 3982260 1% /dev/shm
tmpfs 4020732 0 4020732 0% /sys/fs/cgroup
tmpfs 4020732 8 4020724 1% /tmp
/dev/sda3 618222752 26734580 560014508 5% /home
tmpfs 804144 0 804144 0% /run/user/1000
Help would be greatly appreciated!
About this post
- Posted
- Archived
- Score
- 4 · 100% up
- Kind
- Text
- ID
- 96mede
17 comments
Your
/filesystem is full.do i need to expand that partition, i have a lot of free space available so that's not a problem
100% used. You literally have no free space.
Right now you can try to wipe pacman's cache. If you forgot to do this, there could be a lot of space there.
For resizing your partitions and moving them around on your drive, you can use a program named "GParted". It's a desktop program, so you need a Linux live media that has a desktop environment. You can't use the Arch installation media. You should do a backup before you work on this.
About where to get a Linux live media with a desktop environment, you could use the installation media of a distro named "Antergos". It's based on Arch and has the pacman and arch-chroot commands etc., which could be useful to have.
I don't think there's a terminal program that can do the things that GParted can do. The problem is you will need to move the beginning of the partition behind the /dev/sda2. The terminal program 'parted' tool can't do this, so that's why you can't use the Arch installation media for this work.