ubuntu 16.04 LTS 上的 ntopng 更新错误

ubuntu 16.04 LTS 上的 ntopng 更新错误

尝试在 ubuntu 16.04 LTS 上更新 ntopng 时,在“apt-get install ntopng”(以 root 身份运行)期间出现了这个恼人的错误

执行 /lib/systemd/systemd-sysv-install 启用 ntopng 执行操作失败:文件存在 dpkg:处理包 ntopng 时出错(--configure):子进程安装后安装脚本返回错误退出状态 1

我之前已经使用命令完全删除了 ntopng - apt-get purge --auto-remove ntopng,删除了 /etc 中剩余的任何其他文件/目录,例如空目录 /etc/ntop、/etc/pfring、/etc/nprobe、/etc/cento 和 /etc/nbox。执行了重新启动“shutdown -r now”,并使用“dpkg -L ntopng”检查没有留下任何 ntopng 文件。

重新安装一切正常,但这个错误导致新安装失败。有人知道这个错误指的是哪个文件吗?

更新 - 仔细研究后,我发现在 /usr/lib/x86_64-linux-gnu/libfakeroot 中还剩下 libfakeroot 文件,我将其丢弃并重新启动 - 结果相同。

答案1

命令“systemctl disable ntopng”然后重新安装对我有用

相关内容