Hi Andreas,
>
> Read these two paragraphs from the original report! This is exactly your
> problem!
I am not arguing against you. Just checking my
steps. The manpage enforces the bug. I did not
read it with full attention:
CAVEAT: If a previous version of the package
was built without this option and is
now built with it (or vice-versa), it
requires a "dir to symlink" (or "symlink
to dir") migration. Since debhelper has
no knowledge of previous versions, you
have to enable this migration itself.
>
> >> Note that dpkg intentionally does not replace directories with symlinks
> >> and vice versa, you need the maintainer scripts to do this.
> >> See in particular the end of point 4 in
> >> https://www.debian.org/doc/debian-policy/ch-maintainerscripts.html#s-unpackphase
> >>
> >>
> >> It is recommended to use the dpkg-maintscript-helper commands
> >> 'dir_to_symlink' and 'symlink_to_dir' (available since dpkg 1.17.14)
> >> to perform the conversion, ideally using d/$PACKAGE.maintscript.
> >> Do not forget to add 'Pre-Depends: ${misc:Pre-Depends}' in d/control.
> >> See dpkg-maintscript-helper(1) and dh_installdeb(1) for details.
Thanks to point me the fix.
>
>
> > bogofilter-{bdb, sqlite, tokyocabinet} depends on bogofilter-common[0],
> > which has the copyright file[1]. And I used:
>
> That's fine
>
> > override_dh_installdocs:
> > dh_installdocs --link-doc=bogofilter-common
>
> Which is also fine, but not sufficient for clean upgrades.
>
Hopefully I close this bug today.
regards,
-- Herbert Parentes Fortes Neto (hpfn)Attachment:
signature.asc
Description: This is a digitally signed message part