DNF - Update packages from specific repository with dependencies

Jan Zelený jzeleny at redhat.com
Thu Aug 13 18:53:59 UTC 2015


On 12. 8. 2015 at 15:11:38, Zelja Tux wrote:
> Hi,
> 
> How to only install updates from a specific repository with DNF (and their
> dependencies from other repositories)?
> Is there a option to upgrade only packages from specific repository (and
> their dependencies from other repositories)
> 
> I use following on Fedora 22 x86_64:
> 
> dnf -y repo-pkgs MYREPO upgrade
> 
> Upgrade is successfull, but it takes VERY LONG time to complete (5mins).
> 
> 
> If I use following:
> dnf -y --disablerepo=\* --enablerepo=MYREPO upgrade
> 
> Upgrade fails with:
> Skipping packages with broken dependencies:
> 
> Because I have one package on MYREPO that requires (have dependency)
> package from other repo (fedora repo).
> 
> Yum command worked fine.
> yum -y repo-pkgs MYREPO update
> 
> Does anyone have a clue.

Does

dnf -y repository-packages MYREPO upgrade

not work?

Jan


More information about the devel mailing list