You are not logged in.

#1 2010-02-21 03:48:49

MattDobson
Member
From: Napier, New Zealand
Registered: 2010-02-21
Posts: 5

Trouble Installing Pacman

Hi, I am very new and I am trying to install Arch on Virtualbox, I have installed fine and I am at the point where I need to install pacman.  I follow the instructions and I type in:

pacman -Sy python

and I get this result:
 
snapshot1-3.png

(sorry if the pic is big, I couldnt copy and paste)

I have scoured the Beginners Guide but I cant seem to find a soloution.  What do I do??  What info do I need to post?

Offline

#2 2010-02-21 03:58:43

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

Re: Trouble Installing Pacman

Did you select a server from your mirror list?

http://wiki.archlinux.org/index.php/Beg … mirrorlist


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2010-02-21 04:05:04

MattDobson
Member
From: Napier, New Zealand
Registered: 2010-02-21
Posts: 5

Re: Trouble Installing Pacman

ok I followed all those examples and still get the same response.  I also cant seem to back up my mirrorlist.

Offline

#4 2010-02-21 04:23:21

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

Re: Trouble Installing Pacman

You have the repos uncommented in /etc/pacman.conf? You'll need core, extra & community.

You need to be able to point pacman at your mirror I use the singular because there is only one in NZ:
ftp://mirror.ihug.net.nz/archlinux$repo/os/i686

What happens when you try to copy the mirrorlist?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2010-02-21 04:24:34

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: Trouble Installing Pacman

what is the networking state of this vm ? can you ping anything from the outside world ?

Offline

#6 2010-02-21 04:55:53

sand_man
Member
From: Australia
Registered: 2008-06-10
Posts: 2,164

Re: Trouble Installing Pacman

Show us your mirrorlist and pacman.conf


neutral

Offline

#7 2010-02-21 06:15:48

MattDobson
Member
From: Napier, New Zealand
Registered: 2010-02-21
Posts: 5

Re: Trouble Installing Pacman

Ok, my mirror list is blank, I must have done something to delete it all.  What should I put in my mirror list for New Zealand?  I see jasonwryan has posted one up there, what format do I put it as in my mirror list???


My pacman.conf (sorry about all the screenshots I had to do it that way because I can't copy and paste):

take1.png

take2.png

take3.png

take4.png

Offline

#8 2010-02-21 06:24:40

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: Trouble Installing Pacman

You can find a list of mirrors here:

http://wiki.archlinux.org/index.php/Mirrors

The format is like this:

Server = ftp://mirrors.kernel.org/archlinux/$repo/os/i686

Offline

#9 2010-02-21 06:26:20

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

Re: Trouble Installing Pacman

Open /etc/pacman.d/mirrorlist and type in:

Server = ftp://mirror.ihug.co.nz/archlinux/$repo/os/i686

(assuming you are using an i686 machine, of course). Save the file, exit and try pacman again (also assuming, as bangkok_manouel suggested, that you can ping from the vm)...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#10 2010-02-21 07:18:23

MattDobson
Member
From: Napier, New Zealand
Registered: 2010-02-21
Posts: 5

Re: Trouble Installing Pacman

What I might do is try again with the install and see what happens.  Thanks for your help guys.

Offline

Board footer

Powered by FluxBB