LinuxSir.cn,穿越时空的Linuxsir!

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

怎样安装源里面的那个unstable的gnome呢?

[复制链接]
发表于 2010-2-25 15:55:13 | 显示全部楼层 |阅读模式
已经在pacman.conf添加了[gnome-unstable],也能pacman -Sw也能显示出来。但默认会安装extra里面的包,这里应该是因为在pacman.conf里面,extra在gnome-unstable的前面,那能不能用pacman指定让它安装gnome-unstable里面的呢?
发表于 2010-2-25 16:20:04 | 显示全部楼层
在 /etc/pacman.conf 中仓库优先顺序修改为如下:
  1. [gnome-unstable]
  2. Include = /etc/pacman.d/mirrorlist
  3. [testing]
  4. Include = /etc/pacman.d/mirrorlist
  5. [core]
  6. Include = /etc/pacman.d/mirrorlist
  7. [extra]
  8. Include = /etc/pacman.d/mirrorlist
  9. [community]
  10. Include = /etc/pacman.d/mirrorlist
复制代码

如果需要关闭 testing
将   testing 的两行用 # 注释掉

pacman -Sy 来安装


如果 不想将 gnome-unstable 优先级提高

pacman -Sy gnome-unstable/gnome-disk-utility   也可以直接从gnome-unstable中安装

反之  pacman -Sy extra/gnome-disk-utility ...
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-2-25 20:36:46 | 显示全部楼层
Post by carbonjiao;2071676

如果 不想将 gnome-unstable 优先级提高

pacman -Sy gnome-unstable/gnome-disk-utility   也可以直接从gnome-unstable中安装

反之  pacman -Sy extra/gnome-disk-utility ...


有没有选项可以选定gnome-unstable里面的gnome组呢?
回复 支持 反对

使用道具 举报

发表于 2010-2-26 08:57:02 | 显示全部楼层
Post by sntianren;2071757
有没有选项可以选定gnome-unstable里面的gnome组呢?


直接 pacman -Sy 仓库/包或者组名    试试看
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-2-27 00:26:50 | 显示全部楼层
Post by carbonjiao;2071839
直接 pacman -Sy 仓库/包或者组名    试试看


It doesn't work with the command below:
pacman -Sy gnome-unstable/gnome
回复 支持 反对

使用道具 举报

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

本版积分规则

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