Control: found -1 1:1.4.6-4
Control: severity -1 serious
Control: tag -1 - moreinfo

On 2014-11-06 10:40, Andreas Beckmann wrote:
> On 2014-11-06 08:50, Ondřej Surý wrote:
>> both opendnssec-enforcer-sqlite3 and opendnssec-enforcer-mysql uses
>> dpkg-maintscript-helper to replace the symlink with directory:
>>
>> ondrej@lettie:~/Projects/pkg-nlnetlabs/opendnssec/debian (master)$ cat
>> opendnssec-enforcer-mysql.maintscript 
>> symlink_to_dir /usr/share/doc/opendnssec-enforcer-mysql/
>> /usr/share/doc/opendnssec-common/ 1:1.4.6-2~ -- "$@"

> But probably it's the old-target. IMO this should be what
> $(readlink $pathname) returns. You used $(readlink -f $pathname) plus a
> trailing slash. Also you have a trailing slash on $pathname.

Yes, it is the old target. And it is so obvious that we overlooked it 
completely:

The error is:

/usr/share/doc/opendnssec-enforcer-sqlite3/NEWS.Debian.gz 
(opendnssec-enforcer-sqlite3) != 
/usr/share/doc/opendnssec-enforcer/NEWS.Debian.gz (opendnssec-enforcer)

the scripts have:

dpkg-maintscript-helper symlink_to_dir 
/usr/share/doc/opendnssec-enforcer-sqlite3 /usr/share/doc/opendnssec-common 
1:1.4.6-2~ -- "$@"


The old target must be "-enforcer", not "-common".

Don't forget to bump the LASTVERSION to 1:1.4.6-5~ to also attempt to clean up 
failed cleanup.


Andreas


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to