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

Bug#832291: bogofilter-{bdb, sqlite, tokyocabinet}: copyright file missing after upgrade (policy 12.5)



On 2016-07-28 02:55, Herbert wrote:

Read these two paragraphs from the original report! This is exactly your
problem!

>> 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.


> 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.


Andreas


Reply to: