Re: DNF - Update packages from specific repository with dependencies

2015-08-19 Thread Zelja Tux
I tried the deprecated command yum and it works:
yum-deprecated -y repository-packages MYREPO update
yum-deprecated -y repo-pkgs MYREPO update

Also this command is right solution, if all packages have same prefix (but
my packages doesnt have same prefix, and I don't want to hardcode all
package names there)
dnf --enablerepo=MYREPO update $(sudo dnf list installed | grep
PREFIX_OF_MY_PACKAGES* | cut -f1 -d  )


I can use yum-deprecated, buts iits somehow awkward :)

After update to  dnf-1.1.0-2.fc22.noarch, this same command
dnf -y repository-packages MYREPO update
takes 5 minutes or more, and update is just few kilobytes.

Just want to update all installed packages from my repository with DNF  (I
dont wan't to update system repos (fedora, updates, etc).


Thanks
Zelja


On Fri, Aug 14, 2015 at 10:12 AM, Zelja Tux zelja...@gmail.com wrote:

 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ý jzel...@redhat.com:

 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@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: DNF - Update packages from specific repository with dependencies

2015-08-19 Thread Zelja Tux
If I use  dnf repository-packages, update works, but it takes about 5
minutes to complete.
Its not network issue or latency, because command yum-deprecated
repository-packages works OK (update takes about 30secs to complete on
fedora 22).
Same thing on Fedora 20 with yum repository-packages (update finishes in
about 30secs)

I will report bug.

Thank You.

Zelja

On Wed, Aug 19, 2015 at 9:19 AM, Jan Zelený jzel...@redhat.com wrote:

 On 19. 8. 2015 at 09:05:47, Zelja Tux wrote:
  I tried the deprecated command yum and it works:
  yum-deprecated -y repository-packages MYREPO update
  yum-deprecated -y repo-pkgs MYREPO update
 
  Also this command is right solution, if all packages have same prefix
 (but
  my packages doesnt have same prefix, and I don't want to hardcode all
  package names there)
  dnf --enablerepo=MYREPO update $(sudo dnf list installed | grep
  PREFIX_OF_MY_PACKAGES* | cut -f1 -d  )

 I don't quite follow. Why don't you use dnf repository-packages? It works
 the
 same as yum's equivalent.

  I can use yum-deprecated, buts iits somehow awkward :)

 Yes, yum-deprecated is ultimately going to be removed so we generally
 discourage users from using it if not necessary.

  After update to  dnf-1.1.0-2.fc22.noarch, this same command
  dnf -y repository-packages MYREPO update
  takes 5 minutes or more, and update is just few kilobytes.

 If you think it's a bug and not e.g. network latency, feel free to report
 it.

 Thanks
 Jan

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

Re: DNF - Update packages from specific repository with dependencies

2015-08-14 Thread Zelja Tux
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ý jzel...@redhat.com:

 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@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

DNF - Update packages from specific repository with dependencies

2015-08-12 Thread Zelja Tux
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.

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