You are not logged in.

#1 2013-12-23 23:39:13

donallen
Member
Registered: 2009-11-30
Posts: 23

[SOLVED] Cannot install

I am attempting a new amd64 install (Thinkpad X61) and the pacstrap step fails:

error: key "Dan McGee <...>" could not be imported
error: required key missing from keyring

Last edited by donallen (2013-12-26 04:19:12)

Offline

#2 2013-12-23 23:46:22

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,645

Re: [SOLVED] Cannot install

Are you using the Beginners' Guide? Have you followed these steps?

Beginners Guide wrote:

Note:

If pacman fails to verify your packages, stop the process with Ctrl+C and check the system time with cal. If the system date is invalid (e.g. it shows the year 2010), signing keys will be considered expired (or invalid), signature checks on packages will fail and installation will be interrupted. Make sure to correct the system time, using the command ntpd -qg, and retry running the pacstrap command. Refer to Time page for more information on correcting system time.

If pacman complains that error: failed to commit transaction (invalid or corrupted package), run the following command:

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

Offline

#3 2013-12-23 23:48:12

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

Re: [SOLVED] Cannot install

Please read the wiki.

Offline

#4 2013-12-24 05:13:03

donallen
Member
Registered: 2009-11-30
Posts: 23

Re: [SOLVED] Cannot install

@2ManyDogs: I am an experienced Arch user and was not using the Beginners' Guide but the Installation Guide, which does not cover this situation. When I saw your post, I checked the system date, which was set to something in 2008. This is a new old machine that I bought for my wife. It is 5 years old and came with a dead battery and apparently a dead cmos battery as well. Once I fixed the date and cleaned up per the note in the Beginner's Guide, all was well. Thanks for your help.

Offline

#5 2013-12-24 09:50:52

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

Re: [SOLVED] Cannot install

Please remember to mark the thread as solved https://bbs.archlinux.org/viewtopic.php?id=130309

Offline

#6 2013-12-24 11:56:47

teateawhy
Member
From: GER
Registered: 2012-03-05
Posts: 1,138
Website

Re: [SOLVED] Cannot install

Have you used the archiso as host machine for the installation? Maybe ntpd should be enabled via sytemd on archiso, to set the system date automatically.

Offline

Board footer

Powered by FluxBB