LinuxSir.cn,穿越时空的Linuxsir!

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

请教pacman问题

[复制链接]
发表于 2011-9-7 16:56:10 | 显示全部楼层 |阅读模式
pacman -Syu只下载core.db,extra.db,community.db,multilib.db,archlinuxfr.db就是不升级软件包,总要pacman -Syy然后pacman -Su才行,怎么解决?多谢!
发表于 2011-9-7 18:09:01 | 显示全部楼层
回复 支持 反对

使用道具 举报

 楼主| 发表于 2011-9-7 20:46:55 | 显示全部楼层
Post by lolilolicon;2150832
https://www.archlinux.org/mirrors/status/

好像不是这个原因,我用的163的源,另一块硬盘装的一样的系统,也是163的源,pacman -Syu升级完全正常。
回复 支持 反对

使用道具 举报

发表于 2011-9-8 11:25:33 | 显示全部楼层
贴个pacman.conf看看
回复 支持 反对

使用道具 举报

 楼主| 发表于 2011-9-8 14:54:30 | 显示全部楼层
#
# /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 -C - -f %u > %o
#CleanMethod = KeepInstalled
XferCommand = /usr/bin/aria2c -c -s 3 %u
Architecture = auto

# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg   =
#IgnoreGroup =

#NoUpgrade   =
#NoExtract   =

# Misc options (all disabled by default)
#UseSyslog
#ShowSize
#UseDelta
#TotalDownload
#CheckSpace

#
# 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
#   - URLs will have $arch replaced by the name of the architecture
#
# 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.
#

# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include 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]
Include = /etc/pacman.d/mirrorlist

[extra]
Include = /etc/pacman.d/mirrorlist

#[community-testing]
#Include = /etc/pacman.d/mirrorlist

[community]
Include = /etc/pacman.d/mirrorlist

# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repository here.
[multilib]
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 = http://repo.archlinux.fr/x86_64
回复 支持 反对

使用道具 举报

发表于 2011-9-9 23:36:04 | 显示全部楼层
.conf是正确的,试试yaourt
回复 支持 反对

使用道具 举报

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

本版积分规则

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