* David Morse | Tollef Fog Heen wrote: | > * David Morse | 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) ... | > You are upgrading or reinstalling, it seems? | | I had it installed a long time ago, but as far as I was able to judge, | it uninstalled as cleanly as it was coded to do.
You probably ran dpkg --remove and rm -r /etc/apache /etc/init.d/apache. At least that's my guess. | > | 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 | > Of course not, if you have removed it. It's a conffile. Try | > installing using dpkg -i --force-confmiss | > apache_1.3.26-0woody3_i386.deb . | | Of course it should not overwrite the /etc/init.d/apache. That's not | at all what I was considering a bug. Removing a conffile is also a modification which needs to be preserved. | What I'm complaining about is that, unless /etc/init.d/apache | exists, BEFORE INSTALLING THE DEB, dpkg will error out of the | install. It's the postinst; that's run after the deb is unpacked. I agree that it can be confusing, but it's a feature of dpkg and not something apache can do about it. -- Tollef Fog Heen ,''`. UNIX is user friendly, it's just picky about who its friends are : :' : `. `' `-