[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#684498: marked as done (debootstrap uses an obsolete call to dpkg (--print-installation-architecture))



Your message dated Fri, 10 Aug 2012 17:51:57 +0200
with message-id <871uje3ftu.fsf@turtle.gmx.de>
and subject line Re: Bug#684498: debootstrap uses an obsolete call to dpkg (--print-installation-architecture)
has caused the Debian Bug report #684498,
regarding debootstrap uses an obsolete call to dpkg (--print-installation-architecture)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
684498: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=684498
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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.

Thank you for all your work.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-linode23 (SMP w/4 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash

=== Patch ===

--- /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`


=== End patch ===

--- End Message ---
--- Begin Message ---
Package: debootstrap
Version: 1.10.14

On 2012-08-10 16:30 +0200, Cyril Brulebois wrote:

> 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.

It's not usually worth to file such bugs against packages in obsolete
releases; this one has been fixed several years ago already.

> 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?

Hardly. :-)

> (No time right now to check when that appeared.)

I don't know since when --print-architecture existed, but according to
the changelog it has done the same as --print-installation-architecture
since dpkg 1.13.1, released 2005.

Cheers,
       Sven

--- End Message ---

Reply to: