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

Re: Declarative Diversions - GSoC Project Update 1



Raphael Hertzog <hertzog@debian.org> writes:

> On Mon, 30 May 2011, Goswin von Brederlow wrote:
>> Sam Dunne <sam.dunne101@gmail.com> writes:
>> 
>> > This project will infer --add, --remove and --package and will not
>> > allow you to specify them.
>> >
>> > The same is goes for --rename, it is being made default and not optional (for
>> > now, I am aware of some special cases).
>> >
>> > --divert will not be specifiable and will take the default format
>> > "file.divert-$package".
>> 
>> What about moving a diversion from package A to B?
>
> That's why we have "Conflicts" to ensure a package is removed before the
> other is installed.

But we only need breaks+replaces there.

> I mean moving a diversion (which implies moving a file) without this
> precaution would fail because dpkg-trigger is run in the preinst. Thus
> it's not a new problem.
>
> Cheers,

MfG
        Goswin


Reply to: