debootstrap [fw: [PATCH] using non-standard call to 'head' breaks with busybox]
For your info I just files this one (Bug#94575) against debootstrap. Base
install still isn't happenning.
-David
----- Forwarded message from David Whedon <dwhedon@debian.org> -----
From: David Whedon <dwhedon@debian.org>
Subject: [PATCH] using non-standard call to 'head' breaks with busybox
To: Debian Bug Tracking System <submit@bugs.debian.org>
Date: Thu, 19 Apr 2001 18:39:32 -0700
X-Reportbug-Version: 1.15
Package: debootstrap
Version: 0.1.4
Severity: critical
The base system is uninstallable because debootstrap doesn't call head the way
busybox would like it to be called.
Who knows who is right? Not me, but here's a page that supports busybox's
interpretation of how head should be called.
http://www-sld.slac.stanford.edu/HELP/POSIX/SHELL_COMMANDS/HEAD
This fixes it:
diff -u debootstrap-0.1.4_orig/potato debootstrap-0.1.4/potato
--- debootstrap-0.1.4_orig/potato Sat Mar 24 22:00:53 2001
+++ debootstrap-0.1.4/potato Thu Apr 19 18:27:45 2001
@@ -36,7 +36,7 @@
local ver=$(
ar -p $TARGET/$deb control.tar.gz | zcat |
tar -O -xf - control ./control 2>/dev/null |
- sed -ne 's/^Version: *//ip' | head -1
+ sed -ne 's/^Version: *//ip' | head -n 1
)
mkdir -p $TARGET/var/lib/dpkg/info
diff -u debootstrap-0.1.4_orig/sid.is-broken debootstrap-0.1.4/sid.is-broken
--- debootstrap-0.1.4_orig/sid.is-broken Mon Jan 29 23:01:23 2001
+++ debootstrap-0.1.4/sid.is-broken Thu Apr 19 18:28:43 2001
@@ -28,7 +28,7 @@
local ver=$(
ar -p $TARGET/$deb control.tar.gz | zcat |
tar -O -xf - control ./control 2>/dev/null |
- sed -ne 's/^Version: *//ip' | head -1
+ sed -ne 's/^Version: *//ip' | head -n 1
)
mkdir -p $TARGET/var/lib/dpkg/info
diff -u debootstrap-0.1.4_orig/slink debootstrap-0.1.4/slink
--- debootstrap-0.1.4_orig/slink Sat Mar 24 22:00:49 2001
+++ debootstrap-0.1.4/slink Thu Apr 19 18:28:43 2001
@@ -40,7 +40,7 @@
local ver=$(
ar -p $TARGET/$deb control.tar.gz | zcat |
tar -O -xf - control ./control 2>/dev/null |
- sed -ne 's/^Version: *//ip' | head -1
+ sed -ne 's/^Version: *//ip' | head -n 1
)
mkdir -p $TARGET/var/lib/dpkg/info
diff -u debootstrap-0.1.4_orig/woody debootstrap-0.1.4/woody
--- debootstrap-0.1.4_orig/woody Mon Apr 16 02:01:09 2001
+++ debootstrap-0.1.4/woody Thu Apr 19 18:28:41 2001
@@ -63,7 +63,7 @@
local ver=$(
ar -p $TARGET/$deb control.tar.gz | zcat |
tar -O -xf - control ./control 2>/dev/null |
- sed -ne 's/^Version: *//ip' | head -1
+ sed -ne 's/^Version: *//ip' | head -n 1
)
mkdir -p $TARGET/var/lib/dpkg/info
-- System Information
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux ruff 2.2.17 #2 Sat Dec 30 11:46:38 PST 2000 i686
Versions of packages debootstrap depends on:
ii libc6 2.2.2-4 GNU C Library: Shared libraries an
----- End forwarded message -----
Reply to: