LinuxSir.cn,穿越时空的Linuxsir!

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

请问如何使用testing里面的软件

[复制链接]
发表于 2006-1-21 10:50:26 | 显示全部楼层 |阅读模式
current里面xorg是6.8的,testing里面是6.9的,我想使用6.9应该怎么指定?
发表于 2006-1-21 10:57:05 | 显示全部楼层
在pacman.conf里打开testing
直接pacman -Syu 就好了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-1-21 11:01:55 | 显示全部楼层
#[testing]
#Server = ftp://ftp.archlinux.org/testing/os/i686

[current]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/current

[extra]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/extra

#[unstable]
# Add your preferred servers here, they will be used first
#Include = /etc/pacman.d/unstable

是不是testing列在前面就优先使用testing?
回复 支持 反对

使用道具 举报

发表于 2006-1-21 11:02:50 | 显示全部楼层
Post by Raphael
#[testing]
#Server = ftp://ftp.archlinux.org/testing/os/i686

[current]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/current

[extra]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/extra

#[unstable]
# Add your preferred servers here, they will be used first
#Include = /etc/pacman.d/unstable

是不是testing列在前面就优先使用testing?


非。只要去掉testing前面的#就可以了。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-1-21 11:13:49 | 显示全部楼层
明白了,谢谢
回复 支持 反对

使用道具 举报

发表于 2006-1-21 11:22:56 | 显示全部楼层
Post by Raphael
明白了,谢谢


但是你要明白,testing里的软件有一些是有可能搞坏你的系统的,有时甚至即使你降回current里的版本也白搭。所以如果不是为了测试新软件,建议不要打开testing,即使打开了testing,也建议只安装想要的软件,而不要pacman -Su进行整体升级。

current里的东西已经够新了:)
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-1-21 11:30:07 | 显示全部楼层
谢谢提醒
我只是想使用一下xorg7+e17
刚才在同步community的时候看到的e17的包
请问current,extra,testing,unstable和community这5者之间有优先级关系还是只要打开了其中几个,就选择之内最新的软件?
回复 支持 反对

使用道具 举报

发表于 2006-1-21 11:45:39 | 显示全部楼层
current、extra和community里的东西是互不重复的(community里似乎有些包和extra里的重复,不过用的名字不一样)。当打开了testing和unstable以后,默认pacman -S时会选择最新的包。但你可以用类似pacman -S extra/pkgname.pkg.tar.gz这样的命令安装特定repo里的软件。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-1-21 11:49:20 | 显示全部楼层
用了2年多gentoo,刚开始使用arch,很多问题不是很清楚
谢谢回复,有问题还请多多指点
回复 支持 反对

使用道具 举报

发表于 2006-1-21 11:54:11 | 显示全部楼层
是不是testing列在前面就优先使用testing?
Yes, but it could break your system.
回复 支持 反对

使用道具 举报

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

本版积分规则

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