LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   installing gnome on centos 5 (https://www.linuxquestions.org/questions/linux-newbie-8/installing-gnome-on-centos-5-a-820343/)

samguy 07-17-2010 02:58 AM

installing gnome on centos 5
 
Hello,

I am trying to install gnome desktop on centos 5 vps. I am getting the following error when i ran this command yum groupinstall “GNOME Desktop Environment” to install gnome it gave me this error and i dont know wat to do now. i am able to connect to my server through vncviewer but the GUI is not working so the screen is black. Here is the error i am getting when trying to install gnome.


---> Package openjade.i386 0:1.3.2-27 set to be updated
--> Processing Dependency: libosp.so.5 for package: openjade
---> Package pyorbit.i386 0:2.14.1-3.el5 set to be updated
---> Package sgml-common.noarch 0:0.6.3-18 set to be updated
---> Package xml-common.noarch 0:0.6.3-18 set to be updated
--> Running transaction check
---> Package gnome-user-share.i386 0:0.10-6.el5 set to be updated
--> Processing Dependency: httpd >= 2.2.0 for package: gnome-user-share
---> Package opensp.i386 0:1.5.2-4 set to be updated
--> Finished Dependency Resolution
gnome-user-share-0.10-6.el5.i386 from base has depsolving problems
--> Missing Dependency: httpd >= 2.2.0 is needed by package gnome-user-share-0.10-6.el5.i386 (base)
Error: Missing Dependency: httpd >= 2.2.0 is needed by package gnome-user-share-0.10-6.el5.i386 (base)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
[root@host .vnc]#

Any help would be appreciated
thanks

unSpawn 07-17-2010 05:06 AM

You could try installing the "httpd" package before running your groupinstall. Still it's odd as gnome-user-share from base has a dependency in httpd, true, but the current version for Centos5.5 is "2.2.3-43.el5.centos" (base repo) and not "2.2.0". Cleaning Yum caches, making certain your have the right repos enabled and ensuring you have the right centos-release-5-*.el5.centos release .rpm installed would be a good start.

samguy 07-17-2010 05:16 AM

sorry i am too newbie for linux could you please give me a list of commands that i can run to install the dependencies. I have tried running
package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
no luck.

thanks

unSpawn 07-18-2010 11:30 AM

To see which update you use run 'cat /etc/redhat-release'. To clean caches run 'yum clean all'. To install Apache run 'yum install httpd'. Then run 'yum install gnome-user-share' to see if it works OK. If it does then you should be able to run your "yum groupinstall" without the error.


All times are GMT -5. The time now is 04:02 PM.