----- Original Message -----
From: "Bruno Wolff III" <bruno(a)wolff.to>
To: "Radek Holy" <rholy(a)redhat.com>
Cc: "Development discussions related to Fedora"
<devel(a)lists.fedoraproject.org>
Sent: Wednesday, April 8, 2015 5:03:46 PM
Subject: Re: dnf replacing yum and dnf-yum
On Wed, Apr 08, 2015 at 08:22:53 -0400,
Radek Holy <rholy(a)redhat.com> wrote:
>
>AFAIK, YUM's --skip-broken does two things:
>1) it selects another version of the requested package if the most suitable
>cannot be installed
>2) it skips the requested package if none of its versions can be installed
>
>(2) was intentionally not supported in DNF so far but we have been
>repeatedly receiving bug reports complaining that this "feature" is
>missing. We have finally received a use case for it and thus we are
>considering an implementation as a plugin.
Doesn't 2 apply if no package list is given for dnf update?
Hm, well, in case of upgrade some version of the given package is already installed so
literally no (because the already installed version can be installed :-) ). But let's
say that we both are correct because upgrade is kind of special in this case. We can think
about changing the upgrade command to be consistent with the install command if there is a
demand to do that but so far I'm fine with the current situation. I think that in case
of upgrade, it's more common to ask to upgrade as much as you can while in case of
install, users/scripts prefer to install everything or fail otherwise. Moreover I think
that the change could annoy a lot of users.
So, let's say that (1) applies in both cases, (2) doesn't apply in case of install
and both does and doesn't (depending on the point of view) apply in case of upgrade
:-)
--
Radek HolĂ˝
Associate Software Engineer
Software Management Team
Red Hat Czech