<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
<br><br>> Date: Tue, 16 Jun 2009 10:14:08 -0700<br>> From: fatkasuvayu+linux@gmail.com<br>> To: fedora-list@redhat.com<br>> Subject: Re: yum question<br>> <br>> Markus Kesaromous wrote:<br>> > In instances when access to the net is not available,<br>> > but the distro DVD is available.<br>> > How can one get yum to resolve dependencies automagically<br>> > from the Packages directory of the mounted DVD?<br>> > <br>> <br>> goto /etc/yum.repos.d/  and create a repo file. You can use another file <br>> like fedora.repo as your template. change the repo location to the mount <br>> point for the DVD. Something like file:///path/to/DVD/. Name your repo <br>> with something like localrepo. Then do,<br>> <br>> $ yum --disablerepo=fedora,updates install <package><br>> <br>> This should do it. :)<br>> <br>> PS: don't forget to put enabled=1 in the new repo file you create.<br>> <br>> -- <br>> Suvayu<br><br>Thank you Suvayu. This is what I created:<br>/etc/yum.repos.d/local.repo<br>It contains:<br>[local]<br>name=Fedora 11 - i386 - Local<br>baseurl=file:///media/dvd/Packages<br>enabled=1<br>gpgcheck=1<br>gpgkey=file:///media/dvd/RPM-GPG-KEY-fedora-11-primary<br><br>and it works  great.<br><br>Thanks for the tip!<br><br>Cheers,<br><br>MK<br><br>> <br>> Open source is the future. It sets us free.<br>> <br>> -- <br>> fedora-list mailing list<br>> fedora-list@redhat.com<br>> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list<br>> Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines<br><br /><hr />Hotmail® has ever-growing storage! Don’t worry about storage limits. <a href='http://windowslive.com/Tutorial/Hotmail/Storage?ocid=TXT_TAGLM_WL_HM_Tutorial_Storage_062009' target='_new'>Check it out.</a></body>
</html>