You are not logged in.
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
Post the actual error, verbatim.
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
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
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
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
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
Please remember to mark your thread as solved by editing the first post and prepending [Solved] to the title.
Offline
Thanks for the reminder.
Endut! Hoch Hech!
Offline