git-daemon-run errors during install

Bug #141030 reported by sunil
This bug report is a duplicate of:  Bug #74135: runsvdir does not use upstart. Edit Remove
4
Affects Status Importance Assigned to Milestone
git-core (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: git-daemon-run

Post Install script of git-daemon-run refers to /etc/inittab that is not in ubuntu/debian distros (afaik). While this error was seen when install git-daemon-run 1.5 (from backports repo) on Feisty, the same error was seen when installing git-daemon-run 1.4 (stable repo) on the same machine.

(Reading database ... 121828 files and directories currently installed.)
Removing git ...
Selecting previously deselected package git-core.
(Reading database ... 121745 files and directories currently installed.)
Unpacking git-core (from .../git-core_1%3a1.5.2.5-2~feisty1_i386.deb) ...
Selecting previously deselected package git-daemon-run.
Unpacking git-daemon-run (from .../git-daemon-run_1%3a1.5.2.5-2~feisty1_all.deb) ...
Selecting previously deselected package git-doc.
Unpacking git-doc (from .../git-doc_1%3a1.5.2.5-2~feisty1_all.deb) ...
Selecting previously deselected package libmail-sendmail-perl.
Unpacking libmail-sendmail-perl (from .../libmail-sendmail-perl_0.79-4_all.deb) ...
Selecting previously deselected package libtimedate-perl.
Unpacking libtimedate-perl (from .../libtimedate-perl_1.1600-5_all.deb) ...
Selecting previously deselected package libmailtools-perl.
Unpacking libmailtools-perl (from .../libmailtools-perl_1.74-1_all.deb) ...
Selecting previously deselected package libdigest-hmac-perl.
Unpacking libdigest-hmac-perl (from .../libdigest-hmac-perl_1.01-5_all.deb) ...
Selecting previously deselected package libnet-ip-perl.
Unpacking libnet-ip-perl (from .../libnet-ip-perl_1.25-2_all.deb) ...
Selecting previously deselected package libnet-dns-perl.
Unpacking libnet-dns-perl (from .../libnet-dns-perl_0.59-1build1.1_i386.deb) ...
Selecting previously deselected package libnet-domain-tld-perl.
Unpacking libnet-domain-tld-perl (from .../libnet-domain-tld-perl_1.65-2_all.deb) ...
Selecting previously deselected package libemail-valid-perl.
Unpacking libemail-valid-perl (from .../libemail-valid-perl_0.176-1_all.deb) ...
Selecting previously deselected package git-email.
Unpacking git-email (from .../git-email_1%3a1.5.2.5-2~feisty1_all.deb) ...
Selecting previously deselected package git-gui.
Unpacking git-gui (from .../git-gui_1%3a1.5.2.5-2~feisty1_all.deb) ...
Selecting previously deselected package gitk.
Unpacking gitk (from .../gitk_1%3a1.5.2.5-2~feisty1_all.deb) ...
Selecting previously deselected package gitweb.
Unpacking gitweb (from .../gitweb_1%3a1.5.2.5-2~feisty1_all.deb) ...
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
Setting up git-core (1.5.2.5-2~feisty1) ...
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
Setting up git-doc (1.5.2.5-2~feisty1) ...
Setting up libmail-sendmail-perl (0.79-4) ...
Setting up libtimedate-perl (1.1600-5) ...
Setting up libmailtools-perl (1.74-1) ...
Setting up libdigest-hmac-perl (1.01-5) ...
Setting up libnet-ip-perl (1.25-2) ...
Setting up libnet-dns-perl (0.59-1build1.1) ...
Setting up libnet-domain-tld-perl (1.65-2) ...
Setting up libemail-valid-perl (0.176-1) ...
Setting up git-email (1.5.2.5-2~feisty1) ...
Setting up git-gui (1.5.2.5-2~feisty1) ...
Setting up gitk (1.5.2.5-2~feisty1) ...
Setting up gitweb (1.5.2.5-2~feisty1) ...
Errors were encountered while processing:
 runit
 git-daemon-run
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
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

Revision history for this message
Luca Falavigna (dktrkranz) wrote :

Thank you for your bug report. This issue has already been reported in bug #93673.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.