LinuxQuestions.org
Visit Jeremy's Blog.
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 07-05-2004, 01:58 PM   #1
sybil
LQ Newbie
 
Registered: Oct 2003
Posts: 4

Rep: Reputation: 0
Yum - can it install any rpm?


Hi

I have been trawling the net for 2 hours and have searched this forum, so apologies if this is a repeat.

In case you ntk, I am on Fedora core1.

I found SaveMyModem on sourceforge and downloaded the rpm. On trying to install it I get a dependency problem:

[root@localhost download]# rpm -ivh smm-1.0rc2-1.i386.rpm
error: Failed dependencies:
libadns.so.1 is needed by smm-1.0rc2-1

so I figured, yum would be the way to go in case there are more dependencies down the line. The trouble is I can't work out if yum can install any rpm I find or if I can only get things from yum repositories.

I have checked in yum list and smm ya-di-ya isn't there (I have a copy of the yum.conf provided by Author: Maxwell Kanat-Alexander ).

Is it as simple as adding the name and uri to the yum.conf?

Is so, is the name for my benefit (ie I can call it what I like) or is there a particular name I must enter for it to work?

Answers in newb speak will be truly appreciated! TIA

Syb
 
Old 07-05-2004, 02:06 PM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Just add your local directory to the yum.conf file. This may give you some pointers.

I found these examples:
Code:
### My local repository
#[my-updates]
#name=Fedora Core $releasever - $basearch - Updates
#baseurl=file:///mnt/nfs/updates
                                                                                
#[my-development]
#name=Fedora Core Rawhide (Development)
#baseurl=file:///mnt/nfs/development
Which will give you an idea of how yours should look:
eg
Code:
baseurl=file:///home/download
(remove the # symbol or yum will ignore it. Then updat yum and install your file.

At least, that's how I think it should look, I have never done this myself.
 
Old 07-05-2004, 04:50 PM   #3
sybil
LQ Newbie
 
Registered: Oct 2003
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks but that didn't work - looking at the link you mentioned I have to set up a repository and that looks v. complicated for a newb like me!

The error I got seems to confirm that:

Error getting file file:///home/me/download/headers/header.info
[Errno 5] OSError: [Errno 2] No such file or directory: '/home/me/download/headers/header.info'

I have installed the app now by finding a rpm for libadns and crossing my fingers that that was the only dependency (it was!). I think I'll stick with using the standard yum repositories until I get a bit better at all this!
 
  


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 03:03 PM
RPM or Yum? giovannym Linux - Newbie 19 04-17-2005 11:47 PM
A curious YUM and RPM question woranl Fedora 1 08-11-2004 10:45 PM
RPM and Yum are not responding? tcurt Linux - Newbie 2 05-30-2004 10:59 PM
rpm and Yum Hangs cryzpene Linux - Newbie 0 05-25-2004 09:07 PM

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

All times are GMT -5. The time now is 04:57 AM.

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
Open Source Consulting | Domain Registration