Hello, and thanks for that. Jeremiah C. Foster <jeremiah@jeremiahfoster.com> (10/08/2012): > Package: debootstrap > Version: 1.0.10 > Severity: normal > Tags: patch > > Dear Maintainer, > > I ran debootstrap and received this error: > dpkg: warning: obsolete option '--print-installation-architecture', please use '--print-architecture' instead. > > I've attached a patch that fixes this rather minor issue. Maybe we could be a little more conservative, i.e.: try --print-architecture and if that doesn't work, fall back to --print-installation-architecture? (No time right now to check when that appeared.) > --- /usr/sbin/debootstrap 2008-07-02 17:44:35.000000000 +0200 > +++ my-debootstrap 2012-08-10 15:12:03.000000000 +0200 > @@ -335,8 +335,8 @@ > if [ "$ARCH" != "" ]; then > true > elif [ -x /usr/bin/dpkg ] && \ > - /usr/bin/dpkg --print-installation-architecture >/dev/null 2>&1; then > - ARCH=`/usr/bin/dpkg --print-installation-architecture` > + /usr/bin/dpkg --print-architecture >/dev/null 2>&1; then > + ARCH=`/usr/bin/dpkg --print-architecture` > elif type udpkg >/dev/null 2>&1 && \ > udpkg --print-architecture >/dev/null 2>&1; then > ARCH=`/usr/bin/udpkg --print-architecture` Mraw, KiBi.
Attachment:
signature.asc
Description: Digital signature