Re: Setting up yum repository

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

 



Mag Gam wrote:
Paul:

Thanks for the quick reply.

No problem, but please don't top-post on this mailing list.

> Yes, I want to set up local copy of the [core]
repository.
I will try this out. I am guessing I have to set the
file://path/to/directory in yum.conf file?

Not in the yum.conf file, but the /etc/yum.repos.d/fedora-core.repo file, where you'd comment out any existing baseurl or mirrorlist lines for the [core] repository, and add:

baseurl=file://path/to/directory

Also, I have to do yum-update after the change, correct?

Well, a yum update is unlikely to pick anything from the [core] repo unless it's a new dependency of an already-existing package you have.

It makes sense to do "yum updates" on a regular basis though to keep up with security and other bug fixes.

> Also, I do not want
yum to be using fedora's servers to get the packages.

If you configure yum to look only at your local repo, as described above, it won't look anywhere else.

Bear in mind though that the [updates] and [extras] repos are also enabled by default and that yum will use the official servers for those unless you configure it not to do so.

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