You have been subscribed to a public bug by Robie Basak (racb): I tried to upgrade Ubuntu 12.04 Precise system to 14.04 Trusty (alpha) with "do-release-upgrade -d". I had etckeeper installed and configured to use Git. The upgrade failed at the very end, because etckeepers DPkg ::Post-Invoke hook failed. The reason was that git user.name and user.email were not configured, but this was not an issue before the upgrade (i.e. apt/dpkg worked just fine).
It would be nice, if this kind of configuration issue was detected before the upgrade. <pre> Running mktexlsr. This may take some time... done. Processing triggers for bamfdaemon ... Rebuilding /usr/share/applications/bamf-2.index... *** Please tell me who you are. Run git config --global user.email "[email protected]" git config --global user.name "Your Name" to set your account's default identity. Omit --global to set the identity only in this repository. fatal: unable to auto-detect email address (got 'root@untamo.(none)') Error in function: A fatal error occurred Please report this as a bug and include the files /var/log/dist-upgrade/main.log and /var/log/dist-upgrade/apt.log in your report. The upgrade has aborted. Your original sources.list was saved in /etc/apt/sources.list.distUpgrade. SystemError: E:Problem executing scripts DPkg::Post-Invoke 'if [ -x /usr/bin/etckeeper ]; then etckeeper post-install; fi', E:Sub-process returned an error code No pending crash reports. Try --help for more information. Could not install the upgrades The upgrade has aborted. Your system could be in an unusable state. A recovery will run now (dpkg --configure -a). Upgrade complete The upgrade has completed but there were errors during the upgrade process. To continue please press [ENTER] </pre> ** Affects: etckeeper (Ubuntu) Importance: Undecided Status: Confirmed -- etckeeper with git breaks package upgrades that touch /etc https://bugs.launchpad.net/bugs/1267564 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report. -- Ubuntu-server-bugs mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
