You are not logged in.

#1 2015-08-10 16:37:09

thoth
Member
Registered: 2010-01-10
Posts: 79

key updates?

I put a fresh install of Arch on this Acer C720, (writeprotect screw removed) at the first of July (2015), since then I have been plagued with key failures like this:

(5/5) checking package integrity                                           [##########################################] 100%
error: jsoncpp: signature from "Anatol Pomozov <anatol.pomozov@gmail.com>" is unknown trust
:: File /var/cache/pacman/pkg/jsoncpp-1.6.5-1-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).

This now sees to be a weekly occurrence, every time I update it seems more keys are broken.

I am constantly doing stuff like this:

rm -Rf /etc/pacman.d/gnupg
pacman -S archlinux-keyring
pacman-key --init
pacman-key --populate archlinux
pacman-key --refresh-keys

is there something wrong with my system?  Am I doing something wrong?  Or is there just that many key updates that have happened recently?

Offline

#2 2015-08-10 16:45:01

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: key updates?

Not a Sysadmin issue, moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2015-08-10 17:38:15

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,907
Website

Re: key updates?

Are you sure it's the signatures at fault, and not corruption? If not, check your disk's health (e.g. with smartctl), your system's memory (memcheck86+), and check all cables for damage and lose connections.

Also, check your system's time when you get these errors. Is it correct?


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

#4 2015-08-10 18:10:19

thoth
Member
Registered: 2010-01-10
Posts: 79

Re: key updates?

I have had to

 systemctl restart openntpd 

quite a bit recently as well, I think it fails right at boot when there is no network connection.  So that certainly might be the cause of my problems. After removing the gnupg folder and rebuilding the keys I've been good so far.

Offline

#5 2015-08-11 00:16:05

thoth
Member
Registered: 2010-01-10
Posts: 79

Re: key updates?

bizarre, I had it happen again tonight, same fix, and hard drive reports no errors.

Offline

#6 2015-08-11 08:05:20

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,907
Website

Re: key updates?

And the date/time?


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 2015-08-11 12:21:45

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,971

Re: key updates?

thoth wrote:

I have had to

systemctl restart openntpd

quite a bit recently as well, I think it fails right at boot when there is no network connection.  So that certainly might be the cause of my problems. After removing the gnupg folder and rebuilding the keys I've been good so far.

Making_openntpd_dependent_upon_network_access

Last edited by Lone_Wolf (2015-08-11 12:22:42)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Online

#8 2015-08-11 14:59:08

thoth
Member
Registered: 2010-01-10
Posts: 79

Re: key updates?

Ok, funny enough I had all that working with wicd, without issue.  But wicd went belly up on me, and I tried out connman.  And of course the above instructions do not mention connman, looking around apparently connman supports ntp natively:

http://git.kernel.org/cgit/network/conn … /src/ntp.c

but I'm not seeing any documentation of this feature.  It kind of sounds like it's supposed to just work, in which case it might be broken?   I'll look into this further, perhaps I should make a new thread for connman and ntp issues

Offline

#9 2015-08-11 15:21:44

thoth
Member
Registered: 2010-01-10
Posts: 79

Re: key updates?

I'm disabling openntpd for now and am going to see what happens, perhaps they were conflicting somehow?

After looking at the above C code a bit more, I think it is perhaps because I was using openntpd and not ntp

pacman -S ntp

and we'll let this play out a bit more

Offline

Board footer

Powered by FluxBB