我如何关闭etckeeper.它阻止我升级Ubuntu

前端之家收集整理的这篇文章主要介绍了我如何关闭etckeeper.它阻止我升级Ubuntu前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我正在尝试从Ubuntu Karmic升级到Lucid,但它失败了因为etckeeper检测到在sudo do-release-upgrade期间发生的更改并阻止了apt的运行.我该如何暂时将其关闭

编辑:

** etckeeper detected uncommitted changes in /etc prior to apt run
** Aborting apt run. Manually commit and restart.

Exception during pm.DoInstall():  E:Problem executing scripts DPkg::Pre-Invoke 'if [ -x /usr/sbin/etckeeper ]; then etckeeper pre-install; fi',E:Sub-process returned an error code

Could not install the upgrades

正如我所说,它声称有变化,即使我刚刚承诺.

钩子应该在/etc/apt/apt.conf.d/05etckeeper中.移开它应该让你禁用它.

但是,它似乎不应该阻止升级.你得到什么样的错误

原文链接:https://www.f2er.com/ubuntu/348480.html

猜你在找的Ubuntu相关文章