LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
12
返回列表 发新帖
楼主: kymlon

我新装Arch,为什么更新总不成功?

[复制链接]
发表于 2007-12-24 10:33:53 | 显示全部楼层
是否使用了代理proxy?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-12-24 10:40:37 | 显示全部楼层
这是我的pacman.conf文件:
#
# /etc/pacman.conf
#
# NOTE: If you find a mirror that is geographically close to you, please
#       move it to the top of the server list, so pacman will choose it
#       first.
#
# To re-sort your mirror lists by ping/traceroute results, use the
# /usr/bin/sortmirrors script.  It requires the "netselect" package.
#

# See the pacman manpage for option directives

#
# GENERAL OPTIONS
#
[options]
LogFile     = /var/log/pacman.log
NoUpgrade   = etc/passwd etc/group etc/shadow etc/sudoers
NoUpgrade   = etc/fstab etc/raidtab etc/ld.so.conf
NoUpgrade   = etc/rc.conf etc/rc.local
NoUpgrade   = etc/modprobe.conf etc/modules.conf
NoUpgrade   = etc/lilo.conf boot/grub/menu.lst
HoldPkg     = pacman glibc
#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
#

#[testing]
#Server = ftp://ftp.archlinux.org/testing/os/i686

[current]
# Add your preferred servers here, they will be used first
# Include = /etc/pacman.d/current
Server = ftp://mirror.pacific.net.au/linux/archlinux/current/os/i686

[extra]
# Add your preferred servers here, they will be used first
# Include = /etc/pacman.d/extra
Server = ftp://mirror.pacific.net.au/linux/archlinux/extra/os/i686

#[unstable]
# Add your preferred servers here, they will be used first
#Include = /etc/pacman.d/unstable
Server = ftp://mirror.pacific.net.au/linux/archlinux/unstable/os/i686

#[community]
# Add your preferred servers here, they will be used first
#Include = /etc/pacman.d/community
Server = ftp://mirror.pacific.net.au/linux/archlinux/community/os/i686
# An example of a custom package repository.  See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#Server = file:///home/custompkgs
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-12-24 10:41:29 | 显示全部楼层
请大家帮忙看看阿~~
我没有使用代理。
回复 支持 反对

使用道具 举报

发表于 2007-12-24 11:03:53 | 显示全部楼层
把ftp改为http。
回复 支持 反对

使用道具 举报

发表于 2007-12-24 11:12:13 | 显示全部楼层
有点不对啊, 官方不是把源更改为 CORE 了吗?楼主的还是 老的那种
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-12-24 11:25:35 | 显示全部楼层
我刚才把current改成core试了一下~~还是不行~

报错是这样的:
源是ftp:
550,failed to open file.
源是http:
HTTP/1.1 404 not founded.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-12-24 11:26:16 | 显示全部楼层
我刚才把current改成core试了一下~~还是不行~

报错是这样的:
源是ftp:
550,failed to open file.
源是http:
HTTP/1.1 404 not founded.
回复 支持 反对

使用道具 举报

发表于 2007-12-24 11:51:54 | 显示全部楼层
可能是老版pacman的问题吧,直接下载个最新的pacman安装包,pacman -U安装后再试试
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-12-24 14:07:22 | 显示全部楼层
谢谢楼上阿~~
我已经成功了~~弄个新版的pacman就可以了~~
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表