Thursday, April 23, 2009

升级xorg-server

eselecte news中看到xorg有新版本了.

加上firefox在浏览一些网站是会崩溃.


有时间, 于是折腾的想法出来了:

# emerge -av xorg-server

......

Total: 30 packages (25 upgrades, 5 new, 2 uninstalls), Size of downloads: 17,568 kB
Conflict: 2 blocks

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

x11-libs/libX11:0

('installed', '/', 'x11-libs/libX11-1.1.4', 'nomerge') pulled in by
x11-libs/libX11[xcb] required by ('installed', '/', 'x11-wm/compiz-0.7.8', 'nomerge')
(and 76 more)

('ebuild', '/', 'x11-libs/libX11-1.1.5', 'merge') pulled in by
>=x11-libs/libX11-1.1.5 required by ('ebuild', '/', 'x11-base/xorg-server-1.5.3-r5', 'merge')
(and 76 more)


It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously. If such a conflict exists in the
dependencies of two different packages, then those packages can not be
installed simultaneously.

For more information, see MASKED PACKAGES section in the emerge man page
or refer to the Gentoo Handbook.


把x11-wm/compiz-0.7.8删除了:
# emerge -C x11-wm/compiz-0.7.8

再次升级:
# emerge -av xorg-server

OK!

emerge完后, 有一个提示:

* IMPORTANT: 2 config files in '/etc' need updating.
* See the CONFIGURATION FILES section of the emerge
* man page to learn how to update config files.


这时就需要伟大的man:
# man emerge

在CONFIGURATION FILES节中:
Tools such as dispatch-conf, cfg-update, and etc-update are also available to aid in the merging of these files. They provide interac-
tive merging and can auto-merge trivial changes.


看dispatch-conf和env-update的man吧


安装完touchpad使用不了

看了一下syntipcs后, 没有什么问题.

决定重新make一次:
# emerge -av syntipcs

出了问题@!!!!

emerge -C syntipcs后重新emerge -av还是不行

然后使用revdep-rebuild

说: libX11没有少了使用xcb标志, 有一些包无emerge

只能重新emerge一次libX11

# sudo USE="xcb" emerge -av libX11

make: *** [synaptics.o] Error 1
*
* ERROR: x11-drivers/synaptics-0.14.6 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2109: Called die
* The specific snippet of code:
* emake || die
* The die message:
* (no error message)
*
* If you need support, post the topmost build error, and the call stack if
* relevant.
* A complete build log is located at
* '/var/tmp/portage/x11-drivers/synaptics-0.14.6/temp/build.log'.
* The ebuild environment file is located at
* '/var/tmp/portage/x11-drivers/synaptics-0.14.6/temp/environment'.


无奈下使用xorg-server的标志去安装:
#sudo INPUT_DEVICES="synaptics" emerge -av xorg-server

安装完后又可以使用了 -_-!!

两种安装方式有什么区别呢? 下面是不同方法使用的不包:

* x11-drivers/synaptics
Latest version available: 0.14.6
Latest version installed: [ Not Installed ]
Size of files: 123 kB
Homepage: http://w1.894.telia.com/~u89404340/touchpad/
Description: Driver for Synaptics touchpads
License: GPL-2

* x11-drivers/xf86-input-synaptics
Latest version available: 1.0.0
Latest version installed: 1.0.0
Size of files: 279 kB
Homepage:
http://cgit.freedesktop.org/xorg/driver/xf86-input-synaptics/
Description: Driver for Synaptics touchpads
License: MIT


奶奶的: MIT vs. GPL

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.