You are not logged in.

#1 2023-12-15 22:19:49

dext
Member
From: Poland, Kraków
Registered: 2008-02-01
Posts: 98

[solved] Package broken after out of space

pacman -Syu failed while installing linux-firmware package, because FS run out of space. Transaction was aborted.

I freed some space, pacman -Syu worked well. I removed linux-firmware (pacman -Rs linux-firmware), it worked without any issues.

Now I can't install it back:

pacman -Sy linux-firmware
[...] # lots of those:
linux-firmware: /usr/lib/firmware/vpu_d.bin.zst exists in filesystem
linux-firmware: /usr/lib/firmware/vpu_p.bin.zst exists in filesystem
linux-firmware: /usr/lib/firmware/vxge/X3fw-pxe.ncf.zst exists in filesystem
Errors occurred, no packages were upgraded.

What can I do now? --overwrite "/usr/lib/firmware/*", or remove the listed files in conflict with a script?

Last edited by dext (2023-12-16 19:10:28)

Offline

#2 2023-12-15 23:13:50

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,587

Re: [solved] Package broken after out of space

https://wiki.archlinux.org/title/Pacman … )%22_error

Don't use -Sy, either -S or -Syu when installing a package.

Offline

#3 2023-12-16 09:51:33

dext
Member
From: Poland, Kraków
Registered: 2008-02-01
Posts: 98

Re: [solved] Package broken after out of space

Scimmia wrote:

https://wiki.archlinux.org/title/Pacman … )%22_error

Don't use -Sy, either -S or -Syu when installing a package.

You're right, my mistake, but I did it within 5 minutes from full Syu, so this is not the reason.

Offline

#4 2023-12-16 10:12:08

Awebb
Member
Registered: 2010-05-06
Posts: 6,297

Re: [solved] Package broken after out of space

This is what --overwrite is for, yes.

Offline

#5 2023-12-16 10:17:39

dext
Member
From: Poland, Kraków
Registered: 2008-02-01
Posts: 98

Re: [solved] Package broken after out of space

solved:

pacman -Syu linux-firmware --overwrite "/usr/lib/firmware/*"

Thanks for the confirmation, I'm always afraid in this situations that I'll blow up my system.

Offline

#6 2023-12-16 13:20:20

seth
Member
Registered: 2012-09-03
Posts: 51,498

Re: [solved] Package broken after out of space

Overall integrity check:

sudo LC_ALL=C pacman -Qkk | grep -v ', 0 altered files'

And please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB