Fedora Linux Support Community & Resources Center
  #1  
Old 22nd May 2008, 05:36 PM
jody Offline
Registered User
 
Join Date: May 2008
Posts: 56
i lost yum

I am currently installing fedora8 x86_64.
To clean up a little bit, i removed the kde desktop environment using pirut.
pirut suddenly crashed and now there is no more yum, pirut or pup.

How can i get my yum back?
Help is very much appreciated!

Jody
Reply With Quote
  #2  
Old 22nd May 2008, 05:56 PM
stoat Offline
Registered User
 
Join Date: Jun 2006
Posts: 7,550
Hello jody,

You might get an idea in another thread here where a similar thing happened. In that thread the victim re-installed yum using the LiveCD and its yum to re-install yum on the hard drive system. I did it for fun. It works.

P.S.: After you get yum back, you can examine /var/log/yum.log to see what else was deleted that you may want to re-install. See, when a package is deleted, yum will delete things that depend upon it, too. But when you re-install that package, those other things are not necessarily re-installed with it. Only its own dependencies are re-installed with it. That may have been hard to follow, but it's true, man. I observed that in my experiment with this issue. When I deleted yum, eight other things went with it. When I re-installed yum with the LiveCD's yum, only yum was re-installed. I then used that newly re-installed yum to re-install those other eight things.

Last edited by stoat; 22nd October 2008 at 02:18 AM.
Reply With Quote
  #3  
Old 22nd May 2008, 06:03 PM
PabloTwo Offline
"Registered User" T-Shirt Winner
 
Join Date: Mar 2007
Location: Seville, FL
Posts: 6,058
The most likely scenario is that some important library file needed by yum, rpm, etc. got taken out with the removal of the KDE de. In a root terminal, what is the error message you get when you try to run a yum command?
Reply With Quote
  #4  
Old 22nd May 2008, 08:06 PM
jody Offline
Registered User
 
Join Date: May 2008
Posts: 56
@stoat: thanks for the explanation - i'll try this with the Live-CD
@pabloTwo; i am currently not at work, but as far as i rem ember the message was
"bash: yum: command not found"
or thereabouts
Reply With Quote
  #5  
Old 22nd May 2008, 08:56 PM
PabloTwo Offline
"Registered User" T-Shirt Winner
 
Join Date: Mar 2007
Location: Seville, FL
Posts: 6,058
Quote:
Originally Posted by jody
@pabloTwo; i am currently not at work, but as far as i rem ember the message was
"bash: yum: command not found"
or thereabouts
That's a bit more serious than a missing lib file or two. Looks like Stoats remedy will be in order.
Reply With Quote
  #6  
Old 22nd May 2008, 09:58 PM
jody Offline
Registered User
 
Join Date: May 2008
Posts: 56
I guess the LiveCD-thing will be a problem:
on the LiveCD Howto
http://fedoraproject.org/wiki/FedoraLiveCD/LiveCDHowTo
the first step is to install livecd-tools
yum install livecd-tools

This means that on my machine at work i can't create a liveCD,
(having no yum)

So i tried to build a liveCD here at home - i followed the instructions,
but building the LiveCD crashed with a message:
Quote:
Error creating Live CD : Failed to find package 'gnome-blog' : No package(s) available to install
So i installed gnome-blog but this did not make any difference.

However, from the output of liveCD-creator i suspect that
it was building an i386 system (same as my computer at home has)
Would it still be possible to use such a LiveCD for installing yum
on a x86_64 system?

Perhaps i will have to start all over with the installation....
Reply With Quote
  #7  
Old 22nd May 2008, 10:10 PM
stoat Offline
Registered User
 
Join Date: Jun 2006
Posts: 7,550
Hello jody,

You can download a Fedora LiveCD ISO from the Internet and burn it to a CD. Every Fedora version since F7 has one (two actually). You can download the Fedora 8 LiveCD ISO from the download server.

Quote:
Originally Posted by jody

Perhaps i will have to start all over with the installation....
Well, that is always an option. And a good one, too. I have installed and re-installed Fedora so many times that I see anaconda screens in my sleep.

Last edited by stoat; 23rd May 2008 at 02:16 AM.
Reply With Quote
Reply

Tags
lost, yum

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
lost ephaedrus Using Fedora 7 16th July 2009 08:17 PM
Lost my YUM spaceman1020 Installation, Upgrades and Live Media 2 23rd June 2006 04:06 AM
a little lost... prairielily Hardware & Laptops 2 8th April 2006 03:10 PM


Current GMT-time: 08:35 (Saturday, 02-08-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat