无法删除树脂网络服务器

时间:2011-10-31 09:48:51

标签: linux ubuntu resin

从我在ubuntu中安装树脂的那天起,我无法安装任何软件包,也无法将其删除。我在两种情况下都遇到了类似的错误

$sudo apt-get remove resin

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  resin
0 upgraded, 0 newly installed, 1 to remove and 19 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 259061 files and directories currently installed.)
Removing resin ...
 Removing any system startup links for /etc/init.d/resin ...
   /etc/rc0.d/K10resin
   /etc/rc1.d/K10resin
   /etc/rc2.d/S90resin
   /etc/rc3.d/S90resin
   /etc/rc4.d/S90resin
   /etc/rc5.d/S90resin
   /etc/rc6.d/K10resin
/usr/sbin/invoke-rc.d: 446: /etc/init.d/resin: not found
invoke-rc.d: initscript resin, action "stop" failed.
dpkg: error processing resin (--remove):
 subprocess installed pre-removal script returned error exit status 127
/usr/sbin/invoke-rc.d: 446: /etc/init.d/resin: not found
invoke-rc.d: initscript resin, action "start" failed.
dpkg: error while cleaning up:
 subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
 resin
E: Sub-process /usr/bin/dpkg returned an error code (1)

2 个答案:

答案 0 :(得分:0)

在Ubuntu论坛上查看this thread;它似乎与您提出的问题相符。试试那里的答案,看看是否能解决你的问题。

答案 1 :(得分:0)

不确定您是否可以实际删除Web服务器,但您可以“不使用它”。我在某处读过你可以将Resin与Apache或其他Web服务器一起使用。