[Bug 1267564] [NEW] etckeeper with git breaks package upgrades that touch /etc
Launchpad Bug Tracker
1267564 at bugs.launchpad.net
Wed Oct 21 08:03:15 UTC 2015
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 "you at example.com"
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 at 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.
More information about the Ubuntu-server-bugs
mailing list