Pacman cache size reported incorrectly

I just installed EndeavourOS. I was going through the After Install tasks in the Welcome app.
The “pacman cache” Gui reports that I have “729M GB” in use. Huh? The HD only has 50GB. I’m guessing “M GB” isn’t mega-giga-bytes, but rather a display bug.

Perhaps it should have reported it as 729 MB?
du -h /var/cache/pacman gives 695 M

1 Like

Welcome! :smile:

Thanks for the report!
Yeah, it must be a display bug. I’ll check it as soon as possible.

1 Like

Here it displays it OK, so maybe it is a locale issue.
Could you show the output of command

LANG=C /usr/bin/du --si -s /var/cache/pacman/pkg | awk '{print $1}' | sed 's|G$||'


–si like -h, but use powers of 1000 not 1024

du --si /var/cache/pacman/pkg
4.1G	/var/cache/pacman/pkg

du -h /var/cache/pacman/pkg
3.8G	/var/cache/pacman/pkg

Now I see the problem… likely.
Looks like a silly omission in the code. :man_facepalming:
Will fix it tomorrow.


Sorry for any confusion by mentioning du. I was referring to the Welcome app.
Welcome->AfterInstall->“Package cleanup configuration”

No worries mate!
The problem is clear and fix is coming tomorrow as I’m already off from my EndeavourOS box.

1 Like

Fixed. New package eos-bash-shared 1.10.15-1 is coming to mirrors soon.

And thanks again for the report! :+1:


Seems to work for me. :slight_smile:

1 Like