You are not logged in.

#1 2017-12-27 10:19:58

AKL
Member
Registered: 2008-07-29
Posts: 69

[Solved] Corrupted package, no .part files

Hi,

I can't update linux-firmware due to the invalid/corrupted package error, but there are no .part files in /var/cache/pacman/pkg as suggested in the wiki. What else can I check?

Thanks!

Last edited by AKL (2017-12-31 09:22:19)


Endut! Hoch Hech!

Offline

#2 2017-12-27 10:46:45

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,787
Website

Re: [Solved] Corrupted package, no .part files

Post the actual error, verbatim.

https://bbs.archlinux.org/viewtopic.php?id=57855


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2017-12-27 16:38:04

AKL
Member
Registered: 2008-07-29
Posts: 69

Re: [Solved] Corrupted package, no .part files

pacman -Syu
:: Synchronizing package databases...
 core                     126.3 KiB  1578K/s 00:00 [######################] 100%
 extra                   1642.9 KiB  1358K/s 00:01 [######################] 100%
 community                  4.2 MiB  1344K/s 00:03 [######################] 100%
 multilib                 169.5 KiB  1500K/s 00:00 [######################] 100%
:: Starting full system upgrade...
error: could not open file /var/lib/pacman/local/linux-firmware-20171123.90436ce-1/desc: No such file or directory
resolving dependencies...
looking for conflicting packages...
warning: could not fully load metadata for package linux-firmware-20171123.90436ce-1
error: failed to prepare transaction (invalid or corrupted package)

Endut! Hoch Hech!

Offline

#4 2017-12-27 17:43:02

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: [Solved] Corrupted package, no .part files

That is a database error, your database of installed packages is somehow broken.

Remove the directory /var/lib/pacman/local/linux-firmware-20171123.90436ce-1/ and reinstall linux-firmware with `pacman -S --dbonly linux-firmware`.


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#5 2017-12-30 13:40:25

AKL
Member
Registered: 2008-07-29
Posts: 69

Re: [Solved] Corrupted package, no .part files

Thanks, deleting the directory did the trick. The --dbonly option however failed (shame on me for not saving the error output), but a regular 'Pacman -S linux-firmware' did the job. Thank you!


Endut! Hoch Hech!

Offline

#6 2017-12-31 01:54:10

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: [Solved] Corrupted package, no .part files

Hmm, --dbonly is supposed to reinstall only the metadata in a case where the files themselves exist (and pacman -S would fail due to conflicts unless you also used --force since all the package files exist without being linked to the package).

Still, without details about what happened it is difficult to tell why you didn't get the results I expected, so I suppose the important thing is that your installation is now fixed...

(Did you have no firmware files at all? That seems rather unhealthy.)


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#7 2017-12-31 03:41:23

circleface
Member
Registered: 2012-05-26
Posts: 639

Re: [Solved] Corrupted package, no .part files

Please remember to mark your thread as solved by editing the first post and prepending [Solved] to the title.

Offline

#8 2017-12-31 09:21:49

AKL
Member
Registered: 2008-07-29
Posts: 69

Re: [Solved] Corrupted package, no .part files

Thanks for the reminder.


Endut! Hoch Hech!

Offline

Board footer

Powered by FluxBB