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 10-20-2009, 01:45 AM   #1
vinaytp
Member
 
Registered: Apr 2009
Location: Bengaluru, India
Distribution: RHEL 5.4, 6.0, Ubuntu 10.04
Posts: 704

Rep: Reputation: 55
creating local yum repositary


Hi all...

I have 5 .iso files, all of them together constitute RHEL5 distribution..I know how to create a yum repository with a single .iso file..how can i create a single yum local repository which should include the packages that are in all 5 .iso files....

Main problem that I am facing is how to mount all .iso files under a single folder..

awaiting for positive reply...
Any help will be greatly appreciated...
Thanks in advance....

Last edited by vinaytp; 10-20-2009 at 01:48 AM.
 
Old 10-20-2009, 02:00 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
you might be able to use something like unionfs to do this, but outside of that, you'd need to copy the files directly. I would expect though that you could keep them separate though really, either making a single repo data file in the directory above their mount points, or have a separate repo per cd anyway.
 
Old 10-20-2009, 03:37 AM   #3
SharpyWarpy
Member
 
Registered: Feb 2003
Location: Florida
Distribution: Fedora 18
Posts: 862

Rep: Reputation: 90
What I did was copy all the files to one directory then ran "createrepo ./" and it works fine.
 
Old 10-20-2009, 05:19 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
Certainly the best approach, but if disk space is not available there should be other options if required.
 
  


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
problem creating local yum repo dlee12 Linux - Newbie 3 08-13-2009 03:49 AM
Creating Local YUM Repo for Updates? your_shadow03 Linux - Newbie 3 03-24-2009 03:48 AM
LXer: Creating A Local Yum Repository (CentOS) LXer Syndicated Linux News 0 06-18-2007 07:01 AM
Problem creating local Yum Repository DirkDiggler Linux - Software 1 05-25-2007 12:04 AM
how can i add a local Folder on local Hard Disk as Yum Repository ?? vahid_p Fedora 4 02-22-2007 10:43 AM

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

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