Package: namazu2-index-tools Version: 2.0.21-22.1 Severity: serious User: [email protected] Usertags: piuparts
Hi,
during a test with piuparts I noticed your package fails to upgrade from
'testing'.
It installed fine in 'testing', then the upgrade to 'sid' fails
because it tries to overwrite other packages files.
>From the attached log (scroll to the bottom...):
Preparing to unpack .../namazu2-index-tools_2.0.21-22.1_all.deb ...
Unpacking namazu2-index-tools (2.0.21-22.1) ...
dpkg: error processing archive
/var/cache/apt/archives/namazu2-index-tools_2.0.21-22.1_all.deb (--unpack):
trying to overwrite '/usr/share/man/man1/namazu.1.gz', which is also in
package namazu2 2.0.21-22
Errors were encountered while processing:
/var/cache/apt/archives/namazu2-index-tools_2.0.21-22.1_all.deb
This is caused by the
override_dh_installman:
dh_installman man/namazu.1
target in debian/rules which acts on the first package being built:
* namazu2 during a separate binary-arch or
combined binary-arch + binary-indep build
* namazu2-index-tools during a separate binary-indep build
The buildds only perform separate arch and indep builds, while the
maintainer uploaded namazu2-index-tools_2.0.21-22_all.deb seems to stem
from a combined build.
A quick fix is probably to use
dh_installman -pnamazu2 man/namazu.1
cheers,
Andreas
namazu2=2.0.21-22_namazu2-index-tools=2.0.21-22.1.log.gz
Description: application/gzip

