+ -
当前位置:首页 → 问答吧 → archlinux 不能更新系统!~

archlinux 不能更新系统!~

时间:2007-05-19

来源:互联网

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

这是怎么回事啊?!

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

愁死了,该怎么办啊!

多谢大家了!

作者: tmd110110   发布时间: 2007-05-19

先pacman -Sy pacman试试

作者: 全科芒   发布时间: 2007-05-19

我也碰到了,先升级pacman就没问题。

作者: hjhjsword   发布时间: 2007-05-19

问题还没解决,我把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 贴出来!

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

多谢大家!

作者: tmd110110   发布时间: 2007-05-19

引用:
作者: 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-05-19

#
# /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/archl...stable/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/archl...munity/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后面的空格和=后面的 空格可以删除吗?

谢谢!

作者: tmd110110   发布时间: 2007-05-19

pacman3可以用吗,可信任它吗,如果可以,马上升级pacman!

作者: goodhebin   发布时间: 2007-05-19

不行。
command not found!

谢谢几位了!
小弟真的很菜!
555555555555555…………

作者: tmd110110   发布时间: 2007-05-19

引用:
作者: tmd110110
#
# /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/archl...stable/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/archl...munity/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后面的空格和=后面的 空格可以删除吗?

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

那空格可以删除呀,那样写是为了看得清楚点而已!

作者: chenjinle   发布时间: 2009-11-06