LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-30-2004, 06:21 PM   #1
tcurt
LQ Newbie
 
Registered: May 2004
Location: San Antonio, TX
Distribution: Fedora Core 2
Posts: 11

Rep: Reputation: 0
RPM and Yum are not responding?


I am running RH8, new to Linux (from OS/2), and have taken my time to get settled. Recently I familiarized myself with dependency hell. I wanted to install Bluefish (web editor) and grabbed the RPM. It needed updated gnome-vfs and aspell. I tracked them down, but they needed other updated components - old story others are already familiar with. While starting to make charts to keep up with all this, I found articles about Yum. I grabbed the RPM distribution appropriate version of Yum from Duke and double-clicked it from Gnome. The Yum RPM never finished installing. Just froze in mid-"checking dependencies." Now I figured out later that I RH8 already had Yum installed and that I probably only needed to change my yum.conf and I'd have been good to go.
Problem is now things aren't responding correctly at all. I cannot rpm yum from either the command line or the desktop - the computer just sits and sits with no output. In fact, I cannot seem to rpm any package - including Bluefish which I *know* used to work. And while I can start yum from the terminal, the only meaningful response I can get from it is a list of command line switches and options. If I try and enter a command (like --help, or info, or list or check-update) or even a typo, once I hit enter Yum never responds. I've been fully prepared to blame Yum for this, but I'm coming around to the idea that it could very well be rpm's fault. I'm just dying to put Yum to good use here. I'll go reboot the machine for good measure. Here's my yum.conf.

Thanks alot in advance, trine.

[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest

[rhl-8.0-stock]
name = Red Hat Linux 8.0 stock @ dulug
baseurl=ht0tp://mirror.dulug.duke.edu/pub/yum-repository/redhat/8.0/i386/


[rhl-8.0-updates]
name = Red Hat Linux 8.0 updates/errata @ dulug
baseurl=ht0tp://mirror.dulug.duke.edu/pub/yum-repository/redhat/updates/8.0/



 
Old 05-30-2004, 11:18 PM   #2
tcurt
LQ Newbie
 
Registered: May 2004
Location: San Antonio, TX
Distribution: Fedora Core 2
Posts: 11

Original Poster
Rep: Reputation: 0
Question Now that Yum is working, how best to use it?

Wild - a reboot worked. Ok, so Yum is awakened from its slumber along with RPMs. I did a yum info and downloaded a gob of headers as well.

Now I guess I just need a better grasp of how best to apply yum to my setup. I'll be using it for lots of things, but for this example I just want to see how to use it to install Bluefish. I already have the Bluefish RPM, but I did a "yum install bluefish" anyways. The Duke repositories I point to don't have any such package. Having tried to install the RPM myself already, I knew what components I was told were missing. I then tried both "yum upgrade aspell" and "yum upgrade gnome-vfs" and was promptly told that both were currently installed at their highest levels.

This is a head scratcher for me. I already have the RPMs for Bluefish, Aspell 5something, and Gnome-vfs 2.6 but all have missing dependencies. Do I need to add additional repositories to yum.conf that have more up to date versions, or am I trying to install beyond what RH8 should have?

Thanks, trine.
 
Old 05-30-2004, 11:59 PM   #3
fortezza
Member
 
Registered: Mar 2003
Location: Colorado
Distribution: Fedora Core 4
Posts: 297

Rep: Reputation: 30
Yum and Repositories

You definitly need to experiment with repository settings to see which ones work for you. I gleaned my by googling for "yum.conf" and trying different setups from there. As far as locating packages, I often will do a "yum search <name>" for what I am looking to install just to make sure it is available before trying to install it. If you have a messed up install and want to have Yum handle the installation for an rpm package for your, but it complains that that package is already installed and up to date, then I do "rpm -qa | grep <name>" to get the installed package name,then I do "rpm -ev <package name>" to uninstall it ( sometime you need to add --nodeps to force the uninstall, just be careful as you can break other packages/your whole OS this way ), and then let Yum download/install it. This method has saved my rear a few times

Btw, just because there are rpm's for an application doesn't mean they will be available on the Yum repositories, someone has to put them there. So, if Yum search doesn't find anything, then you either have to change repositories to once that has it or download and install "rpm -ivh <rpm file>" the package yourself. I heard you can make your own local Yum repository and put rpm's in there that you want to be available to computers on your LAN, but I haven't tried it.

Hopefully this made sense and was helpful to you.

~Fortezza
 
  


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
yum version yum-2.0.5-0.9.2.legacy.noarch.rpm master Red Hat 6 05-13-2005 04:03 PM
RPM or Yum? giovannym Linux - Newbie 19 04-18-2005 12:47 AM
Fedora + yum - rpm-python = :( BrokenBrick Linux - Software 1 03-11-2005 09:41 PM
Yum - can it install any rpm? sybil Linux - Newbie 2 07-05-2004 05:50 PM
rpm and Yum Hangs cryzpene Linux - Newbie 0 05-25-2004 10:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:21 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