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

Re: dpkg 1.1.3: Pre-Depends supported in dselect



Hello,

Ian Jackson wrote:
> This version is the first one to take account of Pre-Depends fields
> when doing `mass installations' using dselect.  This feature is fairly
> untested, but the basic idea is that you take an a.out Debian
> installation, upgrade your dpkg to 1.1.3 (the a.out version) and then
> run dselect from it.  It should be able to upgrade everything in the
> right order, if the dependencies and so forth are right.

Great!  But here is another suggestion:  Have you ever thought about
Post-Dependencies?  The idea is that if you upgrade a package which will
break an installed package it will automatically upgrade that package as
well.  The libc is the perfect example:
If you upgrade the development libraries from a.out to ELF you will also
have to upgrade the gcc and binutils as well. So in that case the CONFIG
file should have an entry like:

Post-Depends: gcc (>=2.7.0-1), binutils (>=2.6.0.1)

or something like that.  This will prevent that the upgrade of one package
(eg to fix a security hole) will leave installed software or the whole system
in an non-functional state.

Cheers,
  Dominik

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Visit the FAN SITE of the WORLD LEAGUE OF AMERICAN FOOTBALL:
   http://www.uni-mainz.de/~kubla/WLAF/Welcome.html
or:
   file:/afs/zdv.uni-mainz/homes/UFO/kubla/public_html/WLAF/Welcome.html



Reply to: