<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 13:07:45 -0500<br>> From: mikkel@infinity-ltd.com<br>> To: fedora-list@redhat.com<br>> Subject: Re: yum question<br>> <br>> Suvayu Ali wrote:<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>> I wounder if you could just copy the medio.repo file from the DVD.<br>> <br>> Mike<br>> -- <br>> <br>>   Do not meddle in the affairs of dragons,<br>> for thou art crunchy and taste good with Ketchup!<br>> <br><br>Nop! It did not work. To wit:<br><br>yum --disablerepo=adobe-linux-i386,fedora,updates,updates-testing,local --enablerepo=/media/dvd/media.repo  update<br><br>Error getting repository data for /media/dvd/media.repo, repository not found<br><br>It is not a repo file thatyum can use.<br><br>It needs baseurl...etc<br><br>MK<br><br><br /><hr />Microsoft brings you a new way to search the web. <a href='http://windowslive.com/explore?ocid=TXT_TAGLM_WL_BR_life_in_synch_062009' target='_new'>Try  Bing™ now</a></body>
</html>