Manjaro update failing

Hello,
could anyone help with #pacman -Syu
It keeps failing at some point.

(150/320) upgrading kirigami2 [######################] 100%
(151/320) upgrading plasma-framework [######################] 100%
(152/320) installing ttf-comfortaa [######################] 100%
(153/320) upgrading less [######################] 100%
(154/320) upgrading calamares [######################] 100%
(155/320) upgrading fmt [######################] 100%
(156/320) upgrading xmlsec [######################] 100%
(157/320) upgrading ceph-libs [######################] 100%
(158/320) upgrading chromaprint [######################] 100%
(159/320) upgrading tevent [######################] 100%
(160/320) upgrading ldb [######################] 100%
(161/320) upgrading smbclient [######################] 100%
(162/320) upgrading cifs-utils [######################] 100%
(163/320) upgrading gcc [######################] 100%
error: could not extract /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/cc1plus (Write failed)
error: could not extract /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/collect2 (Write failed)
error: could not extract /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/crtbegin.o (Write failed)
error: could not extract /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/crtbeginS.o (Write failed)
error: could not extract /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/crtbeginT.o (Write failed)
error: could not extract /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/crtend.o (Write failed)
error: could not extract /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/crtendS.o (Write failed)
error: could not extract /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/crtfastmath.o (Write failed)
error: could not extract /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/crtprec32.o (Write failed)
error: could not extract /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/crtprec64.o (Write failed)
error: could not extract /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/crtprec80.o (Write failed)
error: could not extract /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include-fixed/README (Write failed)
error: could not extract /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include-fixed/limits.h (Write failed)




error: problem occurred while upgrading gcc
error: could not commit transaction
error: failed to commit transaction (transaction aborted)
Errors occurred, no packages were upgraded.

Hi @iTom79, and welcome!

This indicates that it could not write in the directory, which in turn would be a permissions problem. Indeed, if you executed

pacman -Syu

…without sudo this would be the case. Try:

sudo pacman -Syu

…instead. Or as I always recommendd, use pamac instead of pacman:

pamac upgrade --enable-downgrade --aur --devel

Hope it helps!


Tip:

When posting terminal output, copy the output and paste it here, wrapped in three (3) backticks, before AND after the pasted text. Like this:

```
pasted text
```

This will just cause it to be rendered like this:

Sed
sollicitudin dolor
eget nisl elit id
condimentum
arcu erat varius
cursus sem quis eros.

Instead of like this:

Sed sollicitudin dolor eget nisl elit id condimentum arcu erat varius cursus sem quis eros.

Alternatively, paste the text you wish to format as terminal output, select all pasted text, and click the </> button on the taskbar. This will indent the whole pasted section with one TAB, causing it to render the same way as described above.

Thereby increasing legibility thus making it easier for those trying to provide assistance.

Please edit your post accordingly.

Might be a full disk

1 Like

A post was split to a new topic: Ceph-libs build problem