无法删除resin web 服务器
从我在 ubuntu 中安装resin的那天起,我就无法安装任何软件包,也无法删除它。在这两种情况下我都遇到了类似的错误
$sudo apt-get去除树脂
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)
From the day i installed resin in my ubuntu,i couldn't b able install any packages nor i could be able to remove it.I'm getting the similar error in both the cases
$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)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
不确定您是否真的可以删除 Web 服务器,但您可以“不使用它”。我在某处读到您可以将 Resin 与 Apache 或其他 Web 服务器一起使用。
Not sure if you can actually remove the Web Server but you can "not use it". I read somewhere that you can use Resin with Apache or other Web Server.
查看 Ubuntu 论坛上的此帖子;它似乎与您提出的问题相符。尝试其中包含的答案,看看是否可以解决您的问题。
Have a look at this thread on the Ubuntu forums; it appears to match the question you're asking. Try the answer contained there and see if that fixes your issue.