Re: yum or dnf question

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

 



On Fri, 2014-12-19 at 09:55 +0100, Joachim Backes wrote:
> Hi guys,
> 
> is it possible to run "yum/dnf update [<some pkgs>]" (from the official
> repos) together with some rpm file residing on my box (for example
> downloaded from koji)?
> 
> Example: I need such a mechanism if mutual dependencies exist between
> pkgs from the repo and the rpm on my box.
> 
> KInd regards
> 
> Joachim Backes
> -- 
> 
> Fedora release 21 (Twenty One)
> Kernel-3.17.6-300.fc21.x86_64
> 
> 
> Joachim Backes <joachim.backes@xxxxxxxxxxxxxx>
> https://www-user.rhrk.uni-kl.de/~backes


Hi
I use the following method to achieve this - there may
be a better method

I have a local-20-update repo which I populate with "update" rpms
and then run createrepo

When I run yum, the "cost=1" setting forces this repo to be used first
If an rpm or dependency is required that is not available locally
it will be down loaded from the "normal" remote repo

Each of my machines are set to pick up "updates" locally if possible

ja@paxos yum.repos.d 4$ cat local-20-update.repo
[local-20-update]
name=Local Fedora $releasever - $basearch - Updates
cost=1
baseurl=file:///global/local_repos/20/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch


John

PS
I also have a script that picks up "updates" 
and hence only one download is required for several machines




-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux