apt vs yum

Panu Matilainen pmatilai at welho.com
Thu Oct 16 08:35:09 UTC 2003


Quoting Jesse Keating <jkeating at j2solutions.net>:

> On Wednesday 15 October 2003 13:12, Justin Georgeson wrote:
> > what dirty tricks? APT should do nothing more than search
> > repositories for the specified package, check dependencies, download
> > candidates, and call rpm.
> 
> It used to call rpm with --force and --nodeps.  Hopefully it doesn't do 
> that anymore.

Never called rpm with --force AFAIR (and before someone goes to grep the apt
tree, like every time this comes up: yes grep finds a --force reference in the
sources but it's not used unless specified by the user), --nodeps was and still
is used because it *has* to do so as long as it doesn't use rpmlib. Rpm doesn't
support simultaneous install/upgrade/erasure operations within a single command
so apt has to "simulate" a complete transaction by doing separate runs of erase,
install and upgrade operations with --nodeps called. Also it already resolves
the package dependencies and install order by itself so why recalculate in rpm
-> calling rpm with --nodeps --noorder isn't anywhere near as bad as it sounds
*in this context*.

-- 
    - Panu -





More information about the test mailing list