Package: twiki Version: 1:4.0.5-2 Severity: normal
While upgrading twiki, (on several attempts) got errors like: Setting up twiki (4.0.5-2) ... Configuration syntax error detected. Not reloading. fopen: No such file or directory apache-perl: could not open document config file /etc/apache-perl/conf.d/twiki.conf invoke-rc.d: initscript apache-perl, action "reload" failed. Setting up twiki (4.0.5-2) ... Can't open /etc/twiki/apache.conf: No such file or directory. ln: `/etc/apache/conf.d/twiki.conf': File exists Seems to me that /var/lib/dpkg/info/twiki.postinst was wrong, fixed as: --- /var/lib/dpkg/info/twiki.postinst.bak 2006-12-03 22:22:18.000000000 +1100 +++ /var/lib/dpkg/info/twiki.postinst 2006-12-06 06:41:28.799400933 +1100 @@ -93,9 +93,9 @@ for server in $servers; do if [ -e /etc/$server/conf.d ]; then includefile=/etc/twiki/apache.conf - if [ -e /etc/twiki/apache.conf ]; then - rm -f /etc/twiki/apache.conf_old - mv /etc/twiki/apache.conf /etc/twiki/apache.conf_old + if [ -e /etc/$server/conf.d/twiki.conf ]; then + rm -f /etc/twiki/$server-conf.d-twiki.conf_old + mv /etc/$server/conf.d/twiki.conf /etc/twiki/$server-conf.d-twiki.conf_old fi ln -s $includefile /etc/$server/conf.d/twiki.conf fi Cheers, Paul Szabo [EMAIL PROTECTED] http://www.maths.usyd.edu.au/u/psz/ School of Mathematics and Statistics University of Sydney Australia -- System Information: Debian Release: 3.1 Architecture: i386 (i686) Kernel: Linux 2.6.8-spb1.6 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages twiki depends on: ii apache-common 1.3.33-6sarge3 support files for all Apache webse ii apache2-common 2.0.54-5sarge1 next generation, scalable, extenda ii debconf [debconf-2.0] 1.4.30.13 Debian configuration management sy ii libalgorithm-diff-perl 1.19.01-1 a perl library for finding Longest ii libcgi-session-perl 3.95-2 Persistent session data in CGI app ii libdigest-sha1-perl 2.10-1 NIST SHA-1 message digest algorith ii liberror-perl 0.15-6 Perl module for error/exception ha ii liblocale-maketext-lexico 0.49-1 Lexicon-handling backends for "Loc ii libtext-diff-perl 0.35-2 Perform diffs on files and record ii perl [libmime-base64-perl 5.8.4-8sarge5 Larry Wall's Practical Extraction ii perl-modules [libnet-perl 5.8.4-8sarge5 Core Perl modules ii rcs 5.7-15 The GNU Revision Control System -- debconf information: * twiki/apacheUserCreationNote: * twiki/samplefiles: true * twiki/wikiwebmaster: [EMAIL PROTECTED] * twiki/defaultUrlHost: http://iw.maths.usyd.edu.au -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]