I see this same behaviour on two of my Ubuntu machines (one a VM, one a
physical host). Given that they both report the chgrp error on different
files, my initial suspicion is that the issue is related to the number
of packages installed or the number of files/directories in /etc.

root@hex:/etc# etckeeper init
chgrp: missing operand after `./X11/app-defaults'
Try `chgrp --help' for more information.

root@sek:/etc# etckeeper init
chown: missing operand after `./smokeping/smokeping_secrets'
Try `chown --help' for more information.

However, a third (much more recently-installed) Ubuntu VM ran `etckeeper
init` quite happily with no errors.

Responses to the details requested above:
root@sek:/etc# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.10
DISTRIB_CODENAME=quantal
DISTRIB_DESCRIPTION="Ubuntu 12.10"

root@hex:/etc# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.10
DISTRIB_CODENAME=quantal
DISTRIB_DESCRIPTION="Ubuntu 12.10"

root@sek:/etc# dpkg -l | grep etckeeper
ii  etckeeper                                     0.61ubuntu2                   
             all          store /etc in git, mercurial, bzr or darcs

root@hex:/etc# dpkg -l | grep etckeeper
ii  etckeeper                             0.61ubuntu2                           
    all          store /etc in git, mercurial, bzr or darcs

$LANG on both machines is en_GB.UTF-8.

As for the machine on which etckeeper *IS* working, these are the
details given for the same commands as above:

root@hat:/etc# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.10
DISTRIB_CODENAME=quantal
DISTRIB_DESCRIPTION="Ubuntu 12.10"

root@hat:/etc# dpkg -l | grep etckeeper
ii  etckeeper                           0.61ubuntu2                             
  all          store /etc in git, mercurial, bzr or darcs

$LANG is also en_GB.UTF-8.

Will run the apport-collect commands now...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1039627

Title:
  etckeeper init with git gives error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/etckeeper/+bug/1039627/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to