LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 909|回复: 5

pacman不能更新升级,也不能安装任何软件!快疯掉

[复制链接]
发表于 2008-7-24 00:04:52 | 显示全部楼层 |阅读模式
提示以下错误:
error: failed retrieving file 'csclub.uwaterloo.ca : Not Found
warning: failed to retrieve some files from kde4-svn
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.


以前也是费尽周折才安装完,不过已记不起是怎么设置的了。现在又出现这样的问题,感觉从来就没有一次顺利过。
发表于 2008-7-24 00:22:12 | 显示全部楼层
换个更新源吧,祝你好运。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-7-24 00:27:28 | 显示全部楼层
不行呀,不知道是那里设置错了。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-7-24 00:33:54 | 显示全部楼层
#
# /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/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
#
#[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]
# 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

这样没错吧?
回复 支持 反对

使用道具 举报

发表于 2008-7-24 01:09:02 | 显示全部楼层
没问题,不过要想快点的话,用这个源
http://archlinux.gooth.cn/
回复 支持 反对

使用道具 举报

发表于 2008-7-24 01:22:45 | 显示全部楼层
你/etc/pacman.d/mirrorlist修改一下,或者运行一下rankmirrors,或者直接在pacman.conf里写Server的地址。

另外你错误信息里怎么会有”failed to retrieve some files from kde4-svn“,你pacman.conf里好像没有这个repository啊?
回复 支持 反对

使用道具 举报

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

本版积分规则

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