Re: Bug#237151: apache-ssl: Upgrade fails
Hi Tim,
This bug is not realted to apache-ssl. There are 2 typos in ucf
that search for "real_file", ucf maintainer is in CC.
Tim please downgrade to ucf 0.30 or correct the 2 typos in /usr/bin/ucf
Manoj please apply this patch:
--- ucf.old 2004-03-12 21:43:08.000000000 +0100
+++ ucf 2004-03-14 06:25:03.000000000 +0100
@@ -242,10 +242,10 @@
#echo "Saving ${real_file}.dpkg-old, in case."
echo "Not saving ${real_file}, since it was unmodified"
else
- $action cp -f "real_file" "${real_file}.dpkg-old"
+ $action cp -f "$real_file" "${real_file}.dpkg-old"
fi
fi
- $action cp -f "$new_file" "real_file"
+ $action cp -f "$new_file" "$real_file"
replace_md5sum;
}
(missing $)
Thanks
Fabio
On Sat, 13 Mar 2004, Tim Smith wrote:
> Package: apache-ssl
> Version: 1.3.29.0.2-4
> Severity: normal
> Followup-For: Bug #237151
>
> Upgrading to 1.3.29.0.2-4 and electing to install the maintainer's
> version of the conf file fails with the following message.
>
> Setting up apache-ssl (1.3.29.0.2-4) ...
> Replacing config file /etc/apache-ssl/modules.conf with new version
> cp -f real_file /etc/apache-ssl/modules.conf.dpkg-old
> cp: cannot stat `real_file': No such file or directory
> dpkg: error processing apache-ssl (--configure):
> subprocess post-installation script returned error exit status 1
>
> -- System Information:
> Debian Release: testing/unstable
> APT prefers unstable
> APT policy: (500, 'unstable')
> Architecture: i386 (i686)
> Kernel: Linux 2.6.2-1-k7
> Locale: LANG=C, LC_CTYPE=C
>
> Versions of packages apache-ssl depends on:
> ii apache-common 1.3.29.0.2-4 Support files for all Apache webse
> ii debconf 1.4.16 Debian configuration management sy
> ii dpkg 1.10.20 Package maintenance system for Deb
> ii libc6 2.3.2.ds1-11 GNU C Library: Shared libraries an
> ii libdb4.2 4.2.52-14 Berkeley v4.2 Database Libraries [
> ii libexpat1 1.95.6-8 XML parsing C library - runtime li
> ii libkeynote0 2.3-10 Decentralized Trust-Management sys
> ii libmagic1 4.07-2 File type determination library us
> ii libpam0g 0.76-15 Pluggable Authentication Modules l
> ii libssl0.9.7 0.9.7c-5 SSL shared libraries
> ii logrotate 3.6.5-2 Log rotation utility
> ii mime-support 3.26-1 MIME files 'mime.types' & 'mailcap
> ii openssl 0.9.7c-5 Secure Socket Layer (SSL) binary a
> ii perl 5.8.3-2 Larry Wall's Practical Extraction
> ii ssl-cert 1.0-7 Simple debconf wrapper for openssl
>
> -- debconf information:
> apache-ssl/server-name: tim-smith.us
> apache-ssl/server-admin: devnull@kumokasumi.org
> * apache-ssl/enable-suexec: false
> apache-ssl/init: true
> apache-ssl/document-root: /var/www
>
>
>
--
<user> fajita: step one
<fajita> Whatever the problem, step one is always to look in the error log.
<user> fajita: step two
<fajita> When in danger or in doubt, step two is to scream and shout.
Reply to: