archlinux 不能更新系统!~
时间:2007-05-19
来源:互联网
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
作者: 全科芒 发布时间: 2007-05-19
作者: hjhjsword 发布时间: 2007-05-19
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 贴出来! 难道还是我的网络问题?! 多谢大家! |
作者: 冰封尘 发布时间: 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
作者: 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
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28