yum question

Mikkel L. Ellertson mikkel at infinity-ltd.com
Tue Jun 16 18:07:45 UTC 2009


Suvayu Ali wrote:
> Markus Kesaromous wrote:
>> In instances when access to the net is not available,
>> but the distro DVD is available.
>> How can one get yum to resolve dependencies automagically
>> from the Packages directory of the mounted DVD?
>>
> 
> goto /etc/yum.repos.d/  and create a repo file. You can use another file
> like fedora.repo as your template. change the repo location to the mount
> point for the DVD. Something like file:///path/to/DVD/. Name your repo
> with something like localrepo. Then do,
> 
> $ yum --disablerepo=fedora,updates install <package>
> 
> This should do it. :)
> 
> PS: don't forget to put enabled=1 in the new repo file you create.
> 
I wounder if you could just copy the medio.repo file from the DVD.

Mike
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20090616/83ab7113/attachment-0001.sig>


More information about the fedora-list mailing list