|
楼主 |
发表于 2008-4-18 18:48:17
|
显示全部楼层
Post by zhong;1839714
1, 你有修改过pacman的配置文件吗?
2, 有换过另一个源试吗?
pacman.conf
[root@jon opt]# cat /etc/pacman.conf
#
# /etc/pacman.conf
#
# See the pacman manpage for option 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
XferCommand = /usr/bin/aria2c -s 4 %u
#XferCommand = /usr/bin/axel -o %o %u
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#
# 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
#
# 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
# Unstable 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.
#[unstable]
#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
[archlinuxfr]
#Server = ftp://mirror.pacific.net.au/linux/archlinux/$repo/os/i686
#Server = http://repo.archlinux.fr/i686
mirrorlist
[root@jon opt]# cat /etc/pacman.d/mirrorlist
Server = http://mirrors.lcuc.org.cn/archlinux/$repo/os/i686
Server = http://mirror.lupaworld.com/archlinux/$repo/os/i686
Server = ftp://mirror.pacific.net.au/linux/archlinux/$repo/os/i686
#Server = http://mirrors.easynews.com/linux/archlinux/$repo/os/i686
#Server = ftp://mirrors.pacific.net.au/linux/archlinux/$repo/os/i686 |
|