Windows Azure安装gnome出现“WALinuxAgent conflicts with NetworkManager”错误

错误大致是这样的

Error: WALinuxAgent conflicts with 1:NetworkManager-0.8.1-75.el6.x86_64
You could try using —skip-broken to work around the problem

解决方法
先用

yum list | more

查找WALinuxAgent相关的包
我这边找到的包名是WALinuxAgent.noarch
然后移除这个包

yum remove WALinuxAgent.noarch

再重新安装gnome即可