Thomas, I found the problem to be an incompatibility between the latest version of nginx and the add-on firewall, naxsi. (within nginx-core). It has nothing to do with Ubuntu.
I removed naxsi, and now nginx runs fine, and my system reboots without the error. Thanks for investigating this. Ray > Date: Wed, 22 Apr 2015 16:41:02 +0000 > From: [email protected] > To: [email protected] > Subject: [Bug 1439661] Re: package nginx-core 1.4.6-1ubuntu3.2 failed to > install/upgrade: subprocess installed pre-removal script returned error exit > status 1 > > Can you provide the full output of apt when you try and do this? The > error "subprocess installed pre-removal script returned error" is vague. > As well, could you consider providing a description of what exactly > you're trying to install/remove/etc.? > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/1439661 > > Title: > package nginx-core 1.4.6-1ubuntu3.2 failed to install/upgrade: > subprocess installed pre-removal script returned error exit status 1 > > Status in nginx package in Ubuntu: > New > > Bug description: > I use nginx on this Ubuntu PC (installed by Ubuntu package manager), > and it seems to work. But I cannot boot-up, or add extra nginx > modukes without getting this error. > > ProblemType: Package > DistroRelease: Ubuntu 14.04 > Package: nginx-core 1.4.6-1ubuntu3.2 > ProcVersionSignature: Ubuntu 3.13.0-48.80-generic 3.13.11-ckt16 > Uname: Linux 3.13.0-48-generic i686 > ApportVersion: 2.14.1-0ubuntu3.8 > AptOrdering: > nginx-core: Remove > nginx-naxsi: Install > nginx-naxsi: Configure > Architecture: i386 > Date: Tue Mar 31 10:15:53 2015 > DpkgTerminalLog: > Removing nginx-core (1.4.6-1ubuntu3.2) ... > stop: Job failed while stopping > invoke-rc.d: initscript nginx, action "stop" failed. > dpkg: error processing package nginx-core (--remove): > subprocess installed pre-removal script returned error exit status 1 > DuplicateSignature: package:nginx-core:1.4.6-1ubuntu3.2:subprocess > installed pre-removal script returned error exit status 1 > ErrorMessage: subprocess installed pre-removal script returned error exit > status 1 > SourcePackage: nginx > Title: package nginx-core 1.4.6-1ubuntu3.2 failed to install/upgrade: > subprocess installed pre-removal script returned error exit status 1 > UpgradeStatus: No upgrade log present (probably fresh install) > > To manage notifications about this bug go to: > https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1439661/+subscriptions -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1439661 Title: package nginx-core 1.4.6-1ubuntu3.2 failed to install/upgrade: subprocess installed pre-removal script returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1439661/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
