Glibc-locales is corrupted (invalid or corrupted package (PGP signature)

Hi this problem is stopping me from updating

(NNN/NNN) checking keys in keyring       [------------------------------] 100%
(NNN/NNN) checking package integrity     [------------------------------] 100%
error: glibc-locales: signature from "Frederik Schwan <frederik.schwan@linux.com>" is invalid
:: File /var/cache/pacman/pkg/glibc-locales-2.39+r52+gf8e4623421-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] 

I don’t know what might be causing this… have tried deleting/redownloading the package. I tried removing the keys folder and ran a pacman keys init(?) command (as I read in the archlinux wiki). That command seemed to work but still I get the same error. So this is pretty weird for me. I normally update every 3-4 months without an issue, occasionally there is a “.pacnew” that I need to work into an existing file, but generally updates go well.

Thanks for reading and I look forward to having this demystified.

Take your ttime, tho it would be sweet to have a response soon.

you update how?

refresh mirror list

sudo pacman-mirrors -c Germany

sudo pacman -Syyu

what is the response?

glibc-locales are not needed, btw.
simply remove the package if this is the only thing that gives you trouble

sudo pacman -R glibc-locales

I have a relatively new default installation - and this package is not installed.

Your system will continue to function without it.

locales can be (and actually are) generated - no need for a package to install them all

2 Likes

This note from Stable Update 2023-10-09 might have some relevance:

Using this procedure again looks like it should manually overwrite while updating the glibc-locales package; maybe this will help; maybe not.

sudo pacman -Syu glibc-locales --overwrite /usr/lib/locale/\*/\*

Please also note that potential help is given by volunteers (mainly) who do not necessarily live in compatible locales; and may (or may not) have any useful responses to offer.

A little patience (and humility) is often appreciated.

Cheers.

1 Like

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.