You are not logged in.
hi everybody
After some crash updating the system on my board, the update finally succeed.
But some day later it fail with this error message :
pacman -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
multilib is up to date
kawa is up to date
:: Starting full system upgrade...
error: could not open file /var/lib/pacman/local/linux-6.0.10.arch2-1/desc: No such file or directory
warning: syncthing-gtk-python3: local (1:0.9.4.4-3) is newer than kawa (0.9.4.5-2)
resolving dependencies...
looking for conflicting packages...
warning: could not fully load metadata for package linux-6.0.10.arch2-1
error: failed to prepare transaction (invalid or corrupted package)
So i try this
pacman -S linux --overwrite '/' 1
resolving dependencies...
looking for conflicting packages...
error: could not open file /var/lib/pacman/local/linux-6.0.10.arch2-1/desc: No such file or directory
warning: could not fully load metadata for package linux-6.0.10.arch2-1
error: failed to prepare transaction (invalid or corrupted package)
hmm I am hoping that i will not be forced to reinstall my system....
Last edited by PowaBanga (2022-12-06 12:43:48)
Offline
This error is not the one you can fix with overwrite but the actual package metadata in your local database being corrupted. Remove /var/lib/pacman/local/linux-6.0.10.arch2-1/ and do a
pacman -Syu linux
Last edited by V1del (2022-12-06 10:42:09)
Offline
Is you storage device failing? Is the filesystem corrupted?
See: https://wiki.archlinux.org/title/Fsck and https://wiki.archlinux.org/title/S.M.A.R.T.
<49,17,III,I> Fama di loro il mondo esser non lassa;
<50,17,III,I> misericordia e giustizia li sdegna:
<51,17,III,I> non ragioniam di lor, ma guarda e passa.
Offline
I wouldn't delete that dir. Just touch the file in question and see if that solves it. If the 'files' file is also missing or corrupt, you may then need to use --overwrite.
Offline
ha! thank you v1del, this fix this issue !
d.ALT thank for your your advice, I will watch this with a clear head
Scimmia --overwrite option didn't work in this case, but thanks for your comment, i did it before that i saw your post
Last edited by PowaBanga (2022-12-06 12:42:31)
Offline