David B Harris <[EMAIL PROTECTED]> wrote:
> On 24 May 2003 15:40:08 +0900
> Masato Taruishi <[EMAIL PROTECTED]> wrote:
>> Ah, the main point of this package is to create a local ad-hoc package
>> which can coexist with its official package. Escpecially, I can manage
>> my temporary on-going improvement to some debian package as a debian
>> package. I didn't think to waste official debian packages because we
>> shouldn't upload this kind of patch packages to the official but merge
>> the patch to the official packages if we want to share them on public.

> The main question is "what on god's green earth does this do that
> dpkg-divert doesn't do?"

> Looking at the package description, it implies that it will in fact do a
> lot less than dpkg-divert unless you tell it otherwise.

Reread it, please.

| create diversion-enabled packages, that is, these original files
| which are changed by your tuned packages will be diverted before
| installing yours and will be recovered after removing yours
| automatically.

Afaict, this should enable you to
* apt-get source foo
* apply debdivert
* build package
* dpkg -i foo_1.0-debdivert_i386.deb
with a foo_debdivert that can coexist with foo and has all the
necessary calls to dpkg-divert needed for co-existence in its
maintainterscripts.

I still don't get why you wouldn't simply generate a modified version
and install it _instead_ of the original package, unless foo also
include a switch-debdivert-foo package that enables to choose to
switch to officila package faster than 'dpkg -i official.deb'
                    cu andreas


Reply via email to