LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 06-10-2007, 11:54 AM   #1
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
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: Reputation: 45
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

Last edited by Micro420; 06-10-2007 at 11:59 AM.
 
Old 06-10-2007, 10:02 PM   #2
fukawi2
Member
 
Registered: Oct 2006
Location: Melbourne, Australia
Distribution: ArchLinux, ArchServer, Fedora, CentOS
Posts: 448

Rep: Reputation: 34
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...
 
Old 06-11-2007, 12:37 AM   #3
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
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: Reputation: 45
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.

Last edited by Micro420; 06-11-2007 at 12:39 AM.
 
Old 06-11-2007, 05:59 PM   #4
fukawi2
Member
 
Registered: Oct 2006
Location: Melbourne, Australia
Distribution: ArchLinux, ArchServer, Fedora, CentOS
Posts: 448

Rep: Reputation: 34
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
 
Old 06-14-2007, 09:44 AM   #5
inselaffe
LQ Newbie
 
Registered: Jun 2007
Posts: 2

Rep: Reputation: 0
Quote:
Originally Posted by Micro420
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.
The bugger got me too. I did:
  • yum -y groupinstall gnome-desktop
  • Click-hold desktop, exit
  • On logon screen, click session and choose GNOME
  • Log on
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
yum broke my network printing! rtaft Linux - Software 3 05-29-2007 06:42 AM
Yum update broke X server :( edd8990 Fedora 12 11-01-2006 07:03 PM
i think i broke yum... nshorts Fedora 1 05-24-2006 10:29 AM
OMG Yum just broke Infernal211283 Linux - Newbie 5 01-14-2006 07:42 AM
Upgrading from FC2 to FC3 broke yum! ericcarlson Fedora 4 12-29-2004 12:47 PM


All times are GMT -5. The time now is 06:15 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration