2014-01-09 18:30:16 |
Tuomas Suutari |
bug |
|
|
added bug |
2014-01-09 18:32:54 |
Tuomas Suutari |
description |
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).
<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@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@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> |
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@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@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> |
|
2014-01-10 21:16:38 |
Tuomas Suutari |
etckeeper (Ubuntu): status |
New |
Invalid |
|
2014-01-13 13:36:31 |
Robie Basak |
bug |
|
|
added subscriber Robie Basak |
2014-04-18 20:23:09 |
rubo77 |
bug |
|
|
added subscriber rubo77 |
2014-05-03 00:10:17 |
rubo77 |
etckeeper (Ubuntu): status |
Invalid |
New |
|
2014-05-14 22:22:48 |
Launchpad Janitor |
etckeeper (Ubuntu): status |
New |
Confirmed |
|
2014-05-24 01:09:44 |
Anders F. U. Kiær |
bug |
|
|
added subscriber Anders F. U. Kiær |
2014-08-06 19:37:25 |
Kevin Calman |
summary |
etckeeper with git breaks upgrade from Precise to Trusty |
etckeeper with git breaks package upgrades that touch /etc |
|
2015-05-17 19:28:05 |
bdped |
bug |
|
|
added subscriber bdped |
2015-05-22 09:39:16 |
Manzuk István |
bug |
|
|
added subscriber Manzuk István |
2015-10-21 08:03:14 |
Robie Basak |
bug |
|
|
added subscriber Ubuntu Server Team |
2021-09-23 07:01:47 |
Christian Ehrhardt |
etckeeper (Ubuntu): status |
Confirmed |
Fix Released |
|
2021-09-23 07:05:53 |
Christian Ehrhardt |
removed subscriber Ubuntu Server |
|
|
|