无法删除resin web 服务器

发布于 2024-12-12 12:14:26 字数 1350 浏览 5 评论 0原文

从我在 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

窝囊感情。 2024-12-19 12:14:26

不确定您是否真的可以删除 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.

极致的悲 2024-12-19 12:14:26

查看 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文