Bug#681755: dpkg-cross: removes files that were installed by another package

2012-07-16 Thread Andreas Beckmann
Package: dpkg-cross
Version: 2.6.6
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package removes files that
were
installed by another package.

This is a serious bug violating policy 7.6, see
http://www.debian.org/doc/debian-policy/ch-relationships.html#s-replaces

From the attached log (scroll to the bottom...):

0m26.8s ERROR: FAIL: After purging files have disappeared:
  /etc/dpkg-cross/   owned by: dpkg-cross, libdebian-dpkgcross-perl
  /etc/dpkg-cross/archtable.d/   owned by: libdebian-dpkgcross-perl
  /etc/dpkg-cross/archtable.d/archtable.default  owned by: 
libdebian-dpkgcross-perl


cheers,

Andreas


dpkg-cross_2.6.6.log.gz
Description: GNU Zip compressed data


Bug#681755: dpkg-cross: removes files that were installed by another package

2012-07-16 Thread Neil Williams
On Mon, 16 Jul 2012 10:23:29 +0200
Andreas Beckmann deb...@abeckmann.de wrote:

 Package: dpkg-cross
 Version: 2.6.6
 Severity: serious
 User: debian...@lists.debian.org
 Usertags: piuparts
 
 Hi,
 
 during a test with piuparts I noticed your package removes files that
 were
 installed by another package.
 
 This is a serious bug violating policy 7.6, see
 http://www.debian.org/doc/debian-policy/ch-relationships.html#s-replaces
 
 From the attached log (scroll to the bottom...):
 
 0m26.8s ERROR: FAIL: After purging files have disappeared:
   /etc/dpkg-cross/ owned by: dpkg-cross, libdebian-dpkgcross-perl
   /etc/dpkg-cross/archtable.d/ owned by: libdebian-dpkgcross-perl
   /etc/dpkg-cross/archtable.d/archtable.defaultowned by: 
 libdebian-dpkgcross-perl

It's an error in debian/postrm which needs adapting so that
libdebian-dpkgcross-perl is the only package handling /etc/dpkg-cross/

Will sort this out in ~ 1 week.

-- 


Neil Williams
=
http://www.linux.codehelp.co.uk/



pgplh0J7RD1Oo.pgp
Description: PGP signature