spoken4
May 24th, 2007, 12:03 AM
Just wondering why I can't remove nginx by apt-get. (R51 IBM Laptop)
Same thing happened with Moodle on Dapper,
I stopped the service with cbe@LAP-cbe:~$ sudo /etc/init.d/nginx stop
Stopping nginx: nginx.
then tried to remove it, but I get error exits - see below
cbe@LAP-cbe:~$ sudo apt-get -f remove nginx
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
nginx
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 0B of archives.
After unpacking 528kB disk space will be freed.
Do you want to continue [Y/n]? Y
(Reading database ... 116441 files and directories currently installed.)
Removing nginx ...
Stopping nginx: invoke-rc.d: initscript nginx, action "stop" failed.
dpkg: error processing nginx (--remove):
subprocess pre-removal script returned error exit status 1
Starting nginx: nginx.
Errors were encountered while processing:
nginx
E: Sub-process /usr/bin/dpkg returned an error code (1)
Ive done all the update, upgrade options for apt-get but still no luck :(
Same thing happened with Moodle on Dapper,
I stopped the service with cbe@LAP-cbe:~$ sudo /etc/init.d/nginx stop
Stopping nginx: nginx.
then tried to remove it, but I get error exits - see below
cbe@LAP-cbe:~$ sudo apt-get -f remove nginx
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
nginx
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 0B of archives.
After unpacking 528kB disk space will be freed.
Do you want to continue [Y/n]? Y
(Reading database ... 116441 files and directories currently installed.)
Removing nginx ...
Stopping nginx: invoke-rc.d: initscript nginx, action "stop" failed.
dpkg: error processing nginx (--remove):
subprocess pre-removal script returned error exit status 1
Starting nginx: nginx.
Errors were encountered while processing:
nginx
E: Sub-process /usr/bin/dpkg returned an error code (1)
Ive done all the update, upgrade options for apt-get but still no luck :(