RE: yum question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





> Date: Tue, 16 Jun 2009 10:14:08 -0700
> From: fatkasuvayu+linux@xxxxxxxxx
> To: fedora-list@xxxxxxxxxx
> Subject: Re: yum question
>
> 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.
>
> --
> Suvayu

Thank you Suvayu. This is what I created:
/etc/yum.repos.d/local.repo
It contains:
[local]
name=Fedora 11 - i386 - Local
baseurl=file:///media/dvd/Packages
enabled=1
gpgcheck=1
gpgkey=file:///media/dvd/RPM-GPG-KEY-fedora-11-primary

and it works  great.

Thanks for the tip!

Cheers,

MK

>
> Open source is the future. It sets us free.
>
> --
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
> Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Hotmail® has ever-growing storage! Don’t worry about storage limits. Check it out.
-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux