LinuxSir.cn,穿越时空的Linuxsir!

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

请E文好的同志帮忙看一下这个说明

[复制链接]
发表于 2006-12-21 14:35:35 | 显示全部楼层 |阅读模式
Install the base 32 bit system

We create the repository.

mkdir /opt/arch32
vim /etc/pacman.d/current

Here you'll have to replace in the first address x86_64 by i686. Don't forget to revert it at the end of the howto or your system can be screwed when you install something.

You might also want to create a separate pacman.log LogFile for your 32-bit chroot environment (in order to be able to track the "32root" pacman/package changes properly/not mess up your current 64-bit pacman.log). Again, don't forget to change this back too at the end of this howto unless you want to mess up your pacman logging.

vim /etc/pacman.conf

Change the 'LogFile' directive accordingly.

Now proceed to sync up pacman:

pacman --root /opt/arch32 -Sy

原文:http://wiki.archlinux.org/index. ... undled_32bit_system

我能勉强看明白意思,它好像是说为新做的arch32设置一个pacman.log,但是不知道如何操作啊,于是就想当然的重新在/var/log/下创建了一个新的pacman.log文件,结果还是一样提示,郁闷~~~
[root@ccnu-blance log]# pacman --root /opt/arch32 -Sy
config: line 59: bad server location

求哪位大哥能看明白的帮帮小弟,真是不胜感激~~~
发表于 2006-12-21 18:44:35 | 显示全部楼层
Post by blance
Install the base 32 bit system

We create the repository.

mkdir /opt/arch32
vim /etc/pacman.d/current

Here you'll have to replace in the first address x86_64 by i686. Don't forget to revert it at the end of the howto or your system can be screwed when you install something.

You might also want to create a separate pacman.log LogFile for your 32-bit chroot environment (in order to be able to track the "32root" pacman/package changes properly/not mess up your current 64-bit pacman.log). Again, don't forget to change this back too at the end of this howto unless you want to mess up your pacman logging.

vim /etc/pacman.conf

Change the 'LogFile' directive accordingly.

Now proceed to sync up pacman:

pacman --root /opt/arch32 -Sy

原文:http://wiki.archlinux.org/index. ... undled_32bit_system

我能勉强看明白意思,它好像是说为新做的arch32设置一个pacman.log,但是不知道如何操作啊,于是就想当然的重新在/var/log/下创建了一个新的pacman.log文件,结果还是一样提示,郁闷~~~
[root@ccnu-blance log]# pacman --root /opt/arch32 -Sy
config: line 59: bad server location

求哪位大哥能看明白的帮帮小弟,真是不胜感激~~~


我想作者的意思应该是要你把
LogFile = /var/log/pacman.log
这个地方改成你新建的文件位置吧,譬如说新建一个/var/log/pacman32.log
就把这一行改为
LogFile = /var/log/pacman32.log
等你装完32位的系统后再改回来。

手头没有linux,在windows下凭记忆猜的,如果不对请勿怪。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-12-22 18:51:47 | 显示全部楼层
谢谢提醒,我以为新建一个空的pacman.log可以达到一样的效果
回复 支持 反对

使用道具 举报

发表于 2006-12-22 18:58:13 | 显示全部楼层
Here you'll have to replace in the first address x86_64 by i686. Don't forget to revert it at the end of the howto or your system can be screwed when you install something.
这个才是主菜
你必须替换第一个地址的x86_64成i686.但不要忘记在做完这个howto后改回来,不改也可以,只是你用pacman安装某些东西后,系统挂了别找作者。

目的:把pacman第一个源改成32bit的。
干完活后不收拾(改回来)结果就是以后升级系统或安装软件全都是32bit的。会不会挂掉猜一猜也知道。


You might also want to 意思是你可能也想要.........
也就是说后面的不做拉倒。

config: line 59: bad server location
配置有错:第59行的服务器位置有误。
可能情况:整个服务器上根本没你要的分支。或你的配置文件被你改爆掉了。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-12-22 19:29:24 | 显示全部楼层
楼上的牛X,居然让你翻译成这样了~~~
那些我都能理解,就是以为新建一个pacman.log就可以了,没想到在pacman.conf里面一定要改logfile路径~已经搞定,正在pacman 32bit的文件呢,可惜周末速度有点慢哦,郁闷……
回复 支持 反对

使用道具 举报

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

本版积分规则

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