You are not logged in.

#1 2015-04-12 15:48:00

kabads
Member
Registered: 2012-09-22
Posts: 271
Website

[Solved] VPS not working with pacman -Syu

I've just spun up a new instance of a vps (decided to host my website on arch). However, when I try and do

 $ sudo pacman -Syu

there are an awful lot of updates that need to go through (guessing ubiquity hosting are using an old image of arch) and eventually it fails with:

:: Proceed with installation? [Y/n] 
:: Retrieving packages ...
 dhcpcd-6.8.1-1-x86_64    142.8 KiB  4.65M/s 00:00 [##########################] 100%
(125/125) checking keys in keyring                 [##########################] 100%
(125/125) checking package integrity               [##########################] 100%
error: dhcpcd: signature from "Anatol Pomozov <anatol.pomozov@gmail.com>" is unknown trust
:: File /var/cache/pacman/pkg/dhcpcd-6.8.1-1-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] 

I can delete the dhcpd package, but obviously when I run pacman -Syu it redownloads it. I'm guessing this is a signature issue from PGP which doesn't exist any more. Would it help if I import the new public keys? If so, where do I get them and how to I import them?

TIA
Adam

Last edited by kabads (2015-04-12 16:09:26)

Offline

#2 2015-04-12 15:51:49

VanillaFunk
Member
From: MA. USA
Registered: 2013-06-10
Posts: 396
Website

Re: [Solved] VPS not working with pacman -Syu

what happens if you run

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

archx86_64 : awesomewm
https://github.com/dreemsoul

Remeber to feed the squirrels

Offline

#3 2015-04-12 16:01:25

kabads
Member
Registered: 2012-09-22
Posts: 271
Website

Re: [Solved] VPS not working with pacman -Syu

[root@kabads ~]# pacman-key --init
[root@kabads ~]# pacman-key --populate archlinux
==> Appending keys from archlinux.gpg...
==> Locally signing trusted keys in keyring...
  -> Locally signing key 0E8B644079F599DFC1DDC3973348882F6AC6A4C2...
  -> Locally signing key 684148BB25B49E986A4944C55184252D824B18E8...
  -> Locally signing key 44D4A033AC140143927397D47EFD567D4C7EA887...
  -> Locally signing key 27FFC4769E19F096D41D9265A04F9397CDFD6BB0...
  -> Locally signing key AB19265E5D7D20687D303246BA1DFB64FFF979E7...
==> Importing owner trust values...
==> Disabling revoked keys in keyring...
  -> Disabling key F5A361A3A13554B85E57DDDAAF7EF7873CFD4BB6...
  -> Disabling key 7FA647CD89891DEDC060287BB9113D1ED21E1A55...
  -> Disabling key D4DE5ABDE2A7287644EAC7E36D1A9E70E19DAA50...
  -> Disabling key BC1FBE4D2826A0B51E47ED62E2539214C6C11350...
  -> Disabling key 4A8B17E20B88ACA61860009B5CED81B7C2E5C0D2...
  -> Disabling key 63F395DE2D6398BBE458F281F2DBB4931985A992...
  -> Disabling key 0B20CA1931F5DA3A70D0F8D2EA6836E1AB441196...
  -> Disabling key 8F76BEEA0289F9E1D3E229C05F946DED983D4366...
  -> Disabling key 66BD74A036D522F51DD70A3C7F2A16726521E06D...
  -> Disabling key 81D7F8241DB38BC759C80FCE3A726C6170E80477...
  -> Disabling key E7210A59715F6940CF9A4E36A001876699AD6E84...
==> Updating trust database...
gpg: next trustdb check due at 2016-01-22

The above commands worked, but I've still got the problem with the signatures and packages.

Offline

#4 2015-04-12 16:03:32

VanillaFunk
Member
From: MA. USA
Registered: 2013-06-10
Posts: 396
Website

Re: [Solved] VPS not working with pacman -Syu

--edit for spelling--

alright .. i had to do that on an intial install once in order to get keys working ... other than refreshing pacman keys with

pacman-key --refresh-keys

i think i am gonna back out.  sorry it didnt help

Last edited by VanillaFunk (2015-04-12 16:06:13)


archx86_64 : awesomewm
https://github.com/dreemsoul

Remeber to feed the squirrels

Offline

#5 2015-04-12 16:09:10

kabads
Member
Registered: 2012-09-22
Posts: 271
Website

Re: [Solved] VPS not working with pacman -Syu

That worked - thanks VanillaFunk.

Offline

Board footer

Powered by FluxBB