Re: Getting yum to use RPMs from local disk

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

 



Anoop Chandran wrote:
Hey Guys,

I had selected the "Customize later" option, while installing
FC6. Now I have the dumped the rpms to my disk and want yum
to use the rpms in local disk., rather than getting them from the
repositories.

For eg. yum groupinstall "development tools" should start picking
the rpms which I've dumped to the local disk.

I tried setting up a web server on local box and configring yum to use
it. however it wasn't entirely successful.

Can this be done? Is there an easier method (other than going to
online repositories) or am I missing any options of yum?

Try creating your own copy of the repodata using "createrepo". Supposing you have your FC6 RPMs copied to /srv/distros/fc6/i386/RPMS, try this:

1. Copy the comps.xml file from the repodata directory on your install media to /srv/distros/fc6/i386

$ cd /srv/distros/fc6/i386
$ createrepo -g comps.xml .

Then point yum at the /srv/distros/fc6/i386 directory for your core repo and see how it goes.

Paul.

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[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