I was wondering why fedora has choosen yum over apt-get

Panu Matilainen pmatilai at welho.com
Tue Feb 10 20:46:33 UTC 2004


On Tue, 2004-02-10 at 22:12, Shahms King wrote:
> > 
> > If that's all it took to fix the issue you could've done it by saying
> > "apt-get install gnome-libs=<whatever-the-correct-version>" to force the
> > downgrade. Or do "rpm -e --nodeps gnome-libs; apt-get install
> > gnome-libs".
> 
> Neither of those worked, because some currently installed packages
> required the ximian version (those packages would have been updated by
> the FC packages) and some required the old version (those would not)
> either way, apt decided the only solution was removing all of them.  The
> interdependencies were more convoluted than apt could work out (and more
> convoluted than I would expect it to work out).  I however, was more
> than capable of resolving the issues provided my tools allowed me to do
> so.  Apt did not, yum did.  It's as simple as that.
> 
> The second solution leaves the rpm database with missing deps, which apt
> will complain about and then refuse to run.  However, the second
> solution works if you replace apt with yum.  Yum doesn't have anyway
> (that I'm aware of) for specifying a specific version, otherwise I
> suspect the first method would have worked as well.

Actually apt does allow running with inconsistent db if 
a) it can find a solution which fixes the situation when running with -f
b) you provide a solution to the situation within a single command 

It's often possible to do b) (because you can do simultaneous remove and
install/upgrade operations within a single command) but certainly not
always (been there plenty enough times :)

	- Panu -





More information about the fedora-devel-list mailing list