删除 Xplico 时出错

删除 Xplico 时出错
Do you want to continue? [Y/n] y
Preconfiguring packages ...
(Reading database ... 205993 files and directories currently installed.)
Removing xplico (1.1.0) ...
/var/lib/dpkg/info/xplico.postrm: 23: /var/lib/dpkg/info/xplico.postrm: apache2ctl: not found
dpkg: error processing package xplico (--remove):
 subprocess installed post-removal script returned error exit status 127
Errors were encountered while processing:
 xplico
E: Sub-process /usr/bin/dpkg returned an error code (1)

答案1

我遇到了同样的问题,通过编辑解决了/var/lib/dpkg/info/xplico.postrm

改变线路

apache2ctl restart

/etc/init.d/apache2 restart

然后您就可以运行upgrade以自动删除xplico

答案2

卸载 Apache2,然后卸载 Xplico。重新安装 gnome-user-share,这将重新安装 apache2 中用于文件共享的基本部分。大功告成。

相关内容