分页: 1 / 2
[求助]初用linux,ping得通,pacman出错
发表于 : 2009-09-08 19:15
由 M.T.
第一用linux,下的archlinux刻盘安装。根据wiki的中文教程。
安装完成到系统更新时出现问题。
ping
http://www.google.cn
ping
http://www.baidu.com
都没有问题,延迟也正常
#pacman -Sy
::Synchronizing package databases..
error:faild to update core (no servers configured for repository)
error:faild to update extra (no servers configured for repository)
error:faild to update community (no servers configured for repository)
error:faild to synchronize any datebases
查找资料多时,无法解决,请各位前辈帮忙。
注:mirrorlist用默认的不行,删除了各源前面的“#”还是不行.....
Re: [求助]初用linux,ping得通,pacman出错
发表于 : 2009-09-08 21:07
由 guiwen1158
配置文件呢?LZ都用了些什么源,帖出来瞧瞧。
Re: [求助]初用linux,ping得通,pacman出错
发表于 : 2009-09-08 21:22
由 注册太麻烦
应该是pacman.conf设置有问题,贴出来看看
Re: [求助]初用linux,ping得通,pacman出错
发表于 : 2009-09-08 21:24
由 gza633
看()里的E文提示
不是mirrorlist里的配置有错误 就是pacman.conf有错误
都贴出来瞧瞧
Re: [求助]初用linux,ping得通,pacman出错
发表于 : 2009-09-09 9:46
由 M.T.
#nano /etc/pacman.d/mirrorlist
#
# Arch Linux respository mirrorlist
# Generated on 2009--6-16
#
# Xyne-any
#server =
http://xyne.archlinux.ca/repos/sny
# Australia(不会在linux里面复制文件,用另外一台本本敲上来的,都是一装上就有都默认源,就不全敲了。)
#server =
ftp://mirror.aarnet.edu.au/pub/archlinux/$repo/os/i686
#server = ......
#server = .......
......
# Austria
#server =
ftp://gd.tuwien.ac.at/opsys/linux/archl ... po/os/i686
#......
.....
# Belgium
#.....
.....
# Canada
.....
# Chile
.....
# Czech Republic
....
# Denmark
.....
# Estonia
.....
# Finland
.....
# France
.....
# Germany
......
# Great Britain
.....
# Greece
......
# Hungary
.....
# Indinesia
.....
# Ireland
.....
# Israel
.....
# Italy
.....
# Jpan
.....
# Latvia
.....
# Lithuania
.....
# Netherlands
.....
# New Caledonia
.....
# Norway
.....
# Poland
.....
....
....
...........
除了第一条之外全是默认的,没有自己加的....
Re: [求助]初用linux,ping得通,pacman出错
发表于 : 2009-09-09 9:55
由 M.T.
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 =
#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
Re: [求助]初用linux,ping得通,pacman出错
发表于 : 2009-09-09 9:56
由 M.T.
有劳各位前辈了。
Re: [求助]初用linux,ping得通,pacman出错
发表于 : 2009-09-09 10:28
由 rhwood
在mirrorlist加入
代码: 全选
Server = http://mirrors.163.com/archlinux/archlinux/$repo/os/i686
Server = ftp://cle.linux.org.tw/pub2/Archlinux/$repo/os/i686
Re: [求助]初用linux,ping得通,pacman出错
发表于 : 2009-09-09 11:26
由 tenzu
mirrorlist里选上几个美国的试试?
Re: [求助]初用linux,ping得通,pacman出错
发表于 : 2009-09-09 11:28
由 adagio
你大爷的,置顶的贴全是白忙活
Re: [求助]初用linux,ping得通,pacman出错
发表于 : 2009-09-09 12:03
由 ChloeRei
源列表空白(全部被注释了)
Re: [求助]初用linux,ping得通,pacman出错
发表于 : 2009-09-09 12:09
由 注册太麻烦
M.T. 写了:注:mirrorlist用默认的不行,删除了各源前面的“#”还是不行.....
Re: [求助]初用linux,ping得通,pacman出错
发表于 : 2009-09-09 13:10
由 M.T.
adagio 写了:你大爷的,置顶的贴全是白忙活
mirrorlist中的
# Xyne-any
#server =
http://xyne.archlinux.ca/repos/sny
就是根据论坛的置顶帖加上去的...
同样没有效果...
去了“#”也一样...
快疯了....
Re: [求助]初用linux,ping得通,pacman出错
发表于 : 2009-09-09 13:57
由 白鳍豚
格式出错
Server非server
Re: [求助]初用linux,ping得通,pacman出错
发表于 : 2009-09-09 13:59
由 白鳍豚