Control: tag -1 + patch On Sat, 20 Oct 2012 10:39:12 +0200, Andreas Beckmann wrote:
> during a test with piuparts I noticed your package fails to upgrade from > 'testing'. > It installed fine in 'wheezy', then the upgrade to 'sid' fails. > > >From the attached log (scroll to the bottom...): > > Preparing to replace conserver-client 8.1.18-2 (using > .../conserver-client_8.1.18-2.1_amd64.deb) ... > Unpacking replacement conserver-client ... > Setting up conserver-client (8.1.18-2.1) ... > Can't locate Tie/Hash/NamedCapture.pm in @INC (@INC contains: /etc/perl > /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 > /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 > /usr/local/lib/site_perl .) at -e line 1. > BEGIN failed--compilation aborted at -e line 1. > dpkg: error processing conserver-client (--configure): > subprocess installed post-installation script returned error exit status 2 > Errors were encountered while processing: > conserver-client Hu! Surprising and I also couldn't reproduce it first in a chroot; then I noticed that Tie::Hash::NamedCapture is in the "perl" package which isn't installed in your chroot according to your log (which is a bit artifical but totally correct ...). So I guess we either need to explicitly depend on perl (which is on the one hand a bit silly just for the postinst, on the other hand it will be installed on any real machine anyway), or skip using named captures in debian/conserver-client.postinst ... Ok, using numbered instead of named capture groups should work too --> diff attached. Jörgen, what do you think? (I'm happy to fix this problem introduced by my NMU but if you want to solve it yourself and/or differently please just ignore me :)) Cheers, gregor -- .''`. Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06 : :' : Debian GNU/Linux user, admin, and developer - http://www.debian.org/ `. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe `- NP: Omara Portuondo & Chucho Valdes: Cenizas
signature.asc
Description: Digital signature