在通过yum group安装X Window System、GNOME Desktop Environment和Development Tools时,遇到如下错误:
#yum -y groupinstall 'GNOME Desktop Environment'
Total 3.4 MB/s | 163 MB 00:48
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Check Error:
file /usr/share/man/man1/Xserver.1x.gz from install of xorg-x11-server-Xnest-1.1.1-48.76.el5_5.2.x86_64 conflicts with file from package xorg-x11-server-Xvfb-1.1.1-48.52.el5.x86_64
可以看到在安装xorg-x11-server-Xvfb-1.1.1-48.52.el5.x86_64时,其安装与已有的/usr/share/man/man1/Xserver.1x.gz文件冲突,既然有冲突,我们 可以先单独安装xorg-x11-server-Xvfb-1.1.1-48.52.el5.x86_64
# yum install xorg-x11-server-Xvfb
成功安装后再执行一次就可以正常安装了:
#yum -y groupinstall 'GNOME Desktop Environment'
转载于:https://blog.51cto.com/cau99/482603