yum question

Markus Kesaromous remotestar at live.com
Tue Jun 16 18:51:57 UTC 2009




> Date: Tue, 16 Jun 2009 13:07:45 -0500
> From: mikkel at infinity-ltd.com
> To: fedora-list at redhat.com
> Subject: Re: yum question
> 
> 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!
> 

Nop! It did not work. To wit:

yum --disablerepo=adobe-linux-i386,fedora,updates,updates-testing,local --enablerepo=/media/dvd/media.repo  update

Error getting repository data for /media/dvd/media.repo, repository not found

It is not a repo file thatyum can use.

It needs baseurl...etc

MK


_________________________________________________________________
Microsoft brings you a new way to search the web.  Try  Bing™ now
http://www.bing.com?form=MFEHPG&publ=WLHMTAG&crea=TEXT_MFEHPG_Core_tagline_try bing_1x1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20090616/5582e5a9/attachment-0001.htm>


More information about the fedora-list mailing list