You are not logged in.

#1 2012-03-13 21:09:44

pottzie
Member
Registered: 2010-05-08
Posts: 117

[solved] Not updating on first boot after new install

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

#2 2012-03-13 21:33:58

Raynman
Member
Registered: 2011-10-22
Posts: 1,539

Re: [solved] Not updating on first boot after new install

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

#3 2012-03-13 21:46:35

pottzie
Member
Registered: 2010-05-08
Posts: 117

Re: [solved] Not updating on first boot after new install

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

#4 2012-03-13 22:03:00

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

Re: [solved] Not updating on first boot after new install

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

#5 2012-03-13 22:18:12

pottzie
Member
Registered: 2010-05-08
Posts: 117

Re: [solved] Not updating on first boot after new install

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

#6 2012-03-13 22:43:48

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: [solved] Not updating on first boot after new install

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

#7 2012-03-14 01:57:53

pottzie
Member
Registered: 2010-05-08
Posts: 117

Re: [solved] Not updating on first boot after new install

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

#8 2012-03-14 02:13:09

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,530
Website

Re: [solved] Not updating on first boot after new install

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

#9 2012-03-14 02:16:35

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

Re: [solved] Not updating on first boot after new install

Have you tried generating a new mirrorlist?
http://www.archlinux.org/mirrorlist/

Offline

#10 2012-03-14 02:35:18

pottzie
Member
Registered: 2010-05-08
Posts: 117

Re: [solved] Not updating on first boot after new install

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

#11 2012-03-14 02:45:14

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

Re: [solved] Not updating on first boot after new install

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?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#12 2012-03-14 03:08:49

pottzie
Member
Registered: 2010-05-08
Posts: 117

Re: [solved] Not updating on first boot after new install

Yes.

Offline

Board footer

Powered by FluxBB