You are not logged in.

#1 2011-06-17 22:37:22

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

[solved] pacman mirrorlist "directive 'x' not recognized"

I'm bungling through an install and tried using reflector to get speedier mirrors. Somehow I hosed myself, as when I checked mirrorlist it was blank(!), so I recopied the back-up to /etc/pacman.d/mirrorlist. Now when I run pacman -Syy I get:
   
error: config file /etc/pacman.d/mirrolist, line 1: directive 'x' in repository section 'core' not recognized.

The a line saying the same holds true for extra and community. Then it tries to sync servers and says: failed to update core (no servers configured for repository), and again for extra and community.  I tried to get openssh so I could go in remotely and copy the screen, but "no servers configured for repository." 

Can anyone get me out of this can of worms?

Last edited by pottzie (2011-06-17 23:58:40)

Offline

#2 2011-06-17 22:50:53

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

Re: [solved] pacman mirrorlist "directive 'x' not recognized"

Can you please post the /etc/pacman.d/mirrolist? At least the first couple lines.

Offline

#3 2011-06-17 23:31:32

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

Re: [solved] pacman mirrorlist "directive 'x' not recognized"

x#Mirror used during installation
Server = http:/mirror.cs.vt.edu/pub/ArchLinux/$repo/os/i686

(Which now that i look at I recognize as the server i chose for the installation!)

Then, just the rest of the standard mirror list, and i uncommented the U.S. mirrors.

Offline

#4 2011-06-17 23:37:24

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

Re: [solved] pacman mirrorlist "directive 'x' not recognized"

I suggest you remove that 'x' from the first line.

Offline

#5 2011-06-17 23:58:12

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

Re: [solved] pacman mirrorlist "directive 'x' not recognized"

Done!  Seems to work.....Thanks!

Offline

Board footer

Powered by FluxBB