You are not logged in.

#1 2013-03-22 05:40:20

linc186
Member
Registered: 2013-03-22
Posts: 33

Pacman signature error

Hello,

I was installing XFCE4, but my laptop died while pacman was downloading and installing the packages. Now, if I try to download any package that contains ant packages or dependencies from XFCE I get error: signature from <whoever> is invalid.

I've no clue what to do. I've googled this and have only seen solutions to problems where the pacman-key hasn't been initialized, but that's not the problem I'm having.

Any help is appreciated,
Thank you.

Offline

#2 2013-03-22 06:39:27

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,412

Re: Pacman signature error

See the pacman-key man page.  It has all the answers you are looking for.

If package signature verification is not important to you, you can always just disable it in pacman.conf.  But that isn't necessarily a great idea.

Offline

#3 2013-03-22 07:05:41

the sad clown
Member
From: 192.168.0.X
Registered: 2011-03-20
Posts: 833

Re: Pacman signature error

It might also indicate a corruption in the packages if they did not download correclty.  Try clearing out pacman's cache and downloading again:

pacman -Scc

I laugh, yet the joke is on me

Offline

#4 2013-03-22 10:28:48

sevensage
Member
Registered: 2012-12-10
Posts: 11

Re: Pacman signature error

linc186 wrote:

Hello,

I was installing XFCE4, but my laptop died while pacman was downloading and installing the packages.

Any help is appreciated,
Thank you.

guess you won't be upgrading on battery ever again, give this a try:

sudo systemctl disable pacman-init.service

Then reboot, then

sudo pacman-key --init
sudo pacman-key --populate archlinux

dig +short txt archlinux.wp.dg.cx

Offline

#5 2013-03-22 13:43:02

lesto
Member
Registered: 2010-07-13
Posts: 107

Re: Pacman signature error

probably just a bad downloaded package in cache.

pacman -Scc

work, but will also delete all packages history, so you will have to re-download the non-installed-but-downloaded package.

sudo rm /var/cache/pacman/pkg/NAMEOFTHEWRONGPACKAGE

should work AND will not delete others package

Offline

#6 2013-03-22 19:46:28

linc186
Member
Registered: 2013-03-22
Posts: 33

Re: Pacman signature error

the sad clown wrote:

It might also indicate a corruption in the packages if they did not download correclty.  Try clearing out pacman's cache and downloading again:

pacman -Scc

This did the trick! Thank you very much!

Offline

Board footer

Powered by FluxBB