LinuxSir.cn,穿越时空的Linuxsir!

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

archlinux 不能更新系统!~

[复制链接]
发表于 2007-5-18 22:10:44 | 显示全部楼层 |阅读模式
pacman -Syuv
config: new section 'options'
config: log file: /var/log/pacman.log
config: noupgrade: etc/passwd
config: noupgrade: etc/group
config: noupgrade: etc/shadow
config: noupgrade: etc/sudoers
config: noupgrade: etc/fstab
config: noupgrade: etc/raidtab
config: noupgrade: etc/ld.so.conf
config: noupgrade: etc/rc.conf
config: noupgrade: etc/rc.local
config: noupgrade: etc/modprobe.conf
config: noupgrade: etc/modules.conf
config: noupgrade: etc/lilo.conf
config: noupgrade: boot/grub/menu.lst
config: holdpkg: pacman
config: holdpkg: glibc
installation root:/
top-level DB path:/var/lib/pacman
targets:none
error: no usable package repositories configured

这是怎么回事啊?!

个人感觉还是网络问题,没有配置好!

愁死了,该怎么办啊!

多谢大家了!
发表于 2007-5-18 22:51:08 | 显示全部楼层
先pacman -Sy pacman试试
回复 支持 反对

使用道具 举报

发表于 2007-5-19 00:17:39 | 显示全部楼层
我也碰到了,先升级pacman就没问题。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-5-19 18:02:37 | 显示全部楼层
问题还没解决,我把PACMAN。CONF里面的源换成了MIRROR。BJTU。EDU。CN的

pacman -Sy pacman之后

synchronizing package databases……
failed to synchronize corrent
failed to synchronize extra
error:could not open sync database: extra
          have you used --refresh yet?

这是怎么回事啊?!

可否把你们的pacman.conf 贴出来!

难道还是我的网络问题?!

多谢大家!
回复 支持 反对

使用道具 举报

发表于 2007-5-19 18:25:51 | 显示全部楼层
Post by tmd110110
问题还没解决,我把PACMAN。CONF里面的源换成了MIRROR。BJTU。EDU。CN的

pacman -Sy pacman之后

synchronizing package databases……
failed to synchronize corrent
failed to synchronize extra
error:could not open sync database: extra
          have you used --refresh yet?

这是怎么回事啊?!

可否把你们的pacman.conf 贴出来!

难道还是我的网络问题?!

多谢大家!

好像是你的pacman.conf 写的有问题吧 。 corrent和extra都没开?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-5-19 18:47:31 | 显示全部楼层
#
# /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

#Server = ftp://cle.linux.org.tw/pub/ArchLinux/test/os/i686

[current]
# Add your preferred servers here, they will be used first
#Include = /etc/pacman.d/current
#Server = http://10.214.18.21/arch/current/os/i686
Server = ftp://cle.linux.org.tw/pub/ArchLinux/current/os/i686
[extra]
# Add your preferred servers here, they will be used first
#Include = /etc/pacman.d/extra
#Server = http://10.214.18.21/arch/extra/os/i686
Server = ftp://cle.linux.org.tw/pub/ArchLinux/extra/os/i686
#[unstable]

#Server = http://10.214.18.21/arch/unstable/os/i686

# Add your preferred servers here, they will be used first
#Include = /etc/pacman.d/unstable
#Server = ftp://ftp.nethat.com/pub/linux/archlinux/unstable/os/i686
[community]
# Add your preferred servers here, they will be used first
#Include = /etc/pacman.d/community

#Server = http://10.214.18.21/arch/community/os/i686
Server = ftp://ftp.nethat.com/pub/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
#Server = ftp://cle.linux.org.tw/pub/ArchLinux/cle/os/i686
#Server = ftp://cle.linux.org.tw/pub/ArchLinux/alcle/os/i686


我那个 和这个差不多

就是没有什么# Add your preferred servers here, they will be used first
#Include = /etc/pacman.d/community
这样的东西,原来有,让我删除了!

这个很重要吗?!

另外,server前面的#是什么意思?

server后面的空格和=后面的 空格可以删除吗?

谢谢!
回复 支持 反对

使用道具 举报

发表于 2007-5-19 19:02:28 | 显示全部楼层
pacman3可以用吗,可信任它吗,如果可以,马上升级pacman!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-5-19 19:46:29 | 显示全部楼层
不行。
command not found!

谢谢几位了!
小弟真的很菜!
555555555555555…………
回复 支持 反对

使用道具 举报

发表于 2009-11-5 22:29:10 | 显示全部楼层
Post by tmd110110;1705047
#
# /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

#Server = ftp://cle.linux.org.tw/pub/ArchLinux/test/os/i686

[current]
# Add your preferred servers here, they will be used first
#Include = /etc/pacman.d/current
#Server = http://10.214.18.21/arch/current/os/i686
Server = ftp://cle.linux.org.tw/pub/ArchLinux/current/os/i686
[extra]
# Add your preferred servers here, they will be used first
#Include = /etc/pacman.d/extra
#Server = http://10.214.18.21/arch/extra/os/i686
Server = ftp://cle.linux.org.tw/pub/ArchLinux/extra/os/i686
#[unstable]

#Server = http://10.214.18.21/arch/unstable/os/i686

# Add your preferred servers here, they will be used first
#Include = /etc/pacman.d/unstable
#Server = ftp://ftp.nethat.com/pub/linux/archlinux/unstable/os/i686
[community]
# Add your preferred servers here, they will be used first
#Include = /etc/pacman.d/community

#Server = http://10.214.18.21/arch/community/os/i686
Server = ftp://ftp.nethat.com/pub/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
#Server = ftp://cle.linux.org.tw/pub/ArchLinux/cle/os/i686
#Server = ftp://cle.linux.org.tw/pub/ArchLinux/alcle/os/i686


我那个 和这个差不多

就是没有什么# Add your preferred servers here, they will be used first
#Include = /etc/pacman.d/community
这样的东西,原来有,让我删除了!

这个很重要吗?!

另外,server前面的#是什么意思?

server后面的空格和=后面的 空格可以删除吗?

谢谢!
#是把后面的东西注释掉了,

那空格可以删除呀,那样写是为了看得清楚点而已!
回复 支持 反对

使用道具 举报

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

本版积分规则

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