Re: preupgrade with local repo

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

 



idwsh6b02@xxxxxxxxxxxxxx wrote:
I tried to use preupgrade with a modified releases.txt that points to a local repository. But preupgrade is still going to the mirrors over the internet. Does anyone have an example releases.txt that demonstrates how to do preupgrade from a completely local yum repository.

Here was my releases.txt that I tried:

[Fedora 11 (Leonidas)]
stable=True
preupgrade-ok=True
version=11
baseurl=file:///repo/fedora/releases/11/Everything/$basearch/os/
#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-11&arch=$basearch
mirrorlist=
#installmirrorlist=http://mirrors.fedoraproject.org/mirrorlist?path=pub/fedora/linux/releases/11/Fedora/$basearch/os
installmirrorlist=
installurl=file:///repo/fedora/releases/11/Fedora/$basearch/os/


I also tried --disablerepos='*' --enablerepos='mylocal*'
(where mylocal* repos are repos that I have added in /etc/yum.repos.d that point to my local copy of the repository).  That didn't help either.

I'm sure I'm missing something simple, but customizing preupgrade like this is not very well documented that I could see.  Any pointers are welcome.

There are things in yum like localinstall and localupdate, but I think the solution lies in using the "cost" parameter for your local repo, set it to about 500 and it should be used before any other.

--
Bill Davidsen <davidsen@xxxxxxx>
  "We have more to fear from the bungling of the incompetent than from
the machinations of the wicked."  - from Slashdot

--
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