Pamac eats up my disk space while updating packages from the AUR

Hi,
my system used to run fine until same days ago, when I noticed that Pamac (V. 10.4.0-1) needs more disk space. For “/” I use an extra partition, which now has 35 gigs of space. Which should be fine, usually my packages don’t need more than 15 or 20 GB.

However when trying to update packages from the AUR, I get error messages and afterwards more disk space is used. Up to the point where there is nothing left. This happens way faster than I would expect from any regular successful update.

Questions:
-Why does this happen?
-How can I fix it?
-How can I free that space on my /-partition? sudo pacman -Scc was runs fine but does not free disk space.
-What further information can I provide?

Thanks!

What error messages?

Please see [HowTo] Make support easier

I’d say regular error messages, when an AUR package fails to update. I would like to post one of these, but due to missing disk space I do not get to that point anymore.

Now I only get messages telling me the partition is full, such as (sorry, mostly German):

Failed to synchronize AUR database

and

[dropbox]                         Generating desktop file... ok
mkdir: das Verzeichnis „/var/tmp/pamac-build-rod/dropbox/pkg“ kann nicht angelegt werden: Auf dem Gerät ist kein Speicherplatz mehr verfügbar

==> FEHLER: An unknown error has occurred. Exiting...
Fehler beim Erstellen von dropbox

https://aur.manjaro.org/packages-meta-ext-v1.json.gz: Fehler beim Schreiben in Datei: Auf dem Gerät ist kein Speicherplatz mehr verfügbar

Please post logs in English:

AUR packages need to be built before being installed, contributing to consume disk space.


Pacman does not build AUR packages, so it can’t clean AUR build directories. Prefer asking Pamac instead to clear its own build cache:

pamac clean --build-files
1 Like

Great, thanks, I didn’t know that one.

Failed to synchronize AUR database

and

[dropbox]                         Generating desktop file... ok
mkdir: cannot create directory '/var/tmp/pamac-build-rod/dropbox/pkg': No space left on device

==> ERROR: An unknown error has occurred. Exiting...
Failed to build dropbox

https://aur.manjaro.org/packages-meta-ext-v1.json.gz: Error writing to file: No space left on device

Disk space is cleared, updates work again. Thanks guys!

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.