Не удается удалить веб-сервер смолы - PullRequest
0 голосов
/ 31 октября 2011

С того дня, как я установил смолу в своем 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 голосов
/ 17 ноября 2011

Не уверен, что вы действительно можете удалить веб-сервер, но вы не можете его использовать. Я где-то читал, что вы можете использовать Resin с Apache или другим веб-сервером.

0 голосов
/ 31 октября 2011

Посмотрите на эту ветку на форумах Ubuntu; Похоже, что соответствует вопрос, который вы задаете. Попробуйте ответ, содержащийся там, и посмотрите, решит ли это вашу проблему.

...