You are not logged in.

#1 2017-01-18 00:35:32

lashawnerlantz
Member
Registered: 2016-09-09
Posts: 24

[SOLVED] Invalid or corrupted package (PGP signature)

I'm trying to install arch linux to my HDD from the live USB using this command `pacstrap /mnt base base-devel` and get two errors for unknown trust of Levente Polyak:

error: krb5: signature from "Levente Polyak..." is unknown trust
File "...pkg" is corrupted (invalid or corrupted package (PGP signature)).
error: libpsl ...
error: failed to commit transaction

This happened last time I tried to install and I gave up. I don't remember all the things I tried.
How can I sync the signatures with the server?

Last edited by lashawnerlantz (2017-01-18 01:50:33)

Offline

#2 2017-01-18 01:08:11

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,737
Website

Re: [SOLVED] Invalid or corrupted package (PGP signature)


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2017-01-18 01:15:09

lashawnerlantz
Member
Registered: 2016-09-09
Posts: 24

Re: [SOLVED] Invalid or corrupted package (PGP signature)

I got the error:
gpg: connected dirmngr at '/root/.gnupg/S.dirmngr' failed: IPC connect call failed
gpg: keyserver refresh failed: No dirmngr
==> ERROR: A specified local key could not be updated from a keyserver.

Offline

#4 2017-01-18 01:19:29

lashawnerlantz
Member
Registered: 2016-09-09
Posts: 24

Re: [SOLVED] Invalid or corrupted package (PGP signature)

I think this live USB is a couple years old. But the instructions said it shouldn't matter. Can't I update the OS?

Offline

#5 2017-01-18 01:20:50

lashawnerlantz
Member
Registered: 2016-09-09
Posts: 24

Re: [SOLVED] Invalid or corrupted package (PGP signature)

# pacman -Syy
# pacman-mirrors -g
not found
# pacman -S gnupg
# gpg-agent
Fatal: libgcrypt is too old

Offline

#6 2017-01-18 01:24:03

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,737
Website

Re: [SOLVED] Invalid or corrupted package (PGP signature)

Can you post the output of

uname -a

from the installed system?


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#7 2017-01-18 01:24:13

lashawnerlantz
Member
Registered: 2016-09-09
Posts: 24

Re: [SOLVED] Invalid or corrupted package (PGP signature)

The OS is too old and is incapable of updating itself?

Offline

#8 2017-01-18 01:25:24

lashawnerlantz
Member
Registered: 2016-09-09
Posts: 24

Re: [SOLVED] Invalid or corrupted package (PGP signature)

WorMzy wrote:

Can you post the output of

uname -a

from the installed system?

Linux archiso 4.2.5-1-ARCH #1 PREEMPT Tue Oct 27 08:13:28 CET 2015 x86_64 GNU/Linux

Offline

#9 2017-01-18 01:26:26

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: [SOLVED] Invalid or corrupted package (PGP signature)

It matters, a couple years is long enough for pacman to change. wink

The key error itself should be solved by first upgrading archlinux-keyring, but pacman hooks won't fire if you don't have pacman 5.


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#10 2017-01-18 01:27:29

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,737
Website

Re: [SOLVED] Invalid or corrupted package (PGP signature)

lashawnerlantz wrote:
WorMzy wrote:

Can you post the output of

uname -a

from the installed system?

Linux archiso 4.2.5-1-ARCH #1 PREEMPT Tue Oct 27 08:13:28 CET 2015 x86_64 GNU/Linux

Not the liveCD, the installed system.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#11 2017-01-18 01:33:01

lashawnerlantz
Member
Registered: 2016-09-09
Posts: 24

Re: [SOLVED] Invalid or corrupted package (PGP signature)

WorMzy wrote:

Not the liveCD, the installed system.

There is no installed system. Only Windows is on this HDD. I'm booted into the Live USB

Offline

#12 2017-01-18 01:35:19

lashawnerlantz
Member
Registered: 2016-09-09
Posts: 24

Re: [SOLVED] Invalid or corrupted package (PGP signature)

Eschwartz wrote:

The key error itself should be solved by first upgrading archlinux-keyring, but pacman hooks won't fire if you don't have pacman 5.

It seems like this worked. I was able to install krb5.

Offline

#13 2017-01-18 01:37:17

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,737
Website

Re: [SOLVED] Invalid or corrupted package (PGP signature)

Ah, my mistake. For some reason I thought you were trying to update a very out-of-date installed system from a liveCD.

Yes, your liveCD is too old, download the iso from http://www.archlinux.org/download/ and create a new one.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB