LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 09-15-2006, 10:51 AM   #1
Charlie Spencer
Member
 
Registered: Nov 2003
Location: South Carolina, USA
Distribution: Fedora Core 5
Posts: 106

Rep: Reputation: 15
Can I create a local yum repository without copying DVDs?


Is there a way to create a local yum repository without having to copy the contents of the DVD to the local hard drive? I've got four DVD's and a 20 gig HD. I'd prefer yum attempt to install / update directly from the DVDs.
 
Old 09-15-2006, 02:05 PM   #2
w3bd3vil
Senior Member
 
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,191

Rep: Reputation: 49
yum localinstall /mnt/cdrom/me.rpm
 
Old 09-15-2006, 02:26 PM   #3
Charlie Spencer
Member
 
Registered: Nov 2003
Location: South Carolina, USA
Distribution: Fedora Core 5
Posts: 106

Original Poster
Rep: Reputation: 15
w3bd3vil, I'll try that if I get desperate.

I've got a 4 DVD set, one of which is full of updates. I'd prefer to run yum against the DVD than pull them off the Internet. As I understand it, the localinstall parameter requires me to specify each .rpm manually. It also assumes I know what each package does based on the filename. Since I can't get yum to work, I don't know exactly what packages the FC5 "Desktop" config installed or what the packages are named If I can get a repository set up, I hope I can use the Add / Remove Software GUI tool or one of the other yum GUI's and let them tell me the full "human readable" application name.

Last edited by Charlie Spencer; 09-15-2006 at 02:28 PM.
 
Old 09-22-2006, 07:32 AM   #4
Charlie Spencer
Member
 
Registered: Nov 2003
Location: South Carolina, USA
Distribution: Fedora Core 5
Posts: 106

Original Poster
Rep: Reputation: 15
The baseurl in the fedora-core, fedora-updates, and fedora-extras .repo files should be set to

baseurl=file:///media/disk

regardless of how the Updates and Extras DVDs mount themselves. This will allow access to the Core DVD, the one used for the original installation, either from yum or the Add / Remove Software GUI menu option. The localinstall option is not needed.

I have not worked out how to access the Updates or Extras DVDs through yum. What doesn't work is creating a new repo with the same baseurl as above and then disabling all other repos.
 
  


Reply

Tags
repository, yum



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 03:42 AM
can i create a local yum repository? Sharaz Linux - General 5 01-21-2008 01:51 PM
Faluire to create local repository JackieBrown Debian 1 08-22-2006 06:39 PM
install local dir as yum repository unixmad Linux - Newbie 2 10-01-2004 04:07 PM
how to create a local apt repository bakwas_internet Fedora 3 01-19-2004 02:14 AM

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

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