LinuxQuestions.org
Help answer threads with 0 replies.
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-03-2008, 08:43 PM   #1
Mustafa^Qasim
Member
 
Registered: Dec 2005
Location: Lahore, PK
Distribution: Fedora 14
Posts: 105

Rep: Reputation: 16
Setting Local DVDROM as yum Repository


Hello!
I want yum to also look into F8 DVD thats is already mounted in /media/Fedora 8 i386 DVD so if the packg is availabe there and no newer version is available on net so i can force it to install it from the DVD to save my downnloding time.

I tried it by opening Add Remove Software and go to Repository Manager and add a new repository and give the following path

file://media/Fedora 8 i386 DVD/repodata

i also tried with this path

file://media/Fedora 8 i386 DVD/repodata/repomd.xml

but the system couldn't fetch the repomd.xml file. How can i add my local dvd as a repository in yum?
 
Old 05-03-2008, 10:01 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,160

Rep: Reputation: 329Reputation: 329Reputation: 329Reputation: 329
On Fedora 8 there should already be a Fedora-install-media.repo file in /etc/yum.repos.d. To enable it simply open that file in a text editor and change "enabled = 0" to "enabled = 1" (no quotes). Note that yum might choke if the DVD isn't in the drive the first time you run it after doing this.
 
  


Reply

Tags
fedora, repository, yum


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
want to set up local yum repository linmix Linux - Software 4 04-23-2013 04:42 AM
can i create a local yum repository? Sharaz Linux - General 5 01-21-2008 02:51 PM
Problem creating local Yum Repository DirkDiggler Linux - Software 1 05-25-2007 01:04 AM
how can i add a local Folder on local Hard Disk as Yum Repository ?? vahid_p Fedora 4 02-22-2007 11:43 AM
install local dir as yum repository unixmad Linux - Newbie 2 10-01-2004 05:07 PM


All times are GMT -5. The time now is 11:46 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration