You are not logged in.
I can't get pacman -Syy to work after installing Arch. This isn't the first time I've installed Arch, so I'm a little surprised. All I can come up with is that I'm pretty sure that my hostname in /etc/rc.conf and /etc/hosts match, I've tried using three different mirrors (the one I used to install worked fine), and I can ping example.com with no problem. I'm connected with a hard wired ethernet connection.
I keep getting a bunch of lines saying that `config file /etc/pacman.d/mirrorlist, line 313:directive"http...etc" in section "core" not recognized' and then says the same for extra and community.
I had core, extra and community unchecked (the way they come in the install) in /etc/pacman.conf. I also unchecked the 'siglevel' comments to see if that did anything, but nothing changed.
Anyone have any thoughts?
Last edited by pottzie (2012-03-14 02:35:45)
Offline
It's never a bad idea to post exact error messages and maybe the lines they refer to. Based on the partial message (or did it come with the "...etc" part?), it would seem like the "Server =" is missing in your mirrorlist.
Offline
It gave the address of the mirror I used. I thought it was unnecessary for the problem i'm having, but I can include it if someone thinks it will help.
Offline
That 'Server' part is important, you can't use e.g.
http://ftp5.gwdg.de/pub/linux/archlinux/$repo/os/$arch
it has to be
Server = http://ftp5.gwdg.de/pub/linux/archlinux/$repo/os/$arch
Fix your mirrorlist, you are explicitely told which lines are bad.
Last edited by karol (2012-03-13 22:03:13)
Offline
Adding "Server =" got rid of the first error. I am still getting errors when i try either the mirror that I used to install Arch or the one I added to my mirror list.
Offline
I am still getting errors
If you want people to be able to help you, post the actual errors you are getting. If you think they are rather unspecific, add verbosity to your pacman command.
Offline
I had my doubts that would help. I had to leave, and threw that out, crossed my fingers and hoped. So here's what I get (adding -v after pacman just to see what came up. Nothing new appeared onscreen)
Error. Failed retrieving file 'core.db' for mirror ____ .The requested URL returned error 404.
Failed to update core (download library error)
Error. Failed retrieving file 'extra.db' from mirror ___ .The requested URL returned error 404
So that's the gist of it. Maybe you can see why I just said I was getting errors. Seems almost generic to me, but if anyone can make anything of it, I'd appreciate it.
Offline
Is that the actual output?? Why would it try to download from "______"
Can you post your actual and complete mirrorlist?
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Have you tried generating a new mirrorlist?
http://www.archlinux.org/mirrorlist/
Offline
karol's link did the deed! I had gone to the page that shows the most up to date mirrors and used that for the install. But when I used the link that karol gave it not only gave me the same URL as I used earlier to install, it gave me some additional suffixes that didn't appear on the page that provided the updated links. When I added /$repo/os/$arch, pacman took off and started burning rubber. So many thanks!
Now I can go ahead and install reflector, which is the first thing I try and do when I get an Arch install up and running. Thanks again.
After seeing karol's script in post#4, I see that the /$repo/os//4arch was showing up there also. I didn't see anything like that when I copied the link to install.
Last edited by pottzie (2012-03-14 02:42:28)
Offline
So we can look forward to more posts where you fail to include basic information despite being repeatedly asked for it?
Perhaps you might be inclined to do a little more to help yourself, and those trying to help you, next time?
Offline
Yes.
Offline