You are not logged in.

#1 2012-02-11 04:29:14

jiewmeng
Member
Registered: 2012-02-09
Posts: 118

Pacman "key could not be looked up remotely", "run-parts: key unknown"

I am getting errors shown when running `pacman -Syu`

aUZgT.png

Whats wrong & how can I fix this?

UPDATE

OK, this is solved by

mv /etc/pacman.conf.pacnew /etc/pacman.conf

Then probably you need to uncomment ... below ... in pacman.conf

SigLevel = Optional TrustAll

Then

pacman -S filesystem --force

And

rm /etc/profile.d/locale.sh

Last edited by jiewmeng (2012-02-27 14:43:06)


Computer Science Student, Web Developer

Offline

#2 2012-02-11 04:33:02

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

Re: Pacman "key could not be looked up remotely", "run-parts: key unknown"

It's better to post just the output instead of a screenshot.

Post your pacman.conf.
There are many topics like this on the forums.

Offline

#3 2012-02-11 07:55:58

jiewmeng
Member
Registered: 2012-02-09
Posts: 118

Re: Pacman "key could not be looked up remotely", "run-parts: key unknown"

I do now have a GUI yet, isit possible to do copy and paste?


Computer Science Student, Web Developer

Offline

#4 2012-02-11 08:48:13

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: Pacman "key could not be looked up remotely", "run-parts: key unknown"

Also try using a different keyserver as indicated here.


Burninate!

Offline

#5 2012-02-11 12:38:55

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

Re: Pacman "key could not be looked up remotely", "run-parts: key unknown"

jiewmeng wrote:

I do now have a GUI yet, isit possible to do copy and paste?

Try e.g. https://wiki.archlinux.org/index.php/Pastebin_Clients

Offline

#6 2012-02-11 13:46:23

iram
Member
Registered: 2012-02-11
Posts: 3

Re: Pacman "key could not be looked up remotely", "run-parts: key unknown"

.

Last edited by iram (2012-02-11 13:47:42)

Offline

#7 2012-02-12 02:12:38

jiewmeng
Member
Registered: 2012-02-09
Posts: 118

Re: Pacman "key could not be looked up remotely", "run-parts: key unknown"

I can't install anything. Keep getting that error


Computer Science Student, Web Developer

Offline

#8 2012-02-12 02:35:01

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

Re: Pacman "key could not be looked up remotely", "run-parts: key unknown"

jiewmeng wrote:

I can't install anything. Keep getting that error

You should be able to install packages, but you need to download them manually [1] and install with 'pacman -U packagename'.




[1] Click 'Download from mirror', under 'Package Actions' in the top right http://www.archlinux.org/packages/commu … wgetpaste/

Offline

#9 2012-02-12 03:14:37

jiewmeng
Member
Registered: 2012-02-09
Posts: 118

Re: Pacman "key could not be looked up remotely", "run-parts: key unknown"

I tried https://wiki.archlinux.org/index.php/Pa … ix_this.3F

But it fails still. My pacman.conf (screenshots, for now)

B9tWk.png

flEKF.png

oux10.png

h2LKV.png


Computer Science Student, Web Developer

Offline

#10 2012-02-12 03:25:02

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

Re: Pacman "key could not be looked up remotely", "run-parts: key unknown"

What version of pacman are you running? The configs look like pre-pacman 4. If you're running pacman 4, please merge the pacnew files first.

Offline

#11 2012-02-12 03:37:21

jiewmeng
Member
Registered: 2012-02-09
Posts: 118

Re: Pacman "key could not be looked up remotely", "run-parts: key unknown"

I am using Pacman 4.0.1. How do I merge them?

I noticed the files are similar, so I just `mv`-ed them to override the old. Is it all right? It appears to work as now I have a different error

GGDDn.png

btw, do I need to keep doing this all the time? Overwriting/merging files when I update something?

UPDATE

I think I solved that. I need to do `pacman -S filesystem --force` then remove the locale.sh

Last edited by jiewmeng (2012-02-12 03:45:07)


Computer Science Student, Web Developer

Offline

#12 2012-02-12 03:58:28

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

Re: Pacman "key could not be looked up remotely", "run-parts: key unknown"

If you don't install using the latest netinstall image but upgrade from an older version or use core image, you have to read all the news items, sometimes months back: http://www.archlinux.org/news/filesyste … -required/

Yes, manual merging is a pretty often occurrence https://wiki.archlinux.org/index.php/Pa … save_Files

Offline

Board footer

Powered by FluxBB