I have tracked down the problem to the following typo in the postinst file:

IS:     echo "\$ansser{'NO_PAUSE'} = 1;" >> "$answerfile_tmp"
SHOULD: echo "\$answer{'NO_PAUSE'} = 1;" >> "$answerfile_tmp"
                   ^
                   typo here

This typo causes the script usr/share/perl5/Bugzilla/DB/Mysql.pm to abort
the installation on line 702. If the typo is fixed, the installation will
run without any errors. At least it did so on my system...

To those package users who don't want to wait for a package update: You
can try to hack together your own .deb package file with the typo fixed,
and manually install from there. Below you find the steps I had to perform
to do this. DISCLAIMER: Do this at your own risk, at least make a database
backup before attempting this.

1) Download the original package file, e.g. apt/aptitude will store the
file in /var/cache/apt/archives/bugzilla3_3.4.7.0-2_all.deb

2) Extract package content
   dpkg --extract /var/cache/apt/archives/bugzilla3_3.4.7.0-2_all.deb
/tmp/bugzilla3_mine

3) Extract package control files
   dpkg --control /var/cache/apt/archives/bugzilla3_3.4.7.0-2_all.deb
/tmp/bugzilla3_mine/DEBIAN

4) Manually edit the postinst file and fix the typo
   vi /tmp/bugzilla3_mine/DEBIAN/postinst

5) Build a new package file
   dpkg --build /tmp/bugzilla3_mine /tmp/bugzilla3_mine.deb

6) Install from the new package file
   dpkg --install /tmp/bugzilla3_mine.deb

7) Cleanup
   rm -r /tmp/bugzilla3_mine*


Cheers
Patrick




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