You are not logged in.

#1 2012-01-20 11:51:49

mich04
Member
From: Illinois - United States
Registered: 2011-10-25
Posts: 390

[Solved] errors with keys after pacman update?

Hi,
I installed pacman 4.0.1-4, but now this is what happens when I try and update.


Proceed with installation? [Y/n] Y
(28/28) checking package integrity                 [######################] 100%
error: binutils-multilib: signature from "Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>" is unknown trust
error: libcap-ng: signature from "Ionut Biru <ibiru@archlinux.org>" is unknown trust
error: cifs-utils: signature from "Tobias Powalowski <tobias.powalowski@googlemail.com>" is unknown trust
error: cmake: signature from "Dave Reisner <d@falconindy.com>" is unknown trust
error: colord: signature from "Ionut Biru <ibiru@archlinux.org>" is unknown trust
error: lib32-glibc: signature from "Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>" is unknown trust
error: lib32-gcc-libs: signature from "Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>" is unknown trust
error: gcc-libs-multilib: signature from "Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>" is unknown trust
error: gcc-multilib: signature from "Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>" is unknown trust
error: perl: key "6D1655C14CE1C13E" is unknown
error: key "6D1655C14CE1C13E" could not be looked up remotely
error: openssl: signature from "Pierre Schmitz <pierre@archlinux.de>" is unknown trust
error: git: signature from "Dan McGee <dpmcgee@gmail.com>" is unknown trust
error: gpgme: signature from "Dave Reisner <d@falconindy.com>" is unknown trust
error: gvfs: signature from "Dave Reisner <d@falconindy.com>" is unknown trust
error: inetutils: key "FCF2CB179205AC90" is unknown
:: Import PGP key 9205AC90, "Eric Belanger <eric@archlinux.org>", created 2011-04-19? [Y/n] Y
error: key "Eric Belanger <eric@archlinux.org>" could not be imported
error: intltool: key "FCF2CB179205AC90" is unknown
:: Import PGP key 9205AC90, "Eric Belanger <eric@archlinux.org>", created 2011-04-19? [Y/n] ^C
Interrupt signal received

When pacman updated it suggested that I run this command,


sudo pacman-key --init


I know that usually I would say yes to a key and pacman should remember it, but what are all the errors?

Last edited by mich04 (2012-01-20 17:19:26)


I love computers, networking and Arch Linux. Sometimes I might ask a stupid question, but please have grace with me like I would with you.

Offline

#2 2012-01-20 12:07:25

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [Solved] errors with keys after pacman update?

have you seen the news?


Give what you have. To someone, it may be better than you dare to think.

Offline

#3 2012-01-20 12:29:53

mich04
Member
From: Illinois - United States
Registered: 2011-10-25
Posts: 390

Re: [Solved] errors with keys after pacman update?

well, I saw that it was disabled, but I can not update any packages at the moment. I wasn't really interested in trying it out yet. Should I just downgrade pacman until it is ready?


I love computers, networking and Arch Linux. Sometimes I might ask a stupid question, but please have grace with me like I would with you.

Offline

#4 2012-01-20 12:34:08

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] errors with keys after pacman update?

pacman is ready.

Offline

#5 2012-01-20 12:37:51

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [Solved] errors with keys after pacman update?

mich04 wrote:

well, I saw that it was disabled, but I can not update any packages at the moment. I wasn't really interested in trying it out yet. Should I just downgrade pacman until it is ready?

read it again.

it says two things
1) if you don't want package signing, MERGE your pacnew!.
2) if you want package signing, then read the wiki or allan's blog to see how to set up the keyring


Give what you have. To someone, it may be better than you dare to think.

Offline

#6 2012-01-20 14:18:45

mich04
Member
From: Illinois - United States
Registered: 2011-10-25
Posts: 390

Re: [Solved] errors with keys after pacman update?

Your smily face and your post make it very confusing. I can not tell if you are getting angry or happy... smile, but here is the news article that I read. http://www.archlinux.org/news/pacman-4-moves-to-core/ or were you speaking of Allen's blog? I have gone through that, but it seems to talk more about how to enable the package signing. Could you point me to the links that you are referring to so that I may read them and figure it out from there?


                      Thank you I really appreciate all of your help and commitment to this site and to us the users.

Last edited by mich04 (2012-01-20 14:19:33)


I love computers, networking and Arch Linux. Sometimes I might ask a stupid question, but please have grace with me like I would with you.

Offline

#7 2012-01-20 14:28:58

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] errors with keys after pacman update?

Can you post your pacman.conf?

Offline

#8 2012-01-20 14:36:48

mich04
Member
From: Illinois - United States
Registered: 2011-10-25
Posts: 390

Re: [Solved] errors with keys after pacman update?

#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives

#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir     = /
#DBPath      = /var/lib/pacman/
#CacheDir    = /var/cache/pacman/pkg/
#LogFile     = /var/log/pacman.log
HoldPkg     = pacman glibc
# If upgrades are available for these packages they will be asked for first
SyncFirst   = pacman
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#XferCommand = /usr/bin/curl -C - -f %u > %o
#CleanMethod = KeepInstalled
Architecture = auto

# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg   =
#IgnoreGroup =

#NoUpgrade   =
#NoExtract   =

# Misc options (all disabled by default)
#UseSyslog
#ShowSize
#UseDelta
#TotalDownload
#CheckSpace

#
# REPOSITORIES
#   - can be defined here or included from another file
#   - pacman will search repositories in the order defined here
#   - local/custom mirrors can be added here or in separate files
#   - repositories listed first will take precedence when packages
#     have identical names, regardless of version number
#   - URLs will have $repo replaced by the name of the current repo
#   - URLs will have $arch replaced by the name of the architecture
#
# Repository entries are of the format:
#       [repo-name]
#       Server = ServerName
#       Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#

# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.

#[testing]
#Include = /etc/pacman.d/mirrorlist

[core]
Include = /etc/pacman.d/mirrorlist

[extra]
Include = /etc/pacman.d/mirrorlist

#[community-testing]
#Include = /etc/pacman.d/mirrorlist

[community]
Include = /etc/pacman.d/mirrorlist

# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.

#[multilib-testing]
#Include = /etc/pacman.d/mirrorlist

[multilib]
Include = /etc/pacman.d/mirrorlist

# An example of a custom package repository.  See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#Server = file:///home/custompkgs

Here it is.


I love computers, networking and Arch Linux. Sometimes I might ask a stupid question, but please have grace with me like I would with you.

Offline

#9 2012-01-20 14:41:48

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] errors with keys after pacman update?

Are you sure you've merged the pacnew files?

Offline

#10 2012-01-20 14:48:52

mich04
Member
From: Illinois - United States
Registered: 2011-10-25
Posts: 390

Re: [Solved] errors with keys after pacman update?

I am not sure I have read through https://wiki.archlinux.org/index.php/Pa … save_Files, but I still do not see a clear answer. Could you show me an article or give me more information on that?


I love computers, networking and Arch Linux. Sometimes I might ask a stupid question, but please have grace with me like I would with you.

Offline

#11 2012-01-20 14:52:23

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] errors with keys after pacman update?

No clear answer to what?
I'm sorry, but I have to point out that Arch is a system for advanced users, so you may have to pick some other distro.

How come that only now you say you haven't merged these files. Previously you said you did what the announcement told you to do.

Offline

#12 2012-01-20 16:15:38

natestar13
Member
From: Tampa, FL
Registered: 2012-01-16
Posts: 55

Re: [Solved] errors with keys after pacman update?

@mich04

You're having two separate errors.  The first one dealing with "unknown trust" is a result of your pacman.conf file being incorrect.  Read the the new /etc/pacman.conf.new file and the pacman-key wiki https://wiki.archlinux.org/index.php/Pacman-key.  You must add a SigLevel option separately to each enabled repository.  Also, it is best to add the Master Keys (as recommended in the wiki), which apply to most of the packages in [core] and [extra].

The second error you're getting is "key *blah* could not be imported".  This means pacman-key tried to query the keyserver for the specified key, but either timed out or didn't get a response.  Since pacman4 was recently applied to [core], a lot of users are now using the key-signing, so the servers are getting bogged down.  Just try to get the key again and it should work.  You can manually add a user's key with the following commands:

# pacman-key -r <keyid>

# pacman-key --lsign-key <keyid>

Where "keyid" is the 8-digit number for the user you're trying to add (for example, 9205AC90 is the keyid fo eric@archlinux.org)

Also, @karol, thanks for the initial posts in this forum, but you don't have to be a condescending jerk if people don't understand what they're supposed to do.  We all started out as newbies

Last edited by natestar13 (2012-01-20 16:18:53)


Machine:  Lenovo ThinkCenter M92 (M3209) - Inte i7-3770 CPU

Offline

#13 2012-01-20 16:18:44

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [Solved] errors with keys after pacman update?

@mich04 your pacman.conf seems mostly default, just do mv /etc/pacman.conf.pacnew /etc/pacman.conf and enable multilib again.


Give what you have. To someone, it may be better than you dare to think.

Offline

#14 2012-01-20 16:33:02

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

Re: [Solved] errors with keys after pacman update?

natestar13 wrote:

Also, @karol, thanks for the initial posts in this forum, but you don't have to be a condescending jerk if people don't understand what they're supposed to do.  We all started out as newbies

I don't know you.I understand that you don't feel great.
But karol is one of the coolest guys you can see in arch linux forums.
You will come to understand it  later.
welcome to Arch!

Last edited by hadrons123 (2012-01-20 16:33:53)

Offline

#15 2012-01-20 17:05:56

mich04
Member
From: Illinois - United States
Registered: 2011-10-25
Posts: 390

Re: [Solved] errors with keys after pacman update?

wonder wrote:

@mich04 your pacman.conf seems mostly default, just do mv /etc/pacman.conf.pacnew /etc/pacman.conf and enable multilib again.

@wonder Thanks I appreciate the help

karol wrote:

No clear answer to what?
I'm sorry, but I have to point out that Arch is a system for advanced users, so you may have to pick some other distro.
How come that only now you say you haven't merged these files. Previously you said you did what the announcement told you to do.   pacman is ready.

@karol  I never said that I merged the files, and also I believe that Arch Linux is for advanced users, but the fact of the matter is that nobody is perfect. I know that I am not at all. And sometimes people need some help, that's how we learn and that is why I choose Arch. Also I was refering to the package signing I understand that pacman is ready, but the fact of the matter is that the package signing is still fairly new.




hardrons123 wrote:

I don't know you.I understand that you don't feel great.
But karol is one of the coolest guys you can see in arch linux forums.
You will come to understand it  later.
welcome to Arch!

@hardrons123 I do not understand, but is it cool to push someone away and not even give the chance to learn? Pointing out to me that Arch Linux is for "advanced users", which is a broad term in itself is just not cool. Knowledge is vast and not one person holds it all.



Again I appreciate all the help that everyone has given me in this forum, I am really glad that their are resources like Arch Linix (The wikis in particular) available to all smile And I am really trying to post less on this forum, sometimes though it is just easier to ask.

Last edited by mich04 (2012-01-20 17:09:47)


I love computers, networking and Arch Linux. Sometimes I might ask a stupid question, but please have grace with me like I would with you.

Offline

#16 2012-01-20 21:18:02

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: [Solved] errors with keys after pacman update?

Moving to "Pacman & Package Upgrade Issues".


To know or not to know ...
... the questions remain forever.

Offline

#17 2012-02-18 13:53:47

markg85
Member
Registered: 2009-06-27
Posts: 153

Re: [Solved] errors with keys after pacman update?

Hi,

Just making this post for anyone else ending up here for the same reason like i did, That was: updating my pc installed pacman 4 followed by an unupdatable system due to a LOT of requests from pacman to allow a key..
It turns out (obvious now) that pacman installs a /etc/pacman.conf.pacnew which is kinda vital!

If you install a new Archlinux you probably don't need to do anything!

However...

If you update an existing archlinux... then you have to look at the /etc/pacman.conf.pacnew since that by defaults turns off key checking! That default option doesn't exist pre pacman 4. Just look at the changes and merge (some of) them in your pacman.conf

note to devs, it certainly would have been nice to make this a lot more obvious when installing the pacman update. Also when introducing a new feature like this it would be very nice to let the SigLevel, when not set at all, fall back to the current default "Never". That would have saved a lot of time for a lot of people.

Offline

Board footer

Powered by FluxBB