LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-12-2006, 02:49 AM   #1
dudeman41465
Member
 
Registered: Jun 2005
Location: Kentucky
Distribution: Ubuntu
Posts: 794

Rep: Reputation: 56
Fedora Core 5 Gnome Installed Anyway


I just did a system re-install, I had a lot of clutter I didn't feel like taking forever to clean up, so I just re-installed my OS. When I did the re-install, I decided to install KDE instead of Gnome, so I just unchecked Gnome and checked KDE. I've got a question though, I'm watching the update process and it's updating packages like "gdm" and "gnome-panel" and I didn't even install Gnome. I'm thinking that one of the packages in this script I wrote had a gnome dependency. It's a script I wrote for just such an occasion as an OS re-install so I don't have to sit here and do it all manually. Could some of you take a quick peek at this and see if you see a package that would have subsequentially installed Gnome without me knowing?

Code:
#!/bin/bash
#This script is for use with the Fedora Core 5 Linux Operating System.
#This script is intended for use in the occurrance of an OS re-install, 
#and will install all of the software that I use and update everything 
#so I don't have to do it manually.
#Before running this script, please make sure you have updated and patched yum
#according to http://www.stanton-finley.net/fedora_core_5_installation_notes.html#Yum
#This script is the original work of Marcus Dean Adams
#If you have any questions or comments please e-mail me at marcusdean.adams@gmail.com

#This if statement makes sure the user is root.
ROOT_UID=0
E_NOTROOT=67
if [ "$UID" -ne "$ROOT_UID" ]
then
  echo "You have to be root to run this script."
  exit $E_NOTROOT
fi

#Yum graphical extender.
yum -y install yumex

#Multimedia codecs.
wget http://www4.mplayerhq.hu/MPlayer/releases/codecs/all-20060611.tar.bz2

mkdir /usr/local/lib/codecs/

mkdir /usr/lib/win32

tar xvfj all-20060611.tar.bz2

rm all-20060611.tar.bz2

cp ./all-20060611/* /usr/local/lib/codecs/

chmod 755 /usr/local/lib/codecs/*

cp /usr/local/lib/codecs/* /usr/lib/win32/

rm -rf ./all-20060611

#MP3 Support
yum -y install gstreamer-plugins-ugly

#Bit-Torrent
yum -y install bittorrent-gui

#Xine
yum -y install xine xine-lib xine-skins

#MPlayer Browser Plugin
wget http://fedoranews.org/tchung/mplayerplug-in/3.25/mplayerplug-in-3.25-1.fc5.i386.rpm

rpm -Uvh mplayerplug-in-3.25-1.fc5.i386.rpm

rm mplayerplug-in-3.25-1.fc5.i386.rpm

#Python Tools such as IDLE
yum -y install python-tools

#Installs rdesktop, a utility for accessing Windows machines with Remote Desktop
yum -y install rdesktop

#Smb4k - An application that enables the easy mounting of Windows shares
yum -y install smb4k

#Updates everything
yum -y update

#NVidia Driver
yum -y install kmod-nvidia

#Restarting so updates will take effect.
echo ""
echo "This script brought to you by Marcus Dean Adams, questions or comments can"
echo "be e-mailed to me at marcusdean.adams@gmail.com"
echo ""
echo "Script complete, restarting in 1 minute so updates will take effect..."
echo "Please close any running programs and save any unsaved work..."
/sbin/shutdown -r +1
 
Old 10-12-2006, 04:59 AM   #2
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
Hi.

It's more likely to be another package in the Fedora install which is causing Gnome to install (Evolution, maybe?). You can check if any of the packages you installed via your script are to blame by doing
Code:
yum deplist <package>
e.g.
Code:
yum deplist yumex
That should give you a list of all the dependencies for the package.

You might want to check the install logs in /root for any indication of why/when the Gnome packages went in.

Dave
 
Old 10-21-2006, 09:14 AM   #3
dudeman41465
Member
 
Registered: Jun 2005
Location: Kentucky
Distribution: Ubuntu
Posts: 794

Original Poster
Rep: Reputation: 56
Yeah I just found a lot of holes in that script. Upon re-installing my OS I just remembered that I have to patch yum and all kinds of things, none of which are automated in this script.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
fedora core 4 - tcl/tk wish not installed? afa_linux Linux - General 2 11-23-2005 10:22 AM
Just installed Fedora Core 4 NetIntruder Linux - Newbie 2 09-22-2005 01:51 PM
Fedora Core 1 installed...Now what ??? rob.linux Linux - Distributions 3 04-11-2005 11:03 AM
installed fedora core 1 and can't boot greg_wein Linux - Newbie 7 11-09-2004 10:49 PM
missing gnome option in gnome-keybinding-properties fedora core 1? lrt2003 Fedora 0 04-18-2004 07:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration