You are not logged in.
Pages: 1
Topic closed
just installed arch, made new user. rebooted
logged into root, pacman -S xorg, got invalid locale error and xorg not found in sync db
I cannot open /etc/locale.gen (permission denied) for some reason, actually even rc.conf and pacman.conf I get permission denied. maybe I don't know how to properly open these things. at the [root@..]# i just type /etc/locale.gen
I'm not sure if I have to configure my internet, I have a cable modem connected with ethernet card.
Can someone help plz me?, maybe give me the most basic steps from getting from where I am to pacman -S xorg working and to a GUI.
maybe i have to configure pacman too??
Offline
I think the first thing is to check out your /etc/locale.gen file. The way you're trying to open it is trying to execute the file. The permission denied error is because the file doesn't have the execute bit set! You need to load the file in a text editor so try nano /etc/locale.gen
If you edit the file then you'll need to run locale-gen at the root prompt.
Now that I think about it, the problem is most likely in /etc/rc.conf where your locale is actually set. Open that file using nano and make sure LOCALE is set properly. In my case, for Canadian english using UTF8, i have LOCALE="en_CA.utf8"
Last edited by dmartins (2008-01-10 20:51:48)
Offline
Can someone help plz me?, maybe give me the most basic steps from getting from where I am to pacman -S xorg working and to a GUI.
Yes that is what Beginner's Guide in wiki was created for.
Other than that you should use the latest install cd from the Announcement forum, since the latest official cd is frankly quite old by now.
Offline
Perhaps the pacman program is not up tp date.
To test its setup, use......pacman -S pacman....
In addition, look at
/etc/pacman.conf
This must have....
[core]
and not;
[current]
And in the server list for [CORE], change it to /core as well.
You may have already done these things?
The internet is set up in...
/etc/rc.conf
You can use nano edit program,....
#cd /etc
nano rc.conf
Good luck!
Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit! X-ray confirms Iam spineless!
Offline
ok thx alot, i got some things moving now. When i do pacman -S pacman it fails to connect to any of the sites and i get some kind of "resolver" error so i'm guessing probably my internet is not configured properly which I don't know how to do even with the guides. I live in Canada and have videotron highspeed cable internet with a motorola modem connected not via usb but via ethernet (i guess). How exactly do I configure this, its not DSL, is it ISDN?
Offline
Your Cablemodem is probably connected like mine. I have the same one here in Argentina.
Your Cablemodem assigns all configurations automatically via DHCP. Make sure you did configure
/etc/rc.conf accordingly.
eth0="dhcp"
Offline
that's all the config i have to do? if so, i'm pretty sure it was configured like that. Then I have no idea why pacman is not working
Offline
It's basically just an ethernet connection which more than likely gets an addressing using DHCP.
Run ifconfig -a and make sure you have a listing for 'eth0'. eth0 should be your ethernet connection. If eth0 isn't listed then you probably don't have the kernel module (driver) loaded for your network card. If that's the case, we'll need to know what type network card you have (more specifically the chip it uses), the relevant line from the lspci command usually gives some clues.
If eth0 is listed but you still cant connect, edit /etc/rc.conf again.
You'll need the following:
eth0="dhcp"
INTERFACES=(eth0)
ROUTES=(!gateway)
It doesn't matter what gateway is set to, you should get this information automatically using DHCP.
Make changes if necessary and reboot.
Offline
well, for starters you can run ifconfig to see if your ethernet card was properly detected and whether you got IP address by DHCP.
Offline
ya it seems like everything there is ok, i got listings under eth0 and ip address and everything. But pacman -S xorg still gives me "xorg not found in sync db"
Offline
did you synchronize pacman database at all? (pacman -Sy)
Last edited by fwojciec (2008-01-10 22:25:49)
Offline
....no
Offline
lol, i tried it: long list of failed attempts and at the end:
error: failed to synchronize community: transient resolver failure
error: failed to synchronize databases
Offline
All I can say is: http://wiki.archlinux.org/index.php/Beginners_Guide
Honestly -- all the answers you're looking for are there and phrased more clearly and in more detail than what you could get on the forums. At the moment your network doesn't seem to be working so get that sorted out first. I would, in fact, recommend just following the guide from the beginning to the end, because if you skip some steps some things are not going to work as they should.
Offline
post your pacman.conf here. its located in /etc/pacman.conf
in particular, read this part of the beginners guide. Just click the link and read everything in that sub-category. then try pinging google
http://wiki.archlinux.org/index.php/Beg … The_System
ping -c 3 www.google.com
Last edited by jacko (2008-01-10 23:02:44)
Offline
Perhaps you should now go back to my first post and do the steps therein to resolve the pacman problem.
Pacman must have the correct ...pacman.conf ...entries in [core] as was posted.
Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit! X-ray confirms Iam spineless!
Offline
YES!, thank you all i managed to get it to work. I dled and installed xorg, but it wont run (vga failed) i think i have to add my username to sound and video
Offline
Unfortunately, the reason you are running into problems everywhere, is because you failed to properly follow the installation procedure.
And, you will probably continue to run into a lot of obstacles and frustration by ignoring the correct process.
Please read and follow the Beginner's Guide as was suggested.
Offline
YES!, thank you all i managed to get it to work. I dled and installed xorg, but it wont run (vga failed) i think i have to add my username to sound and video
it helps when u point out exactly what the problem is. But, since u can't/won't do that I will take a guess and say u haven't done a
X --configure
to generate a xorg.conf file that xorg can use to start with, that's why, could be wrong though!
now READ the beginners guide, this is all covered in that one manual on the wiki.
Last edited by jacko (2008-01-11 13:12:15)
Offline
Hi all, I have same problem like OP. Did a successful install of Arch and booted into it. Network and Internet work fine, I checked with "ping www.google.com". But whan I do "pacman -S something" (with 'something' being xorg, kde or gnome) i get "something not found in sync db".
I could not get anywhere following instructions on Wiki (did everything and still same). I am now posting from Ubuntu (on another partition) and trying to edit Arch .conf files from there. Any help would be appreciated.
EDIT: I instaled Core image, latest one, I think it's 2009.8. It is x86-64.
Last edited by gnufreex (2009-11-16 15:58:31)
Offline
Hi all, I have same problem like OP. Did a successful install of Arch and booted into it. Network and Internet work fine, I checked with "ping www.google.com". But whan I do "pacman -S something" (with 'something' being xorg, kde or gnome) i get "something not found in sync db".
I could not get anywhere following instructions on Wiki (did everything and still same). I am now posting from Ubuntu (on another partition) and trying to edit Arch .conf files from there. Any help would be appreciated.
EDIT: I instaled Core image, latest one, I think it's 2009.8. It is x86-64.
Also, just make sure your mirrorlist is sane and do a -Sy
Last edited by Mr.Elendig (2009-11-16 16:08:31)
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
As the previous intertubes inhabitant already pointed out, don't bump dead topics please.
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
Pages: 1
Topic closed