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

Re: DEP 17: Improve support for directory aliasing in dpkg



Hi,

On 5/7/23 18:14, Ansgar wrote:

Is there any specific reason why specifically diversions are a problem
where "it might work" is not sufficient? That is, why should we divert
from the usual standard for dealing with packages outside the Debian
ecosystem here?

Locally created diversions are a supported feature, and the only way for admins to replace single files in a way that is safe for installing updates.

Even within Debian, it is not sufficient to just coordinate uploads of packages that divert each others' files, because the new diversion needs to be in place before a newly-canonicalized package is unpacked, a Breaks relationship does not enforce that ordering, and while a Conflicts without a Replaces does, this adds a lot of constraints to the solver.

   Simon


Reply to: