Corrupt package is preventing me from updating system

So my internet has been flaking out on me lately (I mention this because I think that is what caused my current problem).

I started up EOS and was doing: yay -Syu and got an error about an invalid signature (which popped up while my system was taking a bit too long to download updates). I re-ran the command and answered ‘Y’ to delete the package but the update still failed. Here is a copy/paste from the start and the steps I took to try and fix it but it’s still busted. :frowning:

https://pastebin.com/8GzGQAqt

Looks like you need to run reflector to rank and organize the mirrors.
Also you need to locally sign EndeavourOS gpg key. I guess you have not installed EndeavourOS but are converting from another system.

reflector -a4 -phttps -c <your-country> -f 10 --save /etc/pacman.d/mirrorlist
pacman-key --lsign-key EndeavourOS
pacman -Syyu

Hope I got syntax right. See reflector -h and man pacman-key for more info.

Nope, this was a fresh install of EOS using the August ISO. I’ll give the reflector thing a try here in a bit, thanks!

Strange that the EOS key was not trusted… but that may be because of the commands you used.

Carried out the reflector command and no change. Same problem.

Please show the output…

When I ran the reflector command it didn’t give me anything back. Just sat there for a second then back to terminal.

It saved new mirrorlist in /etc/pacman.d

Didn’t do the other commands?

################# Arch Linux mirrorlist generated by Reflector #################
################################################################################

# With:       reflector -a4 -phttps -c 'United States' -f 10 --save /etc/pacman.d/mirrorlist
# When:       2019-08-22 00:21:44 UTC
# From:       https://www.archlinux.org/mirrors/status/json/
# Retrieved:  2019-08-22 00:18:03 UTC
# Last Check: 2019-08-22 00:10:23 UTC

Server = https://iad.mirrors.misaka.one/archlinux/$repo/os/$arch
Server = https://mirror.kaminski.io/archlinux/$repo/os/$arch
Server = https://arch.mirror.square-r00t.net/$repo/os/$arch
Server = https://mirrors.kernel.org/archlinux/$repo/os/$arch
Server = https://mirror.stephen304.com/archlinux/$repo/os/$arch
Server = https://arch.mirror.constant.com/$repo/os/$arch
Server = https://mirror.mia11.us.leaseweb.net/archlinux/$repo/os/$arch
Server = https://mirror.dal10.us.leaseweb.net/archlinux/$repo/os/$arch
Server = https://arlm.tyzoid.com/$repo/os/$arch
Server = https://reflector.luehm.com/arch/$repo/os/$arch

Freak-an-A am I stupid. No, I did not.

But now I did and I think that fixed it. So the big question, what caused it to fail originally? My crappy internet going out for a split second at a critical juncture?

I guess it is the mirror issue.
After install the mirrorlist is not optimal, so reflector helps a lot.

And if the issue comes again, use reflector again to re-rank mirrors.

Ok, thanks for helping us newbies stay away from Windows and enjoy our time with Linux!!!

1 Like

You’re welcome! Glad to help.

1 Like