You are not logged in.

#1 2011-06-13 22:31:38

vegan
Member
From: Grand Forks, ND, USA
Registered: 2011-06-13
Posts: 78

[SOLVED] getting repositories to work

How do I find out which section to search for info on getting my repositories configured? I'm new to Arch Linux and I haven't set up my complete system. I'm still trying to get the Gnome desktop in place?

Last edited by vegan (2011-06-15 09:15:34)


The Lord giveth and the Lord taketh away. Richard Stallman giveth and I take away!

Offline

#2 2011-06-13 22:36:17

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

Re: [SOLVED] getting repositories to work

Welcome to Arch.

The community has provided excellent documentation, in the form of the Wiki. The Beginners' Guide steps you through everything your need to get your system up and running:

https://wiki.archlinux.org/index.php/Be … ith_pacman


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2011-06-13 22:39:11

Cdh
Member
Registered: 2009-02-03
Posts: 1,098

Re: [SOLVED] getting repositories to work

I'm not sure what you need....
Are you following the beginner's guide? If not, you probably should: https://wiki.archlinux.org/index.php/Beginners%27_Guide

Normally you wouldn't need to configure anything since the core, extra and community repositories are used by default.
The beginner's guide links to desktop environments which links to https://wiki.archlinux.org/index.php/GN … new_system

If anything goes wrong there, we need some more specific detail where and what.


฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz

Offline

#4 2011-06-13 22:57:08

vegan
Member
From: Grand Forks, ND, USA
Registered: 2011-06-13
Posts: 78

Re: [SOLVED] getting repositories to work

Thanks guys! I'm so surprised at your eagerness to help!

Okay, I go the networking working with the hard cable ethernet after the install of the base system (if that is correct) Then, I hit pacman -Syu and got:

failed to update the core (no servers configured for repository)
failed to update the extra "  "
failed to update the community "  "

I'm still used to being a point and click Linux user, so a lot of the terminology is new to me.


The Lord giveth and the Lord taketh away. Richard Stallman giveth and I take away!

Offline

#5 2011-06-13 23:00:51

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

Re: [SOLVED] getting repositories to work

Our eagerness to help is directly proportionate to the amount of work/reading you are prepared to do.

The error you posted is self-explanatory.

The link I provided above has all the steps you need. Work your way through it methodically - it is important that you understand your system and how it works.



-- Moving to Newbie Corner


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#6 2011-06-13 23:20:19

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

Re: [SOLVED] getting repositories to work

You need to uncomment it like this:

[community]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist

If you leave the '#' at the beginning of the line starting with 'Include', it won't work.

Last edited by karol (2011-06-13 23:21:32)

Offline

#7 2011-06-13 23:24:16

vegan
Member
From: Grand Forks, ND, USA
Registered: 2011-06-13
Posts: 78

Re: [SOLVED] getting repositories to work

Jason,

       Yes, I clicked on the link you sent me. I read the information about enabling repositories by modifying the configuration file at /etc/pacman.conf Then, I went into that file with nano and uncommented the lines. Though, I don't have any experience at modifying configuration files. I didn't understand what was going on, since Cdh wrote that the repositories are enabled by default, so I thought there might be an easier way. If I had understood it, then I wouldn't have tried to waste anyone's time by posting the question to begin with.

       I wasn't trying to ask for direct help. I was hoping you would tell me which section of the forum has this type of question. Maybe, I could search for another post and read their responses, so I wouldn't have to bother anyone, since you don't seem like you are enjoying helping me, anyway.

       I edited the etc/pacman.conf file and got something like:

line 64 directive mirror.d list not recognized


The Lord giveth and the Lord taketh away. Richard Stallman giveth and I take away!

Offline

#8 2011-06-13 23:32:05

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: [SOLVED] getting repositories to work

vegan, don't get your panties in a bunch. Saying that you "edited pacman.conf and got something like" doesn't help anyone. It certainly doesn't help us understanding your problem.

We need to know what changes you made and the exact error that you are getting in order to help you.


As an aside, we Archers have a "try first" mentality and although you probably think that is wrong, I am sure you will appreciate it the more you get involved with your system. So calm down and describe the problem correctly and concisely so someone can help.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#9 2011-06-13 23:33:53

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

Re: [SOLVED] getting repositories to work

Please post exact error messages - "something like" is not helpful.

Post your pacman.conf and your mirrorlist here, using forum code tags.

Offline

#10 2011-06-13 23:36:36

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

Re: [SOLVED] getting repositories to work

All of Arch's documentation is in the Wiki. The Guide I linked to is very detailed: you just need to work through each and every step.

There is no mirror.d - you must have made a typo when editing pacman.conf.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#11 2011-06-13 23:38:38

vegan
Member
From: Grand Forks, ND, USA
Registered: 2011-06-13
Posts: 78

Re: [SOLVED] getting repositories to work

I removed the comments from the beginning of all the repositories that were listed in that file and the line 'add your server here' Then, I hit pacman -Syu and it gave me the same inspecific error

failed to update the core (no servers configured for repository)
failed to update the extra "  "
failed to update the community "  "

Inxsible, what other information can I get for you about the problem?


The Lord giveth and the Lord taketh away. Richard Stallman giveth and I take away!

Offline

#12 2011-06-13 23:40:21

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: [SOLVED] getting repositories to work

As tomk mentioned, provide us with you mirrorlist and your pacman.conf. Make sure you use the BBCode code tags to display them : https://bbs.archlinux.org/help.php#bbcode


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#13 2011-06-13 23:52:19

vegan
Member
From: Grand Forks, ND, USA
Registered: 2011-06-13
Posts: 78

Re: [SOLVED] getting repositories to work

Inxsible,

         Yeah, I clicked on the Arch Forum Rules. It will take time to read it. I read Tomk's post after I sent my post. Okay, I'm trying to install Arch Linux on one computer, while typing into this forum on another. I guess there must be clear instructions on how to post the messages and the mirror list, the way he instructed.

          I feel like I have to apologize to you people, but I don't know what for. For being rude or getting upset, or just being too stupid or too inexperienced with computers to follow this stuff easily or to know how to work within the forum. I clicked on the BBCode link you sent and read some of it, but I couldn't find anything that would help me format a message in any way. What code am I supposed to be looking for? There is a lot on that page?

          Is there some intermediate step between Ubuntu and the hard distros like Gentoo and Arch, because I've never heard of it, if there is one.


The Lord giveth and the Lord taketh away. Richard Stallman giveth and I take away!

Offline

#14 2011-06-14 00:06:17

vegan
Member
From: Grand Forks, ND, USA
Registered: 2011-06-13
Posts: 78

Re: [SOLVED] getting repositories to work

Inxsible,

        Can I quit for today, so you don't have to police me? Am I allowed on another day?


The Lord giveth and the Lord taketh away. Richard Stallman giveth and I take away!

Offline

#15 2011-06-14 00:06:54

Diaz
Member
From: Portugal
Registered: 2008-04-16
Posts: 366

Re: [SOLVED] getting repositories to work

There is the file /etc/pacman.conf where you configure which repositories you want to use. By default i think it's enough even if you don't touch it.
Then this line Include = /etc/pacman.d/mirrorlist shows you which file really has the respositories urls.
In this file you should uncomment some urls, normally those closest to you.
After you uncomment those urls try pacman -Syyu again.

Offline

#16 2011-06-14 00:09:01

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: [SOLVED] getting repositories to work

no you don't have to apologize, but you still need to give us what we are asking in order to help you right?

Do you have internet access on the machine that you are trying to install Arch on? If yes, access the forums from there and simply copy paste your /etc/pacman.d/mirrorlist and your /etc/pacman.conf.

If you do not have internet access, then you can copy those files on a usb drive and then use your other computer to paste it.

Here's how you use the BBCode tags.  Its simple really. Surround the file that you paste in the reply with [code ] and [/code ] tags (without the spaces) and you will get a nice scrollable sub-window in your post thereby making it much easier to read. Here's an example of a code block.

sudo pacman foo

I am sorry to say, but if you are unwilling to read then Arch might be a bit much for you. The community will help you all you want but unfortunately no one is going to spoon feed you, unlike my current post here. The rules are the same for everyone. No one is policing you specifically.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#17 2011-06-14 00:17:34

vegan
Member
From: Grand Forks, ND, USA
Registered: 2011-06-13
Posts: 78

Re: [SOLVED] getting repositories to work

Inxsible,

      Yeah, I'm willing to read. It's okay. It's just a lot to adjust to in one day, so it will take time.

Let me try that:

[code ] sudo pacman foo [/code ]


The Lord giveth and the Lord taketh away. Richard Stallman giveth and I take away!

Offline

#18 2011-06-14 00:18:21

vegan
Member
From: Grand Forks, ND, USA
Registered: 2011-06-13
Posts: 78

Re: [SOLVED] getting repositories to work

Let me try that:

 sudo pacman foo 

The Lord giveth and the Lord taketh away. Richard Stallman giveth and I take away!

Offline

#19 2011-06-14 00:23:18

vegan
Member
From: Grand Forks, ND, USA
Registered: 2011-06-13
Posts: 78

Re: [SOLVED] getting repositories to work

thanks Diaz, that makes sense!


The Lord giveth and the Lord taketh away. Richard Stallman giveth and I take away!

Offline

#20 2011-06-14 00:49:47

vegan
Member
From: Grand Forks, ND, USA
Registered: 2011-06-13
Posts: 78

Re: [SOLVED] getting repositories to work

Okay, I went to the computer and brought the flash drive to try to cut and paste text, but my mouse doesn't work from within nano. There is a function inside nano to cut text, I guess line by line. I don't know how to mount the flash drive in the shell. I didn't even know all that was possible.


The Lord giveth and the Lord taketh away. Richard Stallman giveth and I take away!

Offline

#21 2011-06-14 01:01:44

Wey
Member
Registered: 2011-04-22
Posts: 217

Re: [SOLVED] getting repositories to work

You could use the command lsblk to identify the device file of your flash drive. It could be for example sdb1. Mount it to the directory /mnt with

mount /dev/sdb1 /mnt

Next copy the file you want with cp to /mnt, e. g.

cp /etc/pacman.d/mirrorlist /mnt

finally, unmount it:

umount /mnt

Offline

#22 2011-06-14 01:14:51

vegan
Member
From: Grand Forks, ND, USA
Registered: 2011-06-13
Posts: 78

Re: [SOLVED] getting repositories to work

Let's see if this works:


#
# Arch Linux repository mirrorlist
# Generated on 2010-01-31
#

# Any
#Server = ftp://mirrors.kernel.org/archlinux/$repo/os/x86_64
#Server = http://mirrors.kernel.org/archlinux/$repo/os/x86_64

# Australia
#Server = ftp://mirror.aarnet.edu.au/pub/archlinux/$repo/os/x86_64
#Server = http://mirror.aarnet.edu.au/pub/archlinux/$repo/os/x86_64
#Server = ftp://ftp.iinet.net.au/pub/archlinux/$repo/os/x86_64
#Server = http://ftp.iinet.net.au/pub/archlinux/$repo/os/x86_64
#Server = ftp://mirror.internode.on.net/pub/archlinux/$repo/os/x86_64
#Server = http://mirror.internode.on.net/pub/archlinux/$repo/os/x86_64
#Server = ftp://ftp.netspace.net.au/pub/archlinux/$repo/os/x86_64
#Server = http://ftp.netspace.net.au/pub/archlinux/$repo/os/x86_64
#Server = ftp://mirror.optus.net/archlinux/$repo/os/x86_64
#Server = http://mirror.optus.net/archlinux/$repo/os/x86_64

# Austria
#Server = ftp://gd.tuwien.ac.at/opsys/linux/archlinux/$repo/os/x86_64
#Server = http://gd.tuwien.ac.at/opsys/linux/archlinux/$repo/os/x86_64

# Belgium
#Server = ftp://ftp.belnet.be/packages/archlinux/$repo/os/x86_64
#Server = http://ftp.belnet.be/mirror/archlinux.org/$repo/os/x86_64
#Server = ftp://archlinux.mirror.kangaroot.net/pub/archlinux/$repo/os/x86_64
#Server = http://archlinux.mirror.kangaroot.net/$repo/os/x86_64

# Brazil
#Server = ftp://archlinux.c3sl.ufpr.br/archlinux/$repo/os/x86_64
#Server = http://archlinux.c3sl.ufpr.br/$repo/os/x86_64
#Server = ftp://ftp.las.ic.unicamp.br/pub/archlinux/$repo/os/x86_64
#Server = http://www.las.ic.unicamp.br/pub/archlinux/$repo/os/x86_64
#Server = http://pet.inf.ufsc.br/mirrors/archlinux/$repo/os/x86_64

# Bulgaria
#Server = http://archlinux.igor.onlinedirect.bg/$repo/os/x86_64

# Canada
Server = ftp://mirror.csclub.uwaterloo.ca/archlinux/$repo/os/x86_64
Server = http://mirror.csclub.uwaterloo.ca/archlinux/$repo/os/x86_64
Server = ftp://mirrors.portafixe.com/archlinux/$repo/os/x86_64
Server = http://mirrors.portafixe.com/archlinux/$repo/os/x86_64
Server = http://mirror.twilightlair.net/arch/$repo/os/x86_64

# Chile
#Server = ftp://mirror.archlinux.cl/$repo/os/x86_64

# China
#Server = http://mirrors.163.com/archlinux/$repo/os/x86_64
#Server = ftp://mirror.lupaworld.com/archlinux/$repo/os/x86_64
#Server = http://mirror.lupaworld.com/archlinux/$repo/os/x86_64
#Server = ftp://mirrors.sohu.com/archlinux/$repo/os/x86_64
#Server = http://mirrors.sohu.com/archlinux/$repo/os/x86_64

# Czech Republic
#Server = ftp://ftp.sh.cvut.cz/MIRRORS/arch/$repo/os/x86_64
#Server = http://ftp.sh.cvut.cz/MIRRORS/arch/$repo/os/x86_64

# Denmark
#Server = ftp://mirrors.dotsrc.org/archlinux/$repo/os/x86_64
#Server = http://mirrors.dotsrc.org/archlinux/$repo/os/x86_64
#Server = ftp://ftp.klid.dk/archlinux/$repo/os/x86_64

# Estonia
#Server = ftp://ftp.estpak.ee/pub/archlinux/$repo/os/x86_64
#Server = http://ftp.estpak.ee/pub/archlinux/$repo/os/x86_64

# Finland
#Server = ftp://mirror.archlinux.fi/archlinux/$repo/os/x86_64
#Server = http://mirror.archlinux.fi/archlinux/$repo/os/x86_64

# France
#Server = http://mir.archlinux.fr/$repo/os/x86_64
#Server = ftp://distrib-coffee.ipsl.jussieu.fr/pub/linux/archlinux/$repo/os/x86_64
#Server = http://distrib-coffee.ipsl.jussieu.fr/pub/linux/archlinux/$repo/os/x86_64
#Server = ftp://ftp.free.fr/mirrors/ftp.archlinux.org/$repo/os/x86_64
#Server = ftp://mir1.archlinux.fr/archlinux/$repo/os/x86_64
#Server = http://mir1.archlinux.fr/archlinux/$repo/os/x86_64
#Server = ftp://ftp.rez-gif.supelec.fr/Linux/archlinux/$repo/os/x86_64

# Germany
#Server = http://archlinux.limun.org/$repo/os/x86_64
#Server = ftp://www.archlinuxppc.org/x86_64/$repo/os/i686
#Server = ftp://mirror.giantix-server.de/archlinux/$repo/os/x86_64
#Server = http://mirror.giantix-server.de/archlinux/$repo/os/x86_64
#Server = ftp://ftp5.gwdg.de/pub/linux/archlinux/$repo/os/x86_64
#Server = http://ftp5.gwdg.de/pub/linux/archlinux/$repo/os/x86_64
#Server = ftp://ftp.hosteurope.de/mirror/ftp.archlinux.org/$repo/os/x86_64
#Server = http://ftp.hosteurope.de/mirror/ftp.archlinux.org/$repo/os/x86_64
#Server = ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/archlinux/$repo/os/x86_64
#Server = http://ftp-stud.hs-esslingen.de/pub/Mirrors/archlinux/$repo/os/x86_64
#Server = ftp://mirrors2.portafixe.com/archlinux/$repo/os/x86_64
#Server = http://mirrors2.portafixe.com/archlinux/$repo/os/x86_64
#Server = ftp://mirror.selfnet.de/archlinux/$repo/os/x86_64
#Server = http://mirror.selfnet.de/archlinux/$repo/os/x86_64
#Server = ftp://ftp.spline.inf.fu-berlin.de/mirrors/archlinux/$repo/os/x86_64
#Server = http://ftp.spline.inf.fu-berlin.de/mirrors/archlinux/$repo/os/x86_64
#Server = ftp://ftp.tu-chemnitz.de/pub/linux/archlinux/$repo/os/x86_64
#Server = http://ftp.tu-chemnitz.de/pub/linux/archlinux/$repo/os/x86_64
#Server = ftp://ftp.uni-bayreuth.de/pub/linux/archlinux/$repo/os/x86_64
#Server = http://ftp.uni-bayreuth.de/linux/archlinux/$repo/os/x86_64
#Server = ftp://ftp.uni-kl.de/pub/linux/archlinux/$repo/os/x86_64
#Server = http://ftp.uni-kl.de/pub/linux/archlinux/$repo/os/x86_64

# Great Britain
#Server = ftp://mirror.lividpenguin.com/pub/archlinux/$repo/os/x86_64
#Server = http://mirror.lividpenguin.com/pub/archlinux/$repo/os/x86_64
#Server = http://www.mirrorservice.org/sites/ftp.archlinux.org/$repo/os/x86_64
#Server = ftp://mirrors.uk2.net/pub/archlinux/$repo/os/x86_64
#Server = http://archlinux.mirrors.uk2.net/$repo/os/x86_64

# Greece
#Server = ftp://ftp.cc.uoc.gr/mirrors/linux/archlinux/$repo/os/x86_64
#Server = http://ftp.cc.uoc.gr/mirrors/linux/archlinux/$repo/os/x86_64
#Server = ftp://ftp.ntua.gr/pub/linux/archlinux/$repo/os/x86_64
#Server = http://ftp.ntua.gr/pub/linux/archlinux/$repo/os/x86_64
#Server = ftp://ftp.otenet.gr/pub/linux/archlinux/$repo/os/x86_64
#Server = http://ftp.otenet.gr/linux/archlinux/$repo/os/x86_64

# Hungary
#Server = ftp://ftp.mfa.kfki.hu/pub/mirrors/ftp.archlinux.org/$repo/os/x86_64

# India
#Server = ftp://mirror.cse.iitk.ac.in/archlinux/$repo/os/x86_64
#Server = http://mirror.cse.iitk.ac.in/archlinux/$repo/os/x86_64

# Indonesia
#Server = ftp://archlinux.cbn.net.id/pub/archlinux/$repo/os/x86_64
#Server = http://archlinux.cbn.net.id/$repo/os/x86_64
#Server = ftp://mirror.unej.ac.id/archlinux/$repo/os/x86_64
#Server = http://mirror.unej.ac.id/archlinux/$repo/os/x86_64

# Ireland
#Server = ftp://ftp.heanet.ie/mirrors/ftp.archlinux.org/$repo/os/x86_64
#Server = http://ftp.heanet.ie/mirrors/ftp.archlinux.org/$repo/os/x86_64

# Israel
#Server = http://mirror.isoc.org.il/pub/archlinux/$repo/os/x86_64

# Italy
#Server = ftp://mi.mirror.garr.it/mirrors/archlinux/$repo/os/x86_64
#Server = http://mi.mirror.garr.it/mirrors/archlinux/$repo/os/x86_64

# Japan
#Server = ftp://ftp.yz.yamagata-u.ac.jp/pub/linux/archlinux/$repo/os/x86_64
#Server = http://ftp.yz.yamagata-u.ac.jp/pub/linux/archlinux/$repo/os/x86_64

# Kazakhstan
#Server = ftp://archlinux.linuxforum.kz/$repo/os/x86_64
#Server = http://archlinux.linuxforum.kz/$repo/os/x86_64

# Latvia
#Server = http://archlinux.goodsoft.lv/$repo/os/x86_64

# Lithuania
#Server = ftp://atviras.lt/archmirror/$repo/os/x86_64
#Server = http://atviras.lt/archmirror/$repo/os/x86_64

# Netherlands
#Server = ftp://mirror.leaseweb.com/archlinux/$repo/os/x86_64
#Server = http://mirror.leaseweb.com/archlinux/$repo/os/x86_64
#Server = ftp://ftp.nluug.nl/pub/metalab/distributions/archlinux/$repo/os/x86_64
#Server = http://ftp.nluug.nl/pub/metalab/distributions/archlinux/$repo/os/x86_64
#Server = ftp://ftp.surfnet.nl/pub/os/Linux/distr/archlinux/$repo/os/x86_64
#Server = http://ftp.surfnet.nl/pub/os/Linux/distr/archlinux/$repo/os/x86_64

# New Caledonia
#Server = ftp://archlinux.nautile.nc/archlinux/$repo/os/x86_64
#Server = http://archlinux.nautile.nc/archlinux/$repo/os/x86_64

# Norway
#Server = ftp://mirror.archlinux.no/$repo/os/x86_64
#Server = http://mirror.archlinux.no/$repo/os/x86_64

# Poland
#Server = ftp://mirror.icis.pcz.pl/archlinux/$repo/os/x86_64
#Server = ftp://ftp.piotrkosoft.net/pub/mirrors/ftp.archlinux.org/$repo/os/x86_64
#Server = http://piotrkosoft.net/pub/mirrors/ftp.archlinux.org/$repo/os/x86_64
#Server = ftp://ftp.pwsz.elblag.pl/pub/linux/distributions/archlinux/$repo/os/x86_64
#Server = http://ftp.pwsz.elblag.pl/pub/linux/distributions/archlinux/$repo/os/x86_64
#Server = ftp://ftp.tpnet.pl/pub/linux/archlinux/$repo/os/x86_64
#Server = http://unix.net.pl/archlinux.org/$repo/os/x86_64

# Portugal
#Server = ftp://cesium.di.uminho.pt/pub/archlinux/$repo/os/x86_64
#Server = http://cesium.di.uminho.pt/pub/archlinux/$repo/os/x86_64
#Server = http://darkstar.ist.utl.pt/archlinux/$repo/os/x86_64
#Server = ftp://ftp.nux.ipb.pt/pub/dists/archlinux/$repo/os/x86_64
#Server = http://ftp.nux.ipb.pt/pub/dists/archlinux/$repo/os/x86_64
#Server = ftp://ftp.rnl.ist.utl.pt/pub/archlinux/$repo/os/x86_64
#Server = http://ftp.rnl.ist.utl.pt/pub/archlinux/$repo/os/x86_64

# Romania
#Server = http://mirror.archlinux.ro/archlinux/$repo/os/x86_64
#Server = ftp://ftp.roedu.net/mirrors/archlinux.org/$repo/os/x86_64
#Server = http://ftp.roedu.net/mirrors/archlinux.org/$repo/os/x86_64

# Russia
#Server = http://archlinux.freeside.ru/$repo/os/x86_64
#Server = ftp://mirror.svk.su/archlinux/$repo/os/x86_64
#Server = http://mirror.svk.su/archlinux/$repo/os/x86_64
#Server = ftp://mirror.yandex.ru/archlinux/$repo/os/x86_64
#Server = http://mirror.yandex.ru/archlinux/$repo/os/x86_64

# Spain
#Server = ftp://ftp.rediris.es/mirror/archlinux/$repo/os/x86_64
#Server = http://sunsite.rediris.es/mirror/archlinux/$repo/os/x86_64

# Sweden
#Server = ftp://ftp.df.lth.se/pub/archlinux/$repo/os/x86_64
#Server = http://ftp.df.lth.se/pub/archlinux/$repo/os/x86_64
#Server = ftp://ftp.ds.hj.se/pub/os/linux/archlinux/$repo/os/x86_64
#Server = http://ftp.ds.hj.se/pub/os/linux/archlinux/$repo/os/x86_64
#Server = ftp://ftp.gigabit.nu/$repo/os/x86_64
#Server = http://ftp.gigabit.nu/$repo/os/x86_64
#Server = ftp://ftp.port80.se/archlinux/$repo/os/x86_64
#Server = http://ftp.port80.se/archlinux/$repo/os/x86_64

# Switzerland
#Server = ftp://archlinux.puzzle.ch/$repo/os/x86_64
#Server = http://archlinux.puzzle.ch/$repo/os/x86_64

# Taiwan
#Server = ftp://ftp.tku.edu.tw/Linux/ArchLinux/$repo/os/x86_64
#Server = http://ftp.tku.edu.tw/Linux/ArchLinux/$repo/os/x86_64

# Turkey
#Server = ftp://ftp.linux.org.tr/archlinux/$repo/os/x86_64

# Ukraine
#Server = ftp://archlinux.hell.org.ua/archlinux/$repo/os/x86_64
#Server = http://archlinux.hell.org.ua/archlinux/$repo/os/x86_64
#Server = ftp://ftp.linux.kiev.ua/pub/Linux/ArchLinux/$repo/os/x86_64
#Server = http://ftp.linux.kiev.ua/pub/Linux/ArchLinux/$repo/os/x86_64

# United States
#Server = ftp://mirror.cs.vt.edu/pub/ArchLinux/$repo/os/x86_64
#Server = http://mirror.cs.vt.edu/pub/ArchLinux/$repo/os/x86_64
#Server = ftp://mirrors.easynews.com/linux/archlinux/$repo/os/x86_64
#Server = http://mirrors.easynews.com/linux/archlinux/$repo/os/x86_64
#Server = ftp://ftp.archlinux.org/$repo/os/x86_64
#Server = http://mirrors.gigenet.com/archlinux/$repo/os/x86_64
#Server = ftp://ftp.gtlib.gatech.edu/pub/linux/distributions/archlinux/$repo/os/x86_64
#Server = http://www.gtlib.gatech.edu/pub/linux/distributions/archlinux/$repo/os/x86_64
#Server = ftp://mirrors.hosef.org/archlinux/$repo/os/x86_64
#Server = http://mirrors.hosef.org/archlinux/$repo/os/x86_64
#Server = ftp://ibiblio.org/pub/linux/distributions/archlinux/$repo/os/x86_64
#Server = http://distro.ibiblio.org/pub/linux/distributions/archlinux/$repo/os/x86_64
#Server = http://archlinux.linuxfreedom.com/$repo/os/x86_64
#Server = ftp://locke.suu.edu/linux/dist/archlinux/$repo/os/x86_64
#Server = ftp://lug.mtu.edu/archlinux/ftpfull/$repo/os/x86_64
#Server = http://lug.mtu.edu/archlinux/ftpfull/$repo/os/x86_64
#Server = ftp://mirrors.xmission.com/archlinux/$repo/os/x86_64
#Server = http://mirrors.xmission.com/archlinux/$repo/os/x86_64
#Server = ftp://mirror.rit.edu/archlinux/$repo/os/x86_64
#Server = http://mirror.rit.edu/archlinux/$repo/os/x86_64
#Server = http://schlunix.org/archlinux/$repo/os/x86_64
#Server = http://archlinux.umflint.edu/$repo/os/x86_64
#Server = http://mirror.umoss.org/archlinux/$repo/os/x86_64

# Vietnam
#Server = ftp://202.78.230.5/archlinux/$repo/os/x86_64
#Server = ftp://ftp.indochinalinux.com/archlinux/$repo/os/x86_64
#Server = ftp://mirror-fpt-telecom.fpt.net/archlinux/$repo/os/x86_64
#Server = http://mirror-fpt-telecom.fpt.net/archlinux/$repo/os/x86_64 

The Lord giveth and the Lord taketh away. Richard Stallman giveth and I take away!

Offline

#23 2011-06-14 01:39:14

vegan
Member
From: Grand Forks, ND, USA
Registered: 2011-06-13
Posts: 78

Re: [SOLVED] getting repositories to work

Okay, what do I do next?


#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives

#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir     = /
#DBPath      = /var/lib/pacman/
#CacheDir    = /var/cache/pacman/pkg/
#LogFile     = /var/log/pacman.log
HoldPkg     = pacman glibc
# If upgrades are available for these packages they will be asked for first
SyncFirst   = pacman
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#XferCommand = /usr/bin/curl %u > %o
#CleanMethod = KeepInstalled

# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg   =
#IgnoreGroup =

#NoUpgrade   =
#NoExtract   =

# Misc options (all disabled by default)
#UseSyslog
#ShowSize
#UseDelta
#TotalDownload

#
# REPOSITORIES
#   - can be defined here or included from another file
#   - pacman will search repositories in the order defined here
#   - local/custom mirrors can be added here or in separate files
#   - repositories listed first will take precedence when packages
#     have identical names, regardless of version number
#   - URLs will have $repo replaced by the name of the current repo
#
# Repository entries are of the format:
#       [repo-name]
#       Server = ServerName
#       Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#

# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.

#[testing]

Include = /etc/pacman.d/mirrorlist

[core]

Include = /etc/pacman.d/mirrorlist

[extra]
Include = /etc/pacman.d/mirrorlist

[community-testing]
Include = /etc/pacman.d/mirrorlist

[community]
Include = /etc/pacman.d/mirrorlist

# An example of a custom package repository.  See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#Server = file:///home/custompkgs

The Lord giveth and the Lord taketh away. Richard Stallman giveth and I take away!

Offline

#24 2011-06-14 02:07:13

Wey
Member
Registered: 2011-04-22
Posts: 217

Re: [SOLVED] getting repositories to work

First make sure to comment out the testing repositories in /etc/pacman.conf:

#[testing]
#Include = /etc/pacman.d/mirrorlist
...
#[community-testing]
#Include = /etc/pacman.d/mirrorlist

Then try to add somewhere below [options]:

Architecture = auto

Then, as suggested by Diaz, run pacman -Syyu. If this is a fresh install from the 2010.05 iso, your pacman is probably outdates and you will be prompted to update it first. also you may need to run pacman-db-upgrade afterwards, as the database format changed.

Offline

#25 2011-06-14 02:32:13

Diaz
Member
From: Portugal
Registered: 2008-04-16
Posts: 366

Re: [SOLVED] getting repositories to work

Change the part of the repositories to:

#[testing]
#Include = /etc/pacman.d/mirrorlist

[core]
Include = /etc/pacman.d/mirrorlist

[extra]
Include = /etc/pacman.d/mirrorlist

#[community-testing]
#Include = /etc/pacman.d/mirrorlist

[community]
Include = /etc/pacman.d/mirrorlist

Use testing only if you are really prepared to have a broken system (sometimes). And as i see you are just starting, so no testing for you tongue.
Next i would say that the pair
[repo -name]
Url/Include line
should be close thogeter but i'm not sure.

Your mirrorlist seems fine. So just update (pacman -Syyu) it will ask to upgrade pacman first. Then it will update it and finish. Don't be surprised. And after that be sure to check again the file /etc/pacman.conf and /etc/pacman.conf.pacnew for new changes introduced and adapt the file as you see fit.



There was an update regarding the repositories format, somebody with more knowlegde that me can if it's necessary to do anything because of that? I don't remember...

Offline

Board footer

Powered by FluxBB