[Pkg-sysvinit-devel] Bug#716923: sysv-rc 2.88dsf-42 breaks {, c}debootstrapping

Roger Leigh rleigh at codelibre.net
Sun Jul 14 21:04:54 UTC 2013


tags 716923 + patch
thanks

On Sun, Jul 14, 2013 at 10:41:18PM +0200, Stefan Lippers-Hollmann wrote:
> Trying to bootstrap a system using cdebootstrap (or debootstrap) fails 
> since sysv-rc 2.88dsf-42 entered the archive (it did succeed just 
> minutes before with the previous mirror sync, using sysv-rc 2.88dsf-41)
> with this error message:
> 
> # cdebootstrap -v --arch=amd64 --flavour=minimal sid /mnt/ http://ftp.de.debian.org/debian/
> […]
> O: dpkg: warning: ignoring pre-dependency problem!
> O: Unpacking util-linux (from .../util-linux_2.20.1-5.5_amd64.deb) ...
> P: Unpacking package util-linux
> O: Can't locate File/Path.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /usr/sbin/update-rc.d line 8.
> O: BEGIN failed--compilation aborted at /usr/sbin/update-rc.d line 8.
> O: dpkg: error processing /var/cache/bootstrap/util-linux_2.20.1-5.5_amd64.deb (--unpack):
> O:  subprocess new pre-installation script returned error exit status 2
> O: Selecting previously unselected package e2fsprogs.

Does the following patch help?  It looks like it might have always been
missing the perl dependency.


diff --git a/debian/changelog b/debian/changelog
index d4a5972..07a7426 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+sysvinit (2.88dsf-43) UNRELEASED; urgency=low
+
+  [ Roger Leigh ]
+  * sysv-rc: Add ${perl:Depends} to ensure correct dependency on perl.
+    Closes: #716923.
+
+ -- Roger Leigh <rleigh at debian.org>  Sun, 14 Jul 2013 22:02:11 +0100
+
 sysvinit (2.88dsf-42) unstable; urgency=low
 
   [ Roger Leigh ]
diff --git a/debian/control b/debian/control
index 7dd998d..2834f6b 100644
--- a/debian/control
+++ b/debian/control
@@ -58,7 +58,7 @@ Conflicts: file-rc
 Replaces: file-rc
 Suggests: sysv-rc-conf, bum
 Depends:
- ${misc:Depends},
+ ${misc:Depends}, ${perl:Depends},
  sysvinit-utils (>= 2.86.ds1-62),
  insserv (>> 1.12.0-10)
 Breaks: initscripts (<< 2.86.ds1-63)

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux    http://people.debian.org/~rleigh/
 `. `'   schroot and sbuild  http://alioth.debian.org/projects/buildd-tools
   `-    GPG Public Key      F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800



More information about the Pkg-sysvinit-devel mailing list