LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-22-2006, 07:37 AM   #1
wrabbit
LQ Newbie
 
Registered: Oct 2006
Posts: 7

Rep: Reputation: 0
Installing updates from DVD with YUM


Hey guys.... I've just installed Fedora Core 5 on one of my machines and I'm trying to install a heap of rpm updates and errata fixes from a DVD via YUM(which should be the easiest way).

This is the path containing all the rpm updates once the dvd is inserted.
Code:
/media/fedora-c5-errata 200610031232/fedora/linux/core/updates/5/i368
This is what I've added to /etc/yum.conf
Code:
[updates]
name=Fedora Core Linux $releasever - $basearch - updates
baseurl=file:///media/fedora-c5-errata 200610031232/fedora/linux/core/updates/5/i368-$releasever/$basearch
gpgcheck=1
I should mention that there is also a folder named "debug" and a folder named "repodata" in /i386.

It's not working and I'm out of ideas. Please help if you can.
 
Old 10-22-2006, 07:59 AM   #2
Hitboxx
Senior Member
 
Registered: Mar 2006
Location: India
Distribution: Fedora
Posts: 1,562
Blog Entries: 3

Rep: Reputation: 61
Ummm.. shouldn't it be 'i386' rather than 'i368' ??
 
Old 10-22-2006, 08:03 AM   #3
wrabbit
LQ Newbie
 
Registered: Oct 2006
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by shrikant.odugoudar
Ummm.. shouldn't it be 'i386' rather than 'i368' ??
Ah yeah, my original post has a typo. It's right in yum.conf.

I've been searching and searching. I can't work out how to do this. I think I'll just download the 600mb if I can't get this working.


EDIT: I'm currently working my way through the man page for yum.conf. If I can't work it out from there, I'm a lost cause.

Last edited by wrabbit; 10-22-2006 at 08:21 AM.
 
Old 10-22-2006, 09:12 AM   #4
sn68
Member
 
Registered: Oct 2005
Distribution: FC5
Posts: 338

Rep: Reputation: 30
I think for any dvd to act as a repository, the rpm files on dvd have to be in a folder called "RPMS"
 
Old 10-22-2006, 11:48 AM   #5
wrabbit
LQ Newbie
 
Registered: Oct 2006
Posts: 7

Original Poster
Rep: Reputation: 0
The DVD is actually setup to be a repo. I just need yum to point to it.

I'm going to try setting up a local repo.
 
Old 10-22-2006, 02:17 PM   #6
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
Using the DVD to install packages from FC5 at this point is not the best of ideas. The reason being, FC5 is 6 or so months old, so once you get all the packages installed, yum is just going to update them through the web. Say you install firefox version 1.5.0-4 from the DVD, but when yum does its next update, it will see that 1.5.0-7 is out. So after doing the work to install the older version from the DVD, you are just going to download the newest version in any case.

Peace,
JimBass
 
Old 10-22-2006, 09:01 PM   #7
wrabbit
LQ Newbie
 
Registered: Oct 2006
Posts: 7

Original Poster
Rep: Reputation: 0
You make a good point. Nevertheless, I just did a regular YUM update and it was done in a couple of hours.
 
  


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 updates on FC3_64 Phaethar Fedora 4 11-22-2005 03:56 PM
installing yum on RH 7.3 for auto updates ergo_sum Linux - Newbie 9 04-03-2005 03:22 PM
YUM Updates jaschwar Linux - Newbie 3 03-01-2005 06:13 PM
yum updates pulisubs Linux - Newbie 2 12-20-2004 11:14 PM
Where does yum download updates to? fzx1 Linux - Newbie 2 04-10-2004 04:50 PM


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