Red HatThis forum is for the discussion of Red Hat Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986
Rep:
YUM broke my GNOME desktop. Scared of YUM
I did a clean install of CentOS5 with the GNOME desktop on a test machine. I then decided that I don't need OpenOffice and Games. So I go into add/remove packages and remove OpenOffice and Games. Yum does its thing and uninstalls them. I reboot the computer, log in normally at the GUI login screen, and just as I feared as I have in the past with RPM installations/uninstalls, I am then presented with a very minimal gray/blueish X server with a Xterm open.
How do I get the GNOME desktop back? I suspect that YUM must have removed the dependencies, or uninstalled some dependencies when I removed OpenOffice and the Games section. Worse comes to worst, I will just reinstall, but what a pain!
I am really scared of using Yum because I have had it hose my computer in my past experiences with Fedora Core 6 and CentOS4. Not sure how you guys take the risk
You should be able to run yum from your xterm there:
Code:
yum install openoffice games
Replace 'openoffice' and 'games' with the actual packages you removed - you might need to use 'yum search <part-of-package-name>' to find the exact names or to prompt your memory.
Yum does have some strange dependencies sometimes which results in things exactly like this. When I say strange, I mean they make sense looking at the packages themselves from a computer's Point of View, but looking at it from a human POV they're not quite right sometimes...
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986
Original Poster
Rep:
But does this mean it will reinstall OpenOffice and Games? I just wanted to uninstall those and keep everything else in tact. I remember when I removed those packages, it listed a long list of other packages. I can't recall all of them. Maybe I will just reinstall CentOS with a bare minimum.
I suppose in the future, maybe it's best to install all applications using the source? This way I would have full control of where I install programs. I have only installed Firefox and Java from source. Unfortunately I always seem to run into dependency problems when I try install other applications, but that's another story.
Yes, it will reinstall Office and Games, but it will get things working again, and then you can have another go at removing them and ignoring dependencies
I did a clean install of CentOS5 with the GNOME desktop on a test machine. I then decided that I don't need OpenOffice and Games. So I go into add/remove packages and remove OpenOffice and Games. Yum does its thing and uninstalls them. I reboot the computer, log in normally at the GUI login screen, and just as I feared as I have in the past with RPM installations/uninstalls, I am then presented with a very minimal gray/blueish X server with a Xterm open.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.