Re: DNF - Update packages from specific repository with dependencies

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

 



That command works, but it takes a VERY LONG time to complete (maybe 5mins).
dnf -y repository-packages MYREPO upgrade

Earlier version of DNF (maybe few weeks ago), throw these messages while doing upgrade:
Package SOMEPACKAGE1 not installed, cannot update it
Package SOMEPACKAGE2 not installed, cannot update it
Package SOMEPACKAGE3 not installed, cannot update it
Package SOMEPACKAGE4 not installed, cannot update it


I assume that the problem could be in the fact that DNF is trying to update ALL packages from my custom repository MYREPO, but on my PC, I use only few of those packages (have installed) just a few packages.

2015-08-13 20:53 GMT+02:00 Jan Zelený <jzeleny@xxxxxxxxxx>:
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

-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux