You are not logged in.

#1 2012-03-16 21:58:07

musdawdaf
Member
Registered: 2012-03-16
Posts: 4

[Solved] Key Is Unknown Error

When I try to install anything or update the system it gives this error and can not install anything
I tried to change Keys but it didn't work.After that I changed the Signlevel or sth to =never again errors.
updating pacman didn't work as well.
The only thing working
pacman -Syy

packer -S chromium
pacman: /usr/lib/libcurl.so.4: no version information available (required by /usr/lib/libalpm.so.7)
resolving dependencies...
looking for inter-conflicts...

Targets (1): chromium-17.0.963.79-1

Total Download Size:    24.55 MiB
Total Installed Size:   94.13 MiB

Proceed with installation? [Y/n] Y
:: Retrieving packages from extra...
 chromium-17.0.963.7...    24.5 MiB   180K/s 02:20 [----------------------] 100%
(1/1) checking package integrity                   [----------------------] 100%
error: chromium: key "51E8B148A9999C34" is unknown
:: Import PGP key A9999C34, "Evangelos Foutras <foutrelis@gmail.com>", created 2010-11-12? [Y/n] Y
(1/1) checking package integrity                   [----------------------] 100%
error: chromium: signature from "Evangelos Foutras <evangelos@foutrelis.com>" is unknown trust
error: failed to commit transaction (invalid or corrupted package (PGP signature))
Errors occurred, no packages were upgraded.

Last edited by musdawdaf (2012-03-17 22:38:08)

Offline

#2 2012-03-16 22:12:28

bananas4370
Member
From: Warwick QLD Australia
Registered: 2011-10-25
Posts: 27

Re: [Solved] Key Is Unknown Error

You might want to read about pacman-key

It will take you through setting pacman up with regard to trusted keys.

Cheers
Patrick


Linux Counter: #478369
Don't fix it if it ain't broken, don't break it if you can't fix it.

Offline

#3 2012-03-16 22:26:06

musdawdaf
Member
Registered: 2012-03-16
Posts: 4

Re: [Solved] Key Is Unknown Error

bananas4370 wrote:

You might want to read about pacman-key

It will take you through setting pacman up with regard to trusted keys.

Cheers
Patrick

Oh I checked out before that link but I was doing it wrong.Now my /etc/pacman.conf

#[testing]
## Add your preferred servers here, they will be used first
#Include = /etc/pacman.d/mirrorlist

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

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

#[community-testing]
## Add your preferred servers here, they will be used first
#Include = /etc/pacman.d/mirrorlist

#[multilib]
## Add your preferred servers here, they will be used first
#Include = /etc/pacman.d/mirrorlist

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

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

EDIT:But update still not working.
giving the same key error

Last edited by musdawdaf (2012-03-16 22:32:25)

Offline

#4 2012-03-16 22:28:05

bananas4370
Member
From: Warwick QLD Australia
Registered: 2011-10-25
Posts: 27

Re: [Solved] Key Is Unknown Error

Ok, so it's solved?


Linux Counter: #478369
Don't fix it if it ain't broken, don't break it if you can't fix it.

Offline

#5 2012-03-16 22:41:34

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

Re: [Solved] Key Is Unknown Error

Did you run 'pacman-key --init'?

Offline

#6 2012-03-16 22:53:19

musdawdaf
Member
Registered: 2012-03-16
Posts: 4

Re: [Solved] Key Is Unknown Error

karol wrote:

Did you run 'pacman-key --init'?

yes I tried to run pacman-key --init but It didn't work as well.

I think I solved the problem

I deleted all things in the /etc/pacman.conf and changed with /etc/pacman.conf.pacnew .
Everything is working now.

Offline

#7 2012-03-17 16:59:02

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

Re: [Solved] Key Is Unknown Error

If things are working now, please remember to mark the thread as solved.

Offline

#8 2012-03-17 22:36:46

musdawdaf
Member
Registered: 2012-03-16
Posts: 4

Re: [Solved] Key Is Unknown Error

After that I installed another Arch and again gave directly this error.
'pacman.conf.new' worked on the new system as well.
Thanks a lot for your help.

Last edited by musdawdaf (2012-03-17 22:38:32)

Offline

#9 2012-03-17 22:58:43

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

Re: [Solved] Key Is Unknown Error

You should always take care of pacnew files.

Offline

Board footer

Powered by FluxBB