You are not logged in.

#1 2010-05-12 02:44:13

gowireless
Member
Registered: 2010-05-12
Posts: 20

sudo Command wont install, please help

i need the sudo command to install my wireless card, but when i try to install it it says this


[root@myhost ~]# pacman -S sudo
resolving dependencies...
looking for inter-conflicts

Targets (1): sudo-1.7.2p1-1

Total Download Size:     0.13MB
Total Installed Size:      0.33MB

Proceed with installation? [Y/n]
:: Retrieving packages from core...
Warning: Failed to retrieve some files from core
error: failed to commit transaction (no servers configured for repository)
Errors occurred, no packages were upgraded



What do I do? i need this to work:(

Last edited by gowireless (2010-05-12 02:44:30)

Offline

#2 2010-05-12 02:47:32

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,390
Website

Re: sudo Command wont install, please help

gowireless wrote:

error: failed to commit transaction (no servers configured for repository)

Uncomment a server in /etc/pacman.d/mirrorlist

Offline

#3 2010-05-12 02:50:20

gowireless
Member
Registered: 2010-05-12
Posts: 20

Re: sudo Command wont install, please help

how do i do that?

Offline

#4 2010-05-12 02:58:55

gowireless
Member
Registered: 2010-05-12
Posts: 20

Re: sudo Command wont install, please help

now its saying

-bash: /etc/pacman.d/mirrorlist: permission denied

Offline

#5 2010-05-12 02:59:36

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,390
Website

Re: sudo Command wont install, please help

Umm...   open the file in an editor, remove the "#" in front of the server(s) you want to use.

Offline

#6 2010-05-12 03:00:22

gowireless
Member
Registered: 2010-05-12
Posts: 20

Re: sudo Command wont install, please help

sorry, but how do you open an editor?

Offline

#7 2010-05-12 03:06:34

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,390
Website

Offline

#8 2010-05-12 03:12:00

gowireless
Member
Registered: 2010-05-12
Posts: 20

Re: sudo Command wont install, please help

im not so good at this, how would you open   "/etc/pacman.d/mirrorlist"     in nano? the exact line please

Last edited by gowireless (2010-05-12 03:12:29)

Offline

#9 2010-05-12 03:15:11

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,390
Website

Offline

#10 2010-05-12 05:28:03

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

Re: sudo Command wont install, please help

Switch to root then just run "nano /etc/pacman.d/mirrorlist".

Offline

#11 2010-05-12 20:39:41

schen
Member
Registered: 2009-06-06
Posts: 468

Re: sudo Command wont install, please help

Try to get a mirror that is in your local area.

Offline

#12 2010-05-12 21:10:31

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: sudo Command wont install, please help

gowireless - it's fairly clear that you have not read any documentation - or if you have, you have chosen to ignore it. The Beginners' Guide was written with people like you in mind, but even with that to assist you, some common sense and a willingness to help yourself are required. Please read and follow the document thoroughly. If you find that you still need answers to questions as simple as those above, search the wiki, this forum, and the rest of the web first. If you are still stuck, ask here.

Offline

Board footer

Powered by FluxBB