Am Mon, 19 Jan 2009 00:14:42 +0100 schrieb José Luis Tallón <jltal...@adv-solutions.net>:
> Christian Hammers wrote: > > Hello > > > > Any progress with this Release Critical bug? > > > diff attached for your review. > I have already posted the URL for the already made package to the > bug's address. Somehow it does not work quite right: -=(~/debian/imapd/up-imapproxy-1.2.6)$ export DEBCONF_DEBUG=developer -=(~/debian/imapd/up-imapproxy-1.2.6)$ grep server_hostn /etc/imapproxy.conf ## server_hostname server_hostname mail3 ## This setting specifies the port that server_hostname is listening on. -=(~/debian/imapd/up-imapproxy-1.2.6)$ sudo debi (Lese Datenbank ... 200202 Dateien und Verzeichnisse sind derzeit installiert.) Vorbereiten zum Ersetzen von imapproxy 1.2.6-5 (durch imapproxy_1.2.6-5_amd64.deb) ... Not running: imapproxy. Entpacke Ersatz für imapproxy ... Richte imapproxy ein (1.2.6-5) ... Use of uninitialized value in split at - line 10. Fehler beim Bearbeiten von imapproxy (--install): Unterprozess post-installation script gab den Fehlerwert 1 zurück debi: debpkg -i failed It might have to do with this: + test -f $DESTFILE || cp /usr/share/doc/imapproxy/examples/$CFGFILE $DESTFILE; + TMPFILE=`tempfile` + mv $DESTFILE $TMPFILE + export PARAMS + export $PARAMS + +/usr/bin/perl -- - $DESTFILE $TMPFILE << 'EOSCRIPT' +use warnings; +use strict; + +my $CFG; +my $TMP; +open(CFG, '<', shift) or exit; +open(TMP, '>', shift) or die "imapproxy.postint: could not open: $!"; a) you first move DESTFILE to TMPFILE (after which no DESTFILE is existing anymore) then you read *from* DESTFILE and write to TMPFILE again? b) the patch includes imapproxy.postinst.tmp which is probably unnecessary. bye, -christian- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org