Re: dnf replacing yum and dnf-yum

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

 



On 7 April 2015 at 17:37, Adam Williamson <adamwill@xxxxxxxxxxxxxxxxx> wrote:
> This is easier said than done. We don't have a perfect dependency
> checker and it's not at all easy to write one.

>From someone that's actually written a yum-compatible dependency
checker in C several years ago[1] I can attest that the --skip-broken
flag is really only a work around for repositories being pushed while
broken, or the depsolver being broken by design. We tried using
--skip-broken by default in PackageKit a few years ago and it was
basically a disaster.

A "simple" iterative depsolver like yum has needs so many special
cases that it becomes a maze of code making pretty random decisions,
requiring spurious manual deps added to packages when upgrade issues
were found. Ten years ago cleverer people than me decided that
SAT-based solvers were the only thing that made logical sense, which
is what hawkey uses via the libsolv library. PackageKit in F22 uses
hawkey, and the code is predictable and stable, which is a long way
from what we had with the yum depsolver.

To those mis-remembering how awesome the yum depsolver was: it really wasn't.

Richard

[1] https://github.com/hughsie/zif
-- 
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