You are not logged in.

#1 2012-06-14 18:13:15

cypro
Member
Registered: 2011-08-22
Posts: 25

[SOLVED] Problem with pacman update - Signature is unknown trust

Today i update the pacman and i have the following problem:

error: perl-error: signature from "Allan McRae <me@allanmcrae.com>" is unknown trust
error: git: signature from "Dan McGee <dpmcgee@gmail.com>" is unknown trust
error: failed to commit transaction (invalid or corrupted package (PGP signature))
Errors occurred, no packages were upgraded.

I read the news page also and some topic in the forum. From the news page I do the following:

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

then it said to merge the files but there is no pacman new in /etc...

In some other topics it said that i have to edit the /etc/pacman.d/gnupg/gpg.conf and to change the line with the keyserver, after the edit my file is looking like this:

no-greeting
no-permission-warning
lock-never
keyserver hkp://pgp.mit.edu:11371
keyserver-options timeout=10

after the edit the topic said to run the following command as root:

curl https://www.archlinux.org/{developers,trustedusers}/ | awk -F\" '(/pgp.mit.edu/) {sub(/.*search=0x/,"");print $1}' | xargs pacman-key --recv-keys

Nothing done yet, the problem still there and I need the pacman. I can't understand why pacman the most times is so difficult to fixed after the upgrade, I have no problem with the community of this operating system, or from the wiki, any other I love this operating system and the freedom that gives, but I think in news page is better to have a more analytical topic on how to fix the problem with the pacman because it is necessary and we needed at any time.

Last edited by cypro (2012-06-14 18:42:54)

Offline

#2 2012-06-14 18:21:57

hadrons123
Member
From: chennai
Registered: 2011-10-07
Posts: 1,249

Re: [SOLVED] Problem with pacman update - Signature is unknown trust

remove the /etc/pacman.d/gnupg folder and try

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

LENOVO Y 580 IVYBRIDGE 660M NVIDIA
Unix is user-friendly. It just isn't promiscuous about which users it's friendly with. - Steven King

Offline

#3 2012-06-14 18:26:19

cypro
Member
Registered: 2011-08-22
Posts: 25

Re: [SOLVED] Problem with pacman update - Signature is unknown trust

WOW works great!! thanks man.

Offline

#4 2012-06-14 18:28:51

hadrons123
Member
From: chennai
Registered: 2011-10-07
Posts: 1,249

Re: [SOLVED] Problem with pacman update - Signature is unknown trust

Edit your first post by marking this thread as [SOLVED]. By the way correct your typos, for helping people who will be searching for same issue in future.


LENOVO Y 580 IVYBRIDGE 660M NVIDIA
Unix is user-friendly. It just isn't promiscuous about which users it's friendly with. - Steven King

Offline

#5 2012-06-23 22:54:23

wolfdogg
Member
From: Portland, OR, USA
Registered: 2011-05-21
Posts: 545

Re: [SOLVED] Problem with pacman update - Signature is unknown trust

thanks, solved my problem
signature from "User <email@gmail.com>" is unknown trust

rm -R /etc/pacman.d/gnupg
pacman-key --init
pacman-key --populate archlinux

installation successful, wiki updated

Last edited by wolfdogg (2012-06-23 23:07:18)


Node.js, PHP Software Architect and Engineer (Full-Stack/DevOps)
GitHub  | LinkedIn

Offline

#6 2012-07-07 21:51:01

distrohopperarched
Member
Registered: 2012-02-06
Posts: 45

Re: [SOLVED] Problem with pacman update - Signature is unknown trust

Tried the above and ended up in the same place I started from...

error: pacman-mirrorlist: signature from "Dan McGee <dpmcgee@gmail.com>" is invalid
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.

Last edited by distrohopperarched (2012-07-07 21:51:24)

Offline

#7 2012-07-09 08:26:34

distrohopperarched
Member
Registered: 2012-02-06
Posts: 45

Re: [SOLVED] Problem with pacman update - Signature is unknown trust

You also need to delete the cache to get it to work.

Offline

#8 2013-05-31 23:06:11

Jeffhunt90
Member
Registered: 2012-11-20
Posts: 13

Re: [SOLVED] Problem with pacman update - Signature is unknown trust

You need to have your clock roughly correct.

Offline

#9 2014-07-21 06:03:19

mbzadegan
Member
Registered: 2014-05-18
Posts: 9

Re: [SOLVED] Problem with pacman update - Signature is unknown trust

Hi,
I'm new to Arch and I'm doing all of manual commands about fixing Signature unknown trust but still i get the unknown trust!


[ blackarch user ]# rm -R /etc/pacman.d/gnupg/
[ blackarch user ]# pacman-key --init
gpg: /etc/pacman.d/gnupg/trustdb.gpg: trustdb created
gpg: no ultimately trusted keys found
gpg: Generating pacman keyring master key...
gpg: key 2CF2142D marked as ultimately trusted
gpg: Done
==> Updating trust database...
gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
gpg: depth: 0  valid:   1  signed:   0  trust: 0-, 0q, 0n, 0m, 0f, 1u
[ blackarch user ]# pacman-key --populate archlinux
==> Appending keys from archlinux.gpg...
gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
gpg: depth: 0  valid:   1  signed:   0  trust: 0-, 0q, 0n, 0m, 0f, 1u
==> 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...
gpg: inserting ownertrust of 4
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
==> Disabling revoked keys in keyring...

  -> Disabling key F5A361A3A13554B85E57DDDAAF7EF7873CFD4BB6...
  -> Disabling key 7FA647CD89891DEDC060287BB9113D1ED21E1A55...
  -> 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: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
gpg: depth: 0  valid:   1  signed:   5  trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: depth: 1  valid:   5  signed:  60  trust: 0-, 0q, 0n, 5m, 0f, 0u
gpg: depth: 2  valid:  60  signed:   4  trust: 60-, 0q, 0n, 0m, 0f, 0u
gpg: next trustdb check due at 2015-03-31
[ blackarch user ]# pacman -Syu
error: blackarch: key "C65009B64EB7BB3C" is unknown
:: Import PGP key 4096R/4EB7BB3C, "Evan Teitelman (BlackArch Developer) <teitelmanevan@gmail.com>", created: 2014-01-03? [Y/n]
error: blackarch: signature from "Evan Teitelman (BlackArch Developer) <teitelmanevan@gmail.com>" is unknown trust
:: Synchronizing package databases...
core is up to date         0.0   B  0.00B/s 00:00   0%
extra                   1745.2 KiB  26.0K/s 01:07 100%
community                  2.3 MiB  27.5K/s 01:24 100%
error: failed retrieving file 'blackarch.db' from www.blackarch.org : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
error: failed to update blackarch (download library error)
error: database 'blackarch' is not valid (invalid or corrupted database (PGP signature))



Please Save me, Thanks.

Last edited by mbzadegan (2014-07-21 10:11:15)

Offline

#10 2014-07-21 11:56:45

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,222
Website

Re: [SOLVED] Problem with pacman update - Signature is unknown trust

mbzadegan, Welcome to the forums smile

Please remember to use code tags when posting large chunks of output like that.

Also, please have a read over the forum etiquette, in particular the section on waking the dead. A lot has changed since 2012 so starting a new thread is best is this instance.

Closing.

Offline

Board footer

Powered by FluxBB