+ -
当前位置:首页 → 问答吧 → 请教源的设置!~ 己解决。有兴趣可以参考~!

请教源的设置!~ 己解决。有兴趣可以参考~!

时间:2009-10-21

来源:互联网

装好了。。对于源的设置。总弄不好。。。按教程上弄了。该注释的也弄了。。就是不知道如何设置。。。。请教一下。。现在pacman -Syu都没有反应。总报错。。。

作者: vacuumboby   发布时间: 2009-10-21

代码:
cat /etc/pacman.d/mirrorlist 
Server = http://mirrors.163.com/archlinux/$repo/os/x86_64
放在第一排,如果你是686的就把x86_64改为i686

作者: firefoxmmx   发布时间: 2009-10-21

引用:
作者: firefoxmmx
代码:
cat /etc/pacman.d/mirrorlist 
Server = http://mirrors.163.com/archlinux/$repo/os/x86_64
放在第一排,如果你是686的就把x86_64改为i686

谢谢。。但是现在163这个镜像登不上~!我这边网页都打不开。。。

作者: vacuumboby   发布时间: 2009-10-21

引用:
作者: firefoxmmx
代码:
cat /etc/pacman.d/mirrorlist 
Server = http://mirrors.163.com/archlinux/$repo/os/x86_64
还有就是。。我在字符界面下输入以上这组命令。。提示错误~!

作者: vacuumboby   发布时间: 2009-10-21

也许我没有表达情。。。我安装完系统后需要在线更新。。我应该进行哪些步骤。。。网上的教程说得不详细。

作者: vacuumboby   发布时间: 2009-10-21

引用:
作者: vacuumboby
还有就是。。我在字符界面下输入以上这组命令。。提示错误~!
把错误也贴出来。。。

作者: firefoxmmx   发布时间: 2009-10-21

引用:
作者: vacuumboby
还有就是。。我在字符界面下输入以上这组命令。。提示错误~!
My god!
引用:
cat /etc/pacman.d/mirrorlist
Server = http://mirrors.163.com/archlinux/$repo/os/x86_64
第二行是第一行命令的输出结果。

人家表示/etc/pacman.d/mirrorlist这个文件里只有一行内容:
引用:
Server = http://mirrors.163.com/archlinux/$repo/os/x86_64

作者: zlowly   发布时间: 2009-10-21

请看错误提示
上传的图像
未命名.JPG (113.0 KB, 26 次查看)

作者: vacuumboby   发布时间: 2009-10-21

看看你的pacman.conf和pacman.d/mirrorlist

作者: firefoxmmx   发布时间: 2009-10-21

引用:
作者: firefoxmmx
看看你的pacman.conf和pacman.d/mirrorlist
我下载的是最新版本的LIVE CD 安装完后。全是系统默认的。。里面有好多的源。。
pacman.d是默认的。没有改过。。
上传的图像
pacman.conf.JPG (131.5 KB, 6 次查看)

作者: vacuumboby   发布时间: 2009-10-21

是不是pacman.d/mirrorlist里面用cat看的话只能有一个源??

作者: vacuumboby   发布时间: 2009-10-21

引用:
作者: vacuumboby
是不是pacman.d/mirrorlist里面用cat看的话只能有一个源??
不是,我给你的是我这里的pacman.d/mirrorlist的内容。
cat 命令是 显示 目标文件的内容。
我这里pacman.d/mirrorlist文件里面只有一句。(因为不需要其它的,163以外的源贼慢。)。

作者: firefoxmmx   发布时间: 2009-10-21

cat /etc/pacman.conf
把内容发到这里。(我怀疑你配置网络没有。。)

作者: firefoxmmx   发布时间: 2009-10-21

引用:
作者: firefoxmmx
不是,我给你的是我这里的pacman.d/mirrorlist的内容。
cat 命令是 显示 目标文件的内容。
我这里pacman.d/mirrorlist文件里面只有一句。(因为不需要其它的,163以外的源贼慢。)。
明白了。。
Server前面需不需要加#注释??

作者: vacuumboby   发布时间: 2009-10-21

引用:
作者: firefoxmmx
cat /etc/pacman.conf
把内容发到这里。(我怀疑你配置网络没有。。)
我在VBOX里装的。不知道如何弄出来~!只好用截图。。
网络是正常的。可以Ping 通~!
我试过去Ping http://www.sohu.com

作者: vacuumboby   发布时间: 2009-10-21

引用:
作者: vacuumboby
明白了。。
Server前面需不需要加#注释??
yes(字数补丁)

作者: firefoxmmx   发布时间: 2009-10-21

引用:
作者: firefoxmmx
yes(字数补丁)
不明白。。。初学者~!
不好意思。见笑了。

作者: vacuumboby   发布时间: 2009-10-21

我现在输入
cat /etc/pacman.d/mirrorlist
Server = http://mirrors.163.com/archlinux/archlinux/$repo/os/i686

但是pacman -Syn后还是一样的错误提示~!

作者: vacuumboby   发布时间: 2009-10-21

引用:
作者: vacuumboby
不明白。。。初学者~!
linuxsir论坛,回复少于6个字符不能提交。所以需要字数补丁。。

作者: firefoxmmx   发布时间: 2009-10-21

引用:
作者: firefoxmmx
linuxsir论坛,回复少于6个字符不能提交。所以需要字数补丁。。
吓我一跳。我以为呢~!HOHO。。
还是没有弄明白要不要加。。看你的上面贴出来的应该是不需要加的。。。
但是我加了跟没有加都是一样。。。
很着急。。。。唉。。。

作者: vacuumboby   发布时间: 2009-10-21

cat /etc/pacman.conf
把内容发到这里。(我怀疑你配置网络没有。。)

你是用的虚拟机吧。 VBOX里面网卡模式是用的NAT么?
你可以 看看你的/etc/rc.conf文件。如果eth0="192.163..."之类的话,就把eth0设置为dhcp,像这样
代码:
eth0="dhcp"
INTERFACES=(eth0)
类似的。。然后/etc/rc.d/network restart

作者: firefoxmmx   发布时间: 2009-10-21

引用:
作者: firefoxmmx
cat /etc/pacman.conf
把内容发到这里。(我怀疑你配置网络没有。。)

你是用的虚拟机吧。 VBOX里面网卡模式是用的NAT么?
你可以 看看你的/etc/rc.conf文件。如果eth0="192.163..."之类的话,就把eth0设置为dhcp,像这样
代码:
eth0="dhcp"
INTERFACES=(eth0)
类似的。。然后/etc/rc.d/network restart
不好意思。没有用。我的设置。本来eth0就是DHCP。
重启网络后。问题依然没有改变~!

作者: vacuumboby   发布时间: 2009-10-21

163的源有问题啊。换别的吧。

作者: osfree   发布时间: 2009-10-22

引用:
作者: vacuumboby
我现在输入
cat /etc/pacman.d/mirrorlist
Server = http://mirrors.163.com/archlinux/archlinux/$repo/os/i686

但是pacman -Syn后还是一样的错误提示~!
Server = http://mirrors.163.com/archlinux/$repo/os/i686
你的多了一个archlinux

作者: xiaohuli1239   发布时间: 2009-10-22

引用:
作者: xiaohuli1239
Server = http://mirrors.163.com/archlinux/$repo/os/i686
你的多了一个archlinux
汗。出现了低级错误。。不好意思。修正后试试。。。

作者: vacuumboby   发布时间: 2009-10-22

实在不好意思。修正后。问题依旧。。好像是说pacman.conf里面没有指定更新源~!大至是这样的意思。。

作者: vacuumboby   发布时间: 2009-10-22

pacman.conf里面有
代码:
[core]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist
[extra]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist

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

作者: firefoxmmx   发布时间: 2009-10-22

引用:
作者: firefoxmmx
pacman.conf里面有
代码:
[core]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist
[extra]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist

[community]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist
这几句么?
有的啊~!我前面有截图的。。这些都有~!但是好像没有链接起来(个人感觉)

作者: vacuumboby   发布时间: 2009-10-22

Include我也注释掉了~!应该没有问题了。但是还是不可以更新。。

作者: vacuumboby   发布时间: 2009-10-22

。。。。你把INCLUDE注释了。。。。它怎么知道你的[core] [extra] 是什么来自哪里 呢??
服了你了。

作者: firefoxmmx   发布时间: 2009-10-22

引用:
作者: firefoxmmx
。。。。你把INCLUDE注释了。。。。它怎么知道你的[core] [extra] 是什么来自哪里 呢??
服了你了。
啊~!!那我回头把#加起来~!再试试。。

作者: vacuumboby   发布时间: 2009-10-22

报告。。。加上#注释后问题依旧存在~!

作者: vacuumboby   发布时间: 2009-10-22

不知道如果上QQ进行远程。或是MSN远程。可不可以帮我解决这个问题~!

作者: vacuumboby   发布时间: 2009-10-22

我发发我的文件,你自己对对,,我的pacman.conf文件
代码:
# 
# /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 = libdvdread 
#IgnoreGroup = 

#NoUpgrade =
#NoExtract =

# Misc options (all disabled by default)
#NoPassiveFtp 
#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. 
# 

# Testing is disabled by default. To enable, uncomment the following
# two 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]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist

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

[community]
# Add your preferred servers here, they will be used first
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

[kdemod-core]
Server = http://chakra-project.org/repo/kdemod-core/x86_64/
[kdemod-extragear]
Server = http://chakra-project.org/repo/kdemod-extragear/x86_64/
[kdemod-playground]
Server = http://chakra-project.org/repo/kdemod-playground/x86_64/
我的mirrorlist文件:
代码:
# 
# Arch Linux repository mirrorlist 
# 
#163 
Server = http://mirrors.163.com/archlinux/$repo/os/x86_64 
# North America 
# - United States 
Server = ftp://ftp.archlinux.org/$repo/os/x86_64 
Server = ftp://locke.suu.edu/linux/dist/archlinux/$repo/os/x86_64 
Server = http://archlinux.unixheads.org/$repo/os/x86_64 
Server = ftp://ftp.gtlib.gatech.edu/pub/linux/distributions/archlinux/$repo/os/x86_64 
Server = ftp://mirror.cs.vt.edu/pub/ArchLinux/$repo/os/x86_64 
Server = http://mirrors.easynews.com/linux/archlinux/$repo/os/x86_64 
Server = ftp://ftp.ibiblio.org/pub/linux/distributions/archlinux/$repo/os/x86_64 
Server = http://archlinux.umflint.edu/mirrors/archlinux/$repo/os/x86_64 
Server = http://mirror.neotuli.net/arch/$repo/os/x86_64 
Server = http://mirror.rit.edu/archlinux/$repo/os/x86_64 
Server = http://mirror.umoss.org/archlinux/$repo/os/x86_64 
Server = http://schlunix.org/archlinux/$repo/os/x86_64 
Server = http://mirror.archlinux.com.ve/$repo/os/x86_64 
Server = http://mirrors.gigenet.com/archlinux/$repo/os/x86_64 
# - Canada 
Server = ftp://mirror.csclub.uwaterloo.ca/archlinux/$repo/os/x86_64 
Server = ftp://mirrors.portafixe.com/archlinux/$repo/os/x86_64 

# South America
# - Brazil 
Server = http://archlinux.c3sl.ufpr.br/$repo/os/x86_64
Server = ftp://archlinux.c3sl.ufpr.br/archlinux/$repo/os/x86_64
Server = ftp://ftp.las.ic.unicamp.br/pub/archlinux/$repo/os/x86_64
# - Venezuela 
Server = http://mirror2.archlinux.com.ve/$repo/os/x86_64 

# Europe
# - Austria
Server = ftp://gd.tuwien.ac.at/opsys/linux/archlinux/$repo/os/x86_64
# - Belgium 
Server = ftp://ftp.belnet.be/mirror/archlinux.org/$repo/os/x86_64 
# - Czech Republic 
Server = ftp://ftp.sh.cvut.cz/MIRRORS/arch/$repo/os/x86_64 
# - Denmark 
Server = ftp://ftp.klid.dk/archlinux/$repo/os/x86_64 
# - Estonia 
Server = ftp://ftp.estpak.ee/pub/archlinux/$repo/os/x86_64 
# - France 
Server = ftp://mir1.archlinuxfr.org/archlinux/$repo/os/x86_64 
Server = ftp://mir2.archlinuxfr.org/archlinux/$repo/os/x86_64 
Server = ftp://distrib-coffee.ipsl.jussieu.fr/pub/linux/archlinux/$repo/os/x86_64
Server = http://mir.archlinux.fr/$repo/os/x86_64 
Server = ftp://ftp.free.fr/mirrors/ftp.archlinux.org/$repo/os/x86_64 
Server = ftp://ftp.rez-gif.supelec.fr/Linux/archlinux/$repo/os/x86_64 
# - Germany 
Server = ftp://ftp.hosteurope.de/mirror/ftp.archlinux.org/$repo/os/x86_64 
Server = ftp://ftp5.gwdg.de/pub/linux/archlinux/$repo/os/x86_64 
Server = ftp://ftp.uni-bayreuth.de/pub/linux/archlinux/$repo/os/x86_64 
Server = ftp://ftp.archlinuxppc.org/x86_64/$repo/os/x86_64 
Server = ftp://ftp.tu-chemnitz.de/pub/linux/archlinux/$repo/os/x86_64 
Server = http://ftp.uni-kl.de/pub/linux/archlinux/$repo/os/x86_64 
Server = ftp://mirrors.igprolin-online.org/archlinux/$repo/os/x86_64 
Server = ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/archlinux/$repo/os/x86_64 
# - Great Britain 
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 
Server = ftp://mirror.lividpenguin.com/pub/archlinux/$repo/os/x86_64 
# - Greece 
Server = ftp://ftp.ntua.gr/pub/linux/archlinux/$repo/os/x86_64 
# - Hungary 
Server = ftp://ftp.mfa.kfki.hu/pub/mirrors/ftp.archlinux.org/$repo/os/x86_64 
# - Ireland 
Server = ftp://ftp.heanet.ie/mirrors/ftp.archlinux.org/$repo/os/x86_64 
# - Italy 
Server = ftp://mi.mirror.garr.it/mirrors/archlinux/$repo/os/x86_64 
# - Netherlands 
Server = ftp://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 
# - Norway 
Server = http://mirror.archlinux.no/$repo/os/x86_64 
# - Poland 
Server = ftp://mirror.icis.pcz.pl/archlinux/$repo/os/x86_64 
Server = http://piotrkosoft.net/pub/mirrors/ftp.archlinux.org/$repo/os/x86_64 
Server = ftp://ftp.piotrkosoft.net/pub/mirrors/ftp.archlinux.org/$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 
# - Romania 
Server = ftp://ftp.iasi.roedu.net/mirrors/archlinux.org/$repo/os/x86_64 
# - Russia 
Server = ftp://mirror.yandex.ru/archlinux/$repo/os/x86_64 
Server = http://archlinux.freeside.ru/$repo/os/x86_64 
# - Sweden 
Server = ftp://ftp.ds.hj.se/pub/os/linux/archlinux/$repo/os/x86_64 
Server = ftp://ftp.gigabit.nu/$repo/os/x86_64 
# - Switzerland 
Server = http://archlinux.puzzle.ch/$repo/os/x86_64 
# - Turkey 
Server = ftp://ftp.linux.org.tr/pub/mirrors/archlinux/$repo/os/x86_64
# - Ukraine
Server = ftp://archlinux.hell.org.ua/archlinux/$repo/os/x86_64
Server = ftp://ftp.linux.kiev.ua/pub/Linux/ArchLinux/$repo/os/x86_64

# Asia
# - Indonesia
Server = http://archlinux.cbn.net.id/$repo/os/x86_64
Server = ftp://archlinux.cbn.net.id/pub/archlinux/$repo/os/x86_64
# - Israel
Server = http://mirror.isoc.org.il/pub/archlinux/$repo/os/x86_64
# - Vietnam
# Domain name is ftp.indochinalinux.com but there are frequent DNS problems
Server = ftp://202.78.230.5/archlinux/$repo/os/x86_64

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

作者: firefoxmmx   发布时间: 2009-10-22

引用:
作者: firefoxmmx
我发发我的文件,你自己对对,,我的pacman.conf文件
代码:
# 
# /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 = libdvdread 
#IgnoreGroup = 

#NoUpgrade =
#NoExtract =

# Misc options (all disabled by default)
#NoPassiveFtp 
#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. 
# 

# Testing is disabled by default. To enable, uncomment the following
# two 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]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist

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

[community]
# Add your preferred servers here, they will be used first
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

[kdemod-core]
Server = http://chakra-project.org/repo/kdemod-core/x86_64/
[kdemod-extragear]
Server = http://chakra-project.org/repo/kdemod-extragear/x86_64/
[kdemod-playground]
Server = http://chakra-project.org/repo/kdemod-playground/x86_64/
我的mirrorlist文件:
代码:
# 
# Arch Linux repository mirrorlist 
# 
#163 
Server = http://mirrors.163.com/archlinux/$repo/os/x86_64 
# North America 
# - United States 
Server = ftp://ftp.archlinux.org/$repo/os/x86_64 
Server = ftp://locke.suu.edu/linux/dist/archlinux/$repo/os/x86_64 
Server = http://archlinux.unixheads.org/$repo/os/x86_64 
Server = ftp://ftp.gtlib.gatech.edu/pub/linux/distributions/archlinux/$repo/os/x86_64 
Server = ftp://mirror.cs.vt.edu/pub/ArchLinux/$repo/os/x86_64 
Server = http://mirrors.easynews.com/linux/archlinux/$repo/os/x86_64 
Server = ftp://ftp.ibiblio.org/pub/linux/distributions/archlinux/$repo/os/x86_64 
Server = http://archlinux.umflint.edu/mirrors/archlinux/$repo/os/x86_64 
Server = http://mirror.neotuli.net/arch/$repo/os/x86_64 
Server = http://mirror.rit.edu/archlinux/$repo/os/x86_64 
Server = http://mirror.umoss.org/archlinux/$repo/os/x86_64 
Server = http://schlunix.org/archlinux/$repo/os/x86_64 
Server = http://mirror.archlinux.com.ve/$repo/os/x86_64 
Server = http://mirrors.gigenet.com/archlinux/$repo/os/x86_64 
# - Canada 
Server = ftp://mirror.csclub.uwaterloo.ca/archlinux/$repo/os/x86_64 
Server = ftp://mirrors.portafixe.com/archlinux/$repo/os/x86_64 

# South America
# - Brazil 
Server = http://archlinux.c3sl.ufpr.br/$repo/os/x86_64
Server = ftp://archlinux.c3sl.ufpr.br/archlinux/$repo/os/x86_64
Server = ftp://ftp.las.ic.unicamp.br/pub/archlinux/$repo/os/x86_64
# - Venezuela 
Server = http://mirror2.archlinux.com.ve/$repo/os/x86_64 

# Europe
# - Austria
Server = ftp://gd.tuwien.ac.at/opsys/linux/archlinux/$repo/os/x86_64
# - Belgium 
Server = ftp://ftp.belnet.be/mirror/archlinux.org/$repo/os/x86_64 
# - Czech Republic 
Server = ftp://ftp.sh.cvut.cz/MIRRORS/arch/$repo/os/x86_64 
# - Denmark 
Server = ftp://ftp.klid.dk/archlinux/$repo/os/x86_64 
# - Estonia 
Server = ftp://ftp.estpak.ee/pub/archlinux/$repo/os/x86_64 
# - France 
Server = ftp://mir1.archlinuxfr.org/archlinux/$repo/os/x86_64 
Server = ftp://mir2.archlinuxfr.org/archlinux/$repo/os/x86_64 
Server = ftp://distrib-coffee.ipsl.jussieu.fr/pub/linux/archlinux/$repo/os/x86_64
Server = http://mir.archlinux.fr/$repo/os/x86_64 
Server = ftp://ftp.free.fr/mirrors/ftp.archlinux.org/$repo/os/x86_64 
Server = ftp://ftp.rez-gif.supelec.fr/Linux/archlinux/$repo/os/x86_64 
# - Germany 
Server = ftp://ftp.hosteurope.de/mirror/ftp.archlinux.org/$repo/os/x86_64 
Server = ftp://ftp5.gwdg.de/pub/linux/archlinux/$repo/os/x86_64 
Server = ftp://ftp.uni-bayreuth.de/pub/linux/archlinux/$repo/os/x86_64 
Server = ftp://ftp.archlinuxppc.org/x86_64/$repo/os/x86_64 
Server = ftp://ftp.tu-chemnitz.de/pub/linux/archlinux/$repo/os/x86_64 
Server = http://ftp.uni-kl.de/pub/linux/archlinux/$repo/os/x86_64 
Server = ftp://mirrors.igprolin-online.org/archlinux/$repo/os/x86_64 
Server = ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/archlinux/$repo/os/x86_64 
# - Great Britain 
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 
Server = ftp://mirror.lividpenguin.com/pub/archlinux/$repo/os/x86_64 
# - Greece 
Server = ftp://ftp.ntua.gr/pub/linux/archlinux/$repo/os/x86_64 
# - Hungary 
Server = ftp://ftp.mfa.kfki.hu/pub/mirrors/ftp.archlinux.org/$repo/os/x86_64 
# - Ireland 
Server = ftp://ftp.heanet.ie/mirrors/ftp.archlinux.org/$repo/os/x86_64 
# - Italy 
Server = ftp://mi.mirror.garr.it/mirrors/archlinux/$repo/os/x86_64 
# - Netherlands 
Server = ftp://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 
# - Norway 
Server = http://mirror.archlinux.no/$repo/os/x86_64 
# - Poland 
Server = ftp://mirror.icis.pcz.pl/archlinux/$repo/os/x86_64 
Server = http://piotrkosoft.net/pub/mirrors/ftp.archlinux.org/$repo/os/x86_64 
Server = ftp://ftp.piotrkosoft.net/pub/mirrors/ftp.archlinux.org/$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 
# - Romania 
Server = ftp://ftp.iasi.roedu.net/mirrors/archlinux.org/$repo/os/x86_64 
# - Russia 
Server = ftp://mirror.yandex.ru/archlinux/$repo/os/x86_64 
Server = http://archlinux.freeside.ru/$repo/os/x86_64 
# - Sweden 
Server = ftp://ftp.ds.hj.se/pub/os/linux/archlinux/$repo/os/x86_64 
Server = ftp://ftp.gigabit.nu/$repo/os/x86_64 
# - Switzerland 
Server = http://archlinux.puzzle.ch/$repo/os/x86_64 
# - Turkey 
Server = ftp://ftp.linux.org.tr/pub/mirrors/archlinux/$repo/os/x86_64
# - Ukraine
Server = ftp://archlinux.hell.org.ua/archlinux/$repo/os/x86_64
Server = ftp://ftp.linux.kiev.ua/pub/Linux/ArchLinux/$repo/os/x86_64

# Asia
# - Indonesia
Server = http://archlinux.cbn.net.id/$repo/os/x86_64
Server = ftp://archlinux.cbn.net.id/pub/archlinux/$repo/os/x86_64
# - Israel
Server = http://mirror.isoc.org.il/pub/archlinux/$repo/os/x86_64
# - Vietnam
# Domain name is ftp.indochinalinux.com but there are frequent DNS problems
Server = ftp://202.78.230.5/archlinux/$repo/os/x86_64

# Australia
Server = ftp://mirror.pacific.net.au/linux/archlinux/$repo/os/x86_64
Server = ftp://mirror.aarnet.edu.au/pub/archlinux/$repo/os/x86_64
Server = ftp://ftp.iinet.net.au/pub/archlinux/$repo/os/x86_64
Server = http://mirror.internode.on.net/pub/archlinux/$repo/os/x86_64
看完之后。我发现我的被改成乱七八糟了。我重装一次算了。。
不是说mirrorlist只有163一个源?怎么你的里面这么多源??我的里面就只有一句话。。。太郁闷。。。还有就是pacman.conf里。。你后面的那些。
[kdemod-core]
Server = http://chakra-project.org/repo/kdemod-core/x86_64/
[kdemod-extragear]
Server = http://chakra-project.org/repo/kdemod-extragear/x86_64/
[kdemod-playground]
Server = http://chakra-project.org/repo/kdemo...ground/x86_64/

是自己加的?还是本来就有的??我的里面到Server那句就到底了。。我是i686架构。应该如何写?我现在去VBOX里重装~!

作者: vacuumboby   发布时间: 2009-10-22

谢谢贴出的mirrorlist。我从中得到了启示。。
我在安装的过程中。修改了我的mirrorlist
在前面添加了163源。现在pacman -Synu 正新正常。。谢谢。。。

作者: vacuumboby   发布时间: 2009-10-22

引用:
作者: vacuumboby
看完之后。我发现我的被改成乱七八糟了。我重装一次算了。。
不是说mirrorlist只有163一个源?怎么你的里面这么多源??我的里面就只有一句话。。。太郁闷。。。还有就是pacman.conf里。。你后面的那些。
[kdemod-core]
Server = http://chakra-project.org/repo/kdemod-core/x86_64/
[kdemod-extragear]
Server = http://chakra-project.org/repo/kdemod-extragear/x86_64/
[kdemod-playground]
Server = http://chakra-project.org/repo/kdemo...ground/x86_64/

是自己加的?还是本来就有的??我的里面到Server那句就到底了。。我是i686架构。应该如何写?我现在去VBOX里重装~!
后面那些是他自己加的KDEMOD的源。mirrorlist里面可以有很多源,连不上的话pacman会按顺序一个一个的试。
mirrorlist里面默认好像是全部注释掉的,要自己修改。

作者: xiaohuli1239   发布时间: 2009-10-22

引用:
作者: xiaohuli1239
后面那些是他自己加的KDEMOD的源。mirrorlist里面可以有很多源,连不上的话pacman会按顺序一个一个的试。
我现在糊涂了。。Include 前面加上#倒底是注释掉了还是添加注释啊??

作者: vacuumboby   发布时间: 2009-10-22

引用:
作者: vacuumboby
我现在糊涂了。。Include 前面加上#倒底是注释掉了还是添加注释啊??
注释掉了。就是意味着那句话无效。

作者: xiaohuli1239   发布时间: 2009-10-22

引用:
作者: xiaohuli1239
注释掉了。就是意味着那句话无效。
明白了。。那我把mirrorlist里所有的源前面的#号全删掉。。那就所有的源都可以用的。是这样理解吧。。。

作者: vacuumboby   发布时间: 2009-10-22

引用:
作者: vacuumboby
明白了。。那我把mirrorlist里所有的源前面的#号全删掉。。那就所有的源都可以用的。是这样理解吧。。。
是的,只不过,只要能连上pacman就用第一个,不管有多慢……

作者: xiaohuli1239   发布时间: 2009-10-22

谢谢。。。你~!我封贴了~!

作者: vacuumboby   发布时间: 2009-10-22