You are not logged in.
When trying to update one of my systems, which has been recently installed, I get this:
:: Synchronizing package databases...
core 137.7 KiB 599K/s 00:00 [########################] 100%
extra 1923.6 KiB 1329K/s 00:01 [########################] 100%
community 3.9 MiB 1336K/s 00:03 [########################] 100%
multilib 186.3 KiB 1330K/s 00:00 [########################] 100%
:: Starting full system upgrade...
error: could not open file /var/lib/pacman/local/kio-5.23.0-1/desc: No such file or directory
resolving dependencies...
looking for conflicting packages...
warning: could not fully load metadata for package kio-5.23.0-1
error: failed to prepare transaction (invalid or corrupted package)
I cannot install or upgrade anything, and trying to --force does not do anything. Pacman database has been cleaned with -Scc, mirrors refreshed with -Syy and generally I tried all the usual advices (I think!). What to try next?
Thanks in advance.
Last edited by OdinEidolon (2016-07-30 13:48:53)
Hardware: 2016 Dell XPS15 - matte FullHD - i5-6300HQ - 32GB DDR4 - Nvidia GTX960M - Samsung 840EVO 250GB SSD - 56Wh
Software: Plasma 5 - rEFInd - linux-ck - preload - prelink - verynice - psd - bumblebee
Offline
try --ignore kio to upgrade the system.
then try to fix the problem with kio.
ezik
Offline
Pacman database has been cleaned with -Scc
No it hasn't, this command cleaned the cache. It may have removed the cache file for this package in the process. If that's the case, redownload it from http://seblu.net/a/archive/packages/k/kio/, and try to fix the database with
# pacman -U --dbonly kio-5.23.0-1-x86_64.pkg.tar.xz
. If you still get errors when attempting this transaction, then try removing /var/lib/pacman/local/kio-5.23.0-1, then trying again.
Once kio's db entry has been fixed, run the full upgrade.
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 database has been cleaned with -Scc
No it hasn't, this command cleaned the cache. It may have removed the cache file for this package in the process. If that's the case, redownload it from http://seblu.net/a/archive/packages/k/kio/, and try to fix the database with
# pacman -U --dbonly kio-5.23.0-1-x86_64.pkg.tar.xz
. If you still get errors when attempting this transaction, then try removing /var/lib/pacman/local/kio-5.23.0-1, then trying again.
Once kio's db entry has been fixed, run the full upgrade.
Looks like this worked wonderfully, thanks. I had to remove /var/lib/pacman/local/kio-5.23.0-1.
Thanks.
Hardware: 2016 Dell XPS15 - matte FullHD - i5-6300HQ - 32GB DDR4 - Nvidia GTX960M - Samsung 840EVO 250GB SSD - 56Wh
Software: Plasma 5 - rEFInd - linux-ck - preload - prelink - verynice - psd - bumblebee
Offline