jhbuild + etckeeper: “Please tell me who you are.”

>be using Etckeeper with Git under Ubuntu 14.04 alpha
>be running “jhbuild --sysdeps install”
>be entering password for package installation
>jhbuild installs packages successfully, but then…
>a wild error appears:

*** 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@trusty64vb.(none)')
E: Problem executing scripts DPkg::Post-Invoke 'if [ -x /usr/bin/etckeeper ]; then etckeeper post-install; fi'
E: Sub-process returned an error code

>hmm.jpg
>”git config --global --get user.email”
>shows correct email
>oh wait, sudo?
>”sudo git config --global --get user.email”
>still looks good
>oh wait, actual root?
>”sudo su -”
>”git config --global --get user.email”
>gotcha!

Solution:
$ sudo su –
# git config --global user.email “root@trusty64vb”
# git config --global user.name “Root”
# exit

(also, https://bugs.launchpad.net/ubuntu/+source/etckeeper/+bug/1267564 explains why problem didn’t appear in 12.04)

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: