LinuxSir.cn,穿越时空的Linuxsir!

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

chroot下安装用pacman出错(已解决,谢谢BeCome)

[复制链接]
发表于 2006-6-10 08:55:34 | 显示全部楼层 |阅读模式
输出:
:: Synchronizing package databases...
gethostbyname: Resource temporarily unavailable
error: cannot connect to debian.okey.net
gethostbyname: Resource temporarily unavailable
error: cannot connect to mirror.lupaworld.com
failed to synchronize current
gethostbyname: Resource temporarily unavailable
error: cannot connect to debian.okey.net
gethostbyname: Resource temporarily unavailable
error: cannot connect to mirror.lupaworld.com
failed to synchronize extra
error: could not open sync database: extra
       have you used --refresh yet?
我的安装过程:用base光盘安装,没有配置系统,没有安装启动器,然后进入已有的ubuntu,修改pacman的资源文件,修改host文件,后用chroot,添加passwd,添加了一个用户,就想pacman继续安装其它软件,输出上述结果失败,是怎么回事,网络没有设置好?怎样设置呢?
发表于 2006-6-10 09:11:01 | 显示全部楼层
in your host

  1. sudo cp /etc/resolv.conf /ur/arch/mountpoint/etc/
复制代码
Post by hokkee
输出:
:: Synchronizing package databases...
gethostbyname: Resource temporarily unavailable
error: cannot connect to debian.okey.net
gethostbyname: Resource temporarily unavailable
error: cannot connect to mirror.lupaworld.com
failed to synchronize current
gethostbyname: Resource temporarily unavailable
error: cannot connect to debian.okey.net
gethostbyname: Resource temporarily unavailable
error: cannot connect to mirror.lupaworld.com
failed to synchronize extra
error: could not open sync database: extra
       have you used --refresh yet?
我的安装过程:用base光盘安装,没有配置系统,没有安装启动器,然后进入已有的ubuntu,修改pacman的资源文件,修改host文件,后用chroot,添加passwd,添加了一个用户,就想pacman继续安装其它软件,输出上述结果失败,是怎么回事,网络没有设置好?怎样设置呢?
回复 支持 反对

使用道具 举报

发表于 2006-6-13 15:37:22 | 显示全部楼层
why use chroot? i suggest u to use pacman.static which could be used to cross-installation!

P.S. check the docum. in archwiki/howto/installation
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-6-13 21:53:32 | 显示全部楼层
Post by SourirLaVie
why use chroot? i suggest u to use pacman.static which could be used to cross-installation!

P.S. check the docum. in archwiki/howto/installation

唔明。Can you say it in detail and in chinese? thanks.
回复 支持 反对

使用道具 举报

发表于 2006-6-14 16:16:14 | 显示全部楼层
原文:http://wiki.archlinux.org/index. ... thin_another_distro

又看了遍你的帖子,不确定你在UBUNTU里安装ARCH的原因,所以也不确定是不是对你有所帮助。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-6-17 22:10:28 | 显示全部楼层
装arch的原因:
1.尝试快的感觉
2.进一步了解linux系统
回复 支持 反对

使用道具 举报

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

本版积分规则

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