Package: apache Version: 1.3.26-0woody3 Severity: important Lets install apache
abu:/var/cache/apt/archives# dpkg -i apache_1.3.26-0woody3_i386.deb (Reading database ... 92942 files and directories currently installed.) Preparing to replace apache 1.3.26-0woody3 (using apache_1.3.26-0woody3_i386.deb) ... Unpacking replacement apache ... Setting up apache (1.3.26-0woody3) ... update-rc.d: /etc/init.d/apache: file does not exist dpkg: error processing apache (--install): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: apache Can't do it. Hm. Well lets touch this initscript: abu:/var/cache/apt/archives# touch /etc/init.d/apache ; chmod 777 /etc/init.d/apache Now it goes through!: abu:/var/cache/apt/archives# dpkg -i apache_1.3.26-0woody3_i386.deb (Reading database ... 92942 files and directories currently installed.) Preparing to replace apache 1.3.26-0woody3 (using apache_1.3.26-0woody3_i386.deb) ... Unpacking replacement apache ... Setting up apache (1.3.26-0woody3) ... But unfortunately (for me) doesn't clobber the initscript. abu:/var/cache/apt/archives# cat /etc/init.d/apache abu:/var/cache/apt/archives# -- System Information Debian Release: 3.0 Architecture: i386 Kernel: Linux abu 2.4.22 #1 Sun Sep 21 16:07:44 EDT 2003 i686 Locale: LANG=C, LC_CTYPE=C Versions of packages apache depends on: ii apache-common 1.3.26-0woody3 Support files for all Apache webse ii dpkg 1.9.21 Package maintenance system for Deb ii libc6 2.2.5-11.5 GNU C Library: Shared libraries an ii libdb2 2:2.7.7.0-7 The Berkeley database routines (ru ii libexpat1 1.95.2-6 XML parsing C library - runtime li ii logrotate 3.5.9-8 Log rotation utility ii mime-support 3.18-1.3 MIME files 'mime.types' & 'mailcap ii perl 5.6.1-8.3 Larry Wall's Practical Extraction ii perl [perl5] 5.6.1-8.3 Larry Wall's Practical Extraction