You are not logged in.

#1 2012-03-06 23:07:47

longmains
Member
From: Scotland
Registered: 2012-03-06
Posts: 15
Website

pacman issues for new installation

Hi Folks,

New to Arch. Core x64 iso. Carried out the installation okay using the Beginners guide wiki.

Having trouble with pacman to the point it is driving me bananas. This is the Post installation part of the beginners guide we are talking about, so there is no GUI involved.

Network is fine. Unchecked mirrors in the mirrorlist near to my location. Run the following without any errors.

# pacman Syy

So chosen mirrors are okay so now we go on to update the system.
I ran # pacman -Syu

upgraded pacman on the first run as expected, and was asked to run pacman-key --init. Run up against the message...
Not enough random bytes available. Please do some other work to give the OS a chance to collect more entropy.

System hung there. Had to force reboot (Ctl Alt Del).

After a reboot, tried running pacman -Syu again. This time it pulled a lot of upgrades. I continued with the proposed up grades only for each to fail with a generated key failed message.

Went over to windows and a VM, and went through the installation there to see if I could get a fix.
This time system is 32 bit 686. went through same procedure. got to the same point with the same error message.

Googled and found this post...https://bbs.archlinux.org/viewtopic.php?id=128340.

There are a number of proposed solutions. None of which seemed to apply to GUI less new installation.
While system was hung looking for more entropy, I started entering numerous Ctl^X inputs at the keyboard. After a while it completed. I ran pacman-key --init again and and it seemed to complete okay. No errors any way.

So I then issued the command pacman -Syu again.
This time it downloaded a s*** load of updates, Checked the downloads, cant remember the exact details. Then came up with the message no packages were installed due to files being duplicate or conflicting.

There were numerous updates. How can I do the first time update. Help required. Remember no GUI.

Offline

#2 2012-03-06 23:19:42

wolfcore
Member
From: California
Registered: 2012-03-06
Posts: 137

Re: pacman issues for new installation

So did you successfully run 'pacman-key --init' or not?

Edit: I'm not exactly sure what your question is.

Last edited by wolfcore (2012-03-06 23:20:22)

Offline

#3 2012-03-06 23:22:44

doug piston
Member
From: Seattle
Registered: 2011-09-11
Posts: 387
Website

Re: pacman issues for new installation

"System hung there. Had to force reboot (Ctl Alt Del)."

Let it finish. It will, just takes abit of time

Offline

#4 2012-03-06 23:25:34

mcmillan
Member
Registered: 2006-04-06
Posts: 737

Re: pacman issues for new installation

longmains wrote:

So I then issued the command pacman -Syu again.
This time it downloaded a s*** load of updates, Checked the downloads, cant remember the exact details. Then came up with the message no packages were installed due to files being duplicate or conflicting.

There were numerous updates. How can I do the first time update. Help required. Remember no GUI.

Without having the exact error it's hard to know what the issue, but most likely is these two issues from the front page news
https://www.archlinux.org/news/filesyst … -required/
https://www.archlinux.org/news/initscri … -required/

Offline

#5 2012-03-06 23:26:08

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

Re: pacman issues for new installation

doug piston wrote:

"System hung there. Had to force reboot (Ctl Alt Del)."

Let it finish. It will, just takes abit of time

+1
https://wiki.archlinux.org/index.php/Pa … entropy.3F

Offline

#6 2012-03-06 23:34:16

kyla
Member
From: Arlington, VA
Registered: 2011-03-12
Posts: 112
Website

Re: pacman issues for new installation

Also, unless this is going to be a headless system, you could disable signature checking until you have a gui installed and it's easier to do other things while it's building entropy.

Offline

#7 2012-03-07 22:40:40

longmains
Member
From: Scotland
Registered: 2012-03-06
Posts: 15
Website

Re: pacman issues for new installation

Sorry for the delay in replying.

Okay, I moved locale.sh to tmp and renamed locale.sh.old
run the updates, there were errors, but since I was on a non GUI console, couldnot scroll back to see what messages the errors produced. There was a kernel upgrade in the package list. On reboot, system couldnot find the filesystem or kernel or boot partition. System is now goosed.

Reading more from wiki and threads posted here. I decided I needed the latest snapshot. Also read somewhere that the best idea was to do a network install.

so I started again with a new network install. Went okay or so I thought. Remember I am in the installation here. Downloaded the packages for just a basic core set up.
When the installation began installing the packages, the PgP signature problem raised it's head again. Now this is the installation procedure here over the network with the latest snapshot...
archlinux-2012.03.07_14-30-01-netinstall-i686
All I ahve done is let the installer run, selecting source, set location and time, prepared the hard disk. I choose grub, configured the network okay. The installation process then downloaded the core files but installation failed.

Messages...immediately after download.
Checking package integrity
Warning: Public keyring not found; have you run pacman-key --init
Error: linux-api-headers key F999...blah..blah unknown
Error: key F999...blah..blah could not be looked up remotely.
...
...
All other packages have similar errors, the procedure finishes with the following...

Error failed to commit transaction (invalid or corrupt package (PGP Signature))

Package installation failed.

What is going on? This is the installation process, no way to access the filesystem as yet, not that I know of anyway.

Other people installing Arch over the network must be experiencing the same problem.
Does Arch actually work smile

Running install on VMWare on Windows.

Offline

#8 2012-03-07 22:55:37

doug piston
Member
From: Seattle
Registered: 2011-09-11
Posts: 387
Website

Re: pacman issues for new installation

Run "pacman-key --init" and wait for it to finish. It'll take some time. Just hit random keys on your keyboard.

Last edited by doug piston (2012-03-07 22:56:16)

Offline

#9 2012-03-07 22:56:20

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

Re: pacman issues for new installation

Pressing and holding Shift and pressing PgUp should scroll the buffer so you can see the errors.

Offline

#10 2012-03-07 23:05:23

longmains
Member
From: Scotland
Registered: 2012-03-06
Posts: 15
Website

Re: pacman issues for new installation

Hi doug piston,

I am in the installation, you know, the 8 cursor based steps after you hit /arch/setup with a network install. I cannot issue commands.

Karol...the same, I can see the errors during the install process because it allows you to. See above for errors.

Offline

#11 2012-03-07 23:06:06

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: pacman issues for new installation

Switch to another TTY with Ctrl-Alt-F2


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#12 2012-03-08 19:42:03

longmains
Member
From: Scotland
Registered: 2012-03-06
Posts: 15
Website

Re: pacman issues for new installation

Okay, trying Switch to another TTY with Ctrl-Alt-F2.

How to switch back?

Offline

#13 2012-03-08 19:43:43

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

Re: pacman issues for new installation

Ctrl-Alt-F1?

Offline

#14 2012-03-08 19:47:08

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: pacman issues for new installation

longmains wrote:

Okay, trying Switch to another TTY with Ctrl-Alt-F2.

How to switch back?

Please do some research yourself before posting questions here. Arch is a do-it-yourself distro and there is a very clear expectation that community members will make some effort to solve their own problems themselves.

The question you have just asked can easily be answered with a quick web search. Help vampirism is actively discouraged here.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB