You are not logged in.

#1 2020-06-07 01:07:06

cb9
Member
Registered: 2013-01-22
Posts: 27

[Solved] Unable to update with pacman -Syyu

Hi,

I am trying to update my system from last 2 days. But I get following error

: Proceed with installation? [Y/n] y
(294/294) checking keys in keyring                                                                    [############################################################] 100%
(294/294) checking package integrity                                                                  [############################################################] 100%
error: xorg-fonts-encodings: signature from "Evangelos Foutras <evangelos@foutrelis.com>" is invalid
:: File /var/cache/pacman/pkg/xorg-fonts-encodings-1.0.5-2-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] ^C
Interrupt signal received

so far I have done following

1) Updated mirrorlist.

2)

sudo mv /etc/pacman.d/gnupg /etc/pacman.d/gnupg-original

3)

sudo pacman-key --init

4)

sudo pacman-key --populate archlinux

5)

sudo pacman-key --refresh-key

But I am still getting error when I issue

 pacman -Syyu

Please help

Last edited by cb9 (2020-06-07 22:29:46)

Offline

#2 2020-06-07 01:11:19

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,518
Website

Re: [Solved] Unable to update with pacman -Syyu

Your first step should have been what pacman prompted you to do: delete the corrupted download.

If that isn't sufficient, check your system time as advised in the troubleshooting section for this error in the wiki.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2020-06-07 05:05:14

TheNullPlayer
Member
From: Canada
Registered: 2020-06-05
Posts: 4
Website

Re: [Solved] Unable to update with pacman -Syyu

Pacman seems to be locked by the looks of it.

Does "/var/lib/pacman/db.lck" exist?
If it does then try deleting the lock file with pacman closed.

Edit: Is that the same error you always get?

Edit: If that doesn't work try a quick 'pacman -Scc' to clean out your cache

Last edited by TheNullPlayer (2020-06-07 05:12:05)

Offline

#4 2020-06-07 05:12:58

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [Solved] Unable to update with pacman -Syyu

Nothing in indicates the database is locked.

Offline

#5 2020-06-07 22:29:02

cb9
Member
Registered: 2013-01-22
Posts: 27

Re: [Solved] Unable to update with pacman -Syyu

Deleted corrupted files and downloaded again. Thank you.

Offline

Board footer

Powered by FluxBB