Comment 1 for bug 153048

Revision history for this message
Mark Carter (mcturra2000) wrote : Re: git-daemon-run doesn't

On Gutsy:

# apt-get install git-daemon-run
Reading package lists... Done
Building dependency tree
Reading state information... Done
git-daemon-run is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up runit (1.6.0-1) ...
grep: /etc/inittab: No such file or directory
grep: /etc/inittab: No such file or directory
Adding SV inittab entry...
cp: cannot stat `/etc/inittab': No such file or directory
dpkg: error processing runit (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of git-daemon-run:
 git-daemon-run depends on runit; however:
  Package runit is not configured yet.
dpkg: error processing git-daemon-run (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 runit
 git-daemon-run
E: Sub-process /usr/bin/dpkg returned an error code (1)

Then I did
  #touch /etc/inittab
  # dpkg-reconfigure runit
  # dpkg-reconfigure git-daemon-run
  warning: git-daemon: unable to open supervise/ok: file does not exist

#uname -a
Linux picasso 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007 i686 GNU/Linux

# dpkg -l git-daemon-run
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-f/Unpacked/Failed-cfg/Half-inst/t-aWait/T-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
ii git-daemon-run 1:1.5.2.5-2bui fast, scalable, distributed revision control