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

Proposal: `Breaks:' field.



-----BEGIN PGP SIGNED MESSAGE-----

Hello.

This morning I installed bash 2.0. This afternoon, when booting, I saw a
strange message produced by one of the rc2.d scripts...

I think that the packaging system should be able to avoid this, and
currently it is not (Am I right?). That's why a propose a new control
header field: Breaks:

Breaks: would be like Pre-depends: but in *reverse* way.
i.e. bash 2.0 may have in its control file something like this:

Breaks: something <= foo-version, anotherthing <= bar-version, etc.

This way, dpkg would refuse to install bash 2.0 if you have any of these
"broken" packages.

dselect should treat this "Breaks" as a reverse Depend: but only if you
really have the broken package already installed.

For example, if "package A" breaks "B version <= foo" then dselect will
upgrade package B before upgrading package A. But it should not worry
about if package B is not even installed.

The most important thing here is to ensure that the system is always
stable, and that we do not risk system's integrity.

Don't we need this new field?

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: latin1

iQCVAgUBMwsb9yqK7IlOjMLFAQFgAAP9ENR006qCRMUz0VmwHz1Kgx3mFsNaIY9l
izOnZKJ/IPLmYmXconYkWpq78f+GNEzPPdDgmu3lsL/HlhlyKIU94wiJYnBNDSd5
C3QKHT5frti7wmGUnq0Wt8KhDbxQ4BKRa328yTnwDgq+dDVNemSGwH+hs6S6/i7O
eNr/R7R+Jio=
=+t/o
-----END PGP SIGNATURE-----

Santiago Vila <sanvila@unex.es>


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com


Reply to: