 |
 |
 |
 |
| EOL (End Of Life) Versions This is a Forum to discuss problems and workarounds for versions of Fedora that have passed End of Life. |

19th January 2007, 01:38 PM
|
|
Registered User
|
|
Join Date: Jan 2007
Location: Beijing, China
Age: 27
Posts: 131

|
|
|
how to heal my dear FC6
hey guys, I am newbie, today I've make a big mistake. in the terminal I run "yum remove gtk2-2.10.4-4.fc6", then the terminal list a lot of things to ask me if a want to remove them, i choose yes. when i realized that's a mistake, it was too late, i can't even open the terminal and run a app again, now when i startx, it dose nothing!
how can I heal my system? i know what i need to do is just install what i've remove. can i use the command "yum install"? thanx for the reading.
|

19th January 2007, 02:25 PM
|
 |
Retired User
|
|
Join Date: Oct 2004
Location: London, UK
Posts: 4,999

|
|
|
ok, you need to get into a root terminal and type 'yum groupinstall gnome-desktop' - there are several ways of doing this
1. type 'a' at the grub prompt, add '1' to the kernel line and enter to go into single user mode
2 add '3' if that doesn't work (1 gives single user mode, 3 is full multi-user text mode)
3. press Ctrl + Alt + F1 at the blank screen you get upon bootup, that will give you a virtual text terminal login screen
4. Insert the install disc and type 'linux rescue' at the boot prompt, answer all the questions, enable networking, and then type chroot /mnt/sysimage (as prompted)
good luck
edit (edited to yum groupinstall gnome-desktop)
Last edited by sideways; 19th January 2007 at 07:31 PM.
|

19th January 2007, 02:29 PM
|
|
Registered User
|
|
Join Date: Jan 2007
Location: Beijing, China
Age: 27
Posts: 131

|
|
|
thanks very much, I will give a try.
|

19th January 2007, 02:36 PM
|
 |
Retired User
|
|
Join Date: Oct 2004
Location: London, UK
Posts: 4,999

|
|
|
this may not install everything, you need to look in /var/log/yum.log and see what was removed and then just yum install it all, in fact if you are still having problems can you post the output of
tail -100 /var/log/yum.log
(if you can't cut and paste then don't do this, but you will have to work your way back through all those removed packages and yum install them all, 'grep Erased /var/log/yum.log' will help)
Last edited by sideways; 19th January 2007 at 02:39 PM.
|

19th January 2007, 02:59 PM
|
|
Registered User
|
|
Join Date: Jan 2007
Location: Beijing, China
Age: 27
Posts: 131

|
|
thanks man!
i hope i can post that yum.log in my FC6 soon!(that means my system is back to normal)
|

19th January 2007, 04:26 PM
|
|
Registered User
|
|
Join Date: Jan 2007
Location: Beijing, China
Age: 27
Posts: 131

|
|
|
I have grep Erased /var/log/yum.log, it showed 100+ results. if i yum install them one by one, it will spend a lota time, is there any good idea? except reinstall system.
|

19th January 2007, 04:45 PM
|
|
Registered User
|
|
Join Date: Feb 2004
Posts: 845

|
|
|
Some of them should depend on others which were also removed, so if you pick a high-level package there's a good chance you'll pull in others automatically. It shouldn't take that long.
|

19th January 2007, 04:53 PM
|
|
Registered User
|
|
Join Date: Feb 2004
Posts: 845

|
|
|
Actually, it's easy, just use "yum install gtk2". That will automatically pull in as dependencies everything that was deleted before.
Edit: Never mind, I have it backwards, that won't work. I can get a list of packages that would get deleted by "yum remove gtk2" and answering "N" at the prompt, and on my system it's 233 packages, but it exceeds the size limit for a post, so I can't post it here. I can try to post it as a file attachment if it would help.
Last edited by robatino; 19th January 2007 at 05:06 PM.
|

19th January 2007, 05:19 PM
|
|
Registered User
|
|
Join Date: Feb 2004
Posts: 845

|
|
|
You need to pick packages that appear "high-level" (depend on a lot of low-level stuff), and low-level packages will get pulled in automatically. Alternatively, you could use a long "yum install" line and list all the packages that were removed (or maybe 10 or 20 at a time).
|

19th January 2007, 06:01 PM
|
 |
Retired User
|
|
Join Date: Oct 2004
Location: London, UK
Posts: 4,999

|
|
|
grep Erased /var/log/yum.log showed 100s of packages!! wow, just for removing gtk2, jesus, that's not good.
Anyone have a quick script to reinstall all this stuff via yum?
If reinstalling isn't a huge issue, then do that, it will probably be quicker.
EDIT: see below
Last edited by sideways; 19th January 2007 at 06:16 PM.
|

19th January 2007, 06:07 PM
|
 |
Retired User
|
|
Join Date: Oct 2004
Location: London, UK
Posts: 4,999

|
|
|
when I do yum remove gtk2 it list these packages for removal, seems like yum groupinstall gnome-desktop will repair a lot
ATI-fglrx
ATI-fglrx-control-panel
ATI-fglrx-devel
AdobeReader_enu
GConf2
GConf2-devel
ImageMagick
NetworkManager-gnome
alacarte
amule
antlr
at-spi
at-spi-devel
atomix
authconfig-gtk
azureus
bluez-gnome
bluez-utils
bouncycastle
bsf
bsh
bug-buddy
cairo-java
celestia
chess
comical
control-center
crystal
csmash
desktop-printing
devhelp
drgeo
eel2
eel2-devel
ekiga
eog
esc
evince
evolution
evolution-data-server
evolution-data-server-devel
evolution-sharp
evolution-webcal
file-roller
firefox
firefox-devel
firstboot
flash-plugin
frysk
gail
gail-devel
gaim
galculator
gcalctool
gconfmm26
gdm
gedit
gimp
gimp-data-extras
gimp-help
gimp-libs
gimp-print-plugin
gjdoc
glade2
glib-java
gmime-sharp
gnofract4d
gnome-applet-netspeed
gnome-applets
gnome-bluetooth
gnome-bluetooth-libs
gnome-desktop
gnome-desktop-devel
gnome-games
gnome-icon-theme
gnome-keyring
gnome-keyring-devel
gnome-mag
gnome-media
gnome-mount
gnome-netstatus
gnome-panel
gnome-panel-devel
gnome-pilot
gnome-pilot-devel
gnome-power-manager
gnome-python2
gnome-python2-applet
gnome-python2-bonobo
gnome-python2-canvas
gnome-python2-desktop
gnome-python2-extras
gnome-python2-gconf
gnome-python2-gnomeprint
gnome-python2-gnomevfs
gnome-python2-gtksourceview
gnome-python2-libegg
gnome-screensaver
gnome-session
gnome-sharp
gnome-spell
gnome-sudoku
gnome-system-monitor
gnome-terminal
gnome-themes
gnome-themes-extras
gnome-user-share
gnome-utils
gnome-vfs2
gnome-vfs2-devel
gnome-vfs2-smb
gnome-vfsmm26
gnome-volume-manager
gnomebaker
gnu-crypto
gnubg
gok
gperiodic
grip
gsf-sharp
gstreamer
gstreamer-plugins-base
gstreamer-plugins-good
gstreamer-python
gstreamer08-plugins
gthumb
gtk-sharp2
gtk2-devel
gtk2-engines
gtkglext
gtkhtml2
gtkhtml3
gtkmm24
gtksourceview
gtkspell
gucharmap
gxmame
hal-gnome
hsqldb
im-chooser
istanbul
jakarta-commons-cli
jakarta-commons-lang
jakarta-commons-logging
java-1.4.2-gcj-compat
k3b
k3b-extras-nonfree
kaffeine
kchmviewer
kdeadmin
kdebase
kdegraphics
kdelibs
kdelibs-devel
kdemultimedia
kdemultimedia-extras
kdenetwork
kdeutils
kdissert
kdmtheme
kdnssd-avahi
kdnssd-avahi-devel
knemo
knetworkmanager
kompose
kooldock
krb5-auth-dialog
ktorrent
kyum
libbonoboui
libbonoboui-devel
libcroco-devel
libgail-gnome
libgcj
libgconf-java
libglade-java
libglade2
libglade2-devel
libglademm24
libgnome
libgnome-devel
libgnome-java
libgnomecanvas
libgnomecanvas-devel
libgnomecanvasmm26
libgnomemm26
libgnomeprintui22
libgnomeprintui22-devel
libgnomeui
libgnomeui-devel
libgnomeuimm26
libgpod
libgsf
libgsf-devel
libgtk-java
libnotify
librsvg2
librsvg2-devel
libswt3-gtk2
libvte-java
libwmf
libwnck
libwpd
livna-config-display
log4j
metacity
mplayer
mplayer-fonts
mplayer-gui
mplayer-skins
mplayerplug-in
nautilus
nautilus-cd-burner
nautilus-extensions
nautilus-sendto
nautilus-sendto-bluetooth
notification-daemon
notify-python
ogre
openoffice.org-calc
openoffice.org-core
openoffice.org-draw
openoffice.org-graphicfilter
openoffice.org-impress
openoffice.org-math
openoffice.org-writer
openoffice.org-xsltfilter
openssh-askpass
orca
pirut
planner
poppler
poppler-utils
pygtk2
pygtk2-devel
pygtk2-libglade
redhat-artwork
rhgb
rss-glx-gnome-screensaver
rss-glx-kde
rss-glx-xscreensaver
sane-frontends
smb4k
snes9express
sound-juicer
system-config-date
system-config-display
system-config-keyboard
system-config-language
system-config-lvm
system-config-network
system-config-printer
system-config-rootpassword
system-config-securitylevel
system-config-services
system-config-soundcard
system-config-users
tomboy
tomcat5-jsp-2.0-api
tomcat5-servlet-2.4-api
usermode-gtk
vino
vlc
vnc
vte
wallpapoz
wp_tray
wxGTK
xalan-j2
xcdroast
xchat
xerces-j2
xine-lib-extras
xml-commons-apis
xml-commons-resolver
xsane
xsane-gimp
xscreensaver-base
xscreensaver-extras
xscreensaver-extras-gss
xscreensaver-gl-extras
xscreensaver-gl-extras-gss
xsri
yelp
yumex
|

19th January 2007, 06:07 PM
|
 |
Registered User
|
|
Join Date: Apr 2004
Posts: 1,186

|
|
best way is to do groupinstalls
yum groupinstall "Gnome Desktop Environment"
boom
|

19th January 2007, 07:10 PM
|
 |
Registered User
|
|
Join Date: Feb 2005
Location: Lansing, Mi
Age: 28
Posts: 2,222

|
|
|
if you have your install disk, you could use it to *upgrade* you current install, that should reinstall gnome and whatnot, but yum groupinstall "Gnome Desktop Enviroment" should get you back up and running
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 01:36 (Monday, 20-05-2013)
|
|
 |
 |
 |
 |
|
|