You are not logged in.
Pages: 1
Topic closed
Every time I try to run pacman for an update I end up getting this error:
error: could not open file /var/lib/pacman/local/kdelibs-4.14.25-1/desc: No such file or directory
resolving dependencies...
looking for conflicting packages...
warning: could not fully load metadata for package kdelibs-4.14.25-1
error: failed to prepare transaction (invalid or corrupted package)
I have tried to clear the cache with
pacman -Scc I have also cleared the .part files from /var/cache/pacman/pkg/ (there weren't any in there when I checked)
The file /var/lib/pacman/local/kdelibs-4.14.25-1/desc is not there.
Not sure how else to approach the issue. I have previously tried to remove and reinstall the kdelibs package to no avail.
Last edited by anonworldusr (2016-11-12 21:30:08)
2<x<1
Offline
Remove the /var/lib/pacman/local/kdelibs-4.14.25-1 directory, then reinstall that version of kdelibs with the --dbonly flag. You'll need to obtain that version of kdelibs from the ALA, since you've purged your cache for some reason.
After the db has been recreated, do a full system update.
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
Thanks for the help. I cleared the cache because it solved a problem for a user with a very similar issue.
I have done what you suggested and it seems to have worked.
Thanks again, marking as solved.
2<x<1
Offline
Remove the /var/lib/pacman/local/kdelibs-4.14.25-1 directory, then reinstall that version of kdelibs with the --dbonly flag. You'll need to obtain that version of kdelibs from the ALA, since you've purged your cache for some reason.
After the db has been recreated, do a full system update.
Thank you. It solved my problem. ?
Technical Blog:Journal | BanditHijo.Dev
Offline
bandithijo: Watch the age of threads to which you post. This is almost 4 years old.
Using this opportunity to close this old thread.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Pages: 1
Topic closed