Your message dated Thu, 16 Jul 2009 21:47:23 +0000
with message-id <[email protected]>
and subject line Bug#537201: fixed in console-common 0.7.82
has caused the Debian Bug report #537201,
regarding dpkg --print-installation-architecture vs dpkg --print-architecture 
revisited
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 [email protected]
immediately.)


-- 
537201: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=537201
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: console-data
Version: 1.09-1
Severity: normal
Tags: patch

debian/attic/console-data.config uses 
    dpkg --print-installation-architecture
, which is obsolete and prints a warning to the user.

    $ dpkg --print-installation-architecture
    dpkg: warning: obsolete option '--print-installation-architecture', 
    please use '--print-architecture' instead.
    i386

It used to have `dpkg --print-architecture', but was changed to the 
current usage in #54798.  Qouting the relevat part of #54798:


    If you read the dpkg --help you'll see that :
       dpkg --print-architecture    print target architecture (uses 
GCC)

    You should be using dpkg --print-installation-architecture ... this 
is
    a common mistake and it should be in a debian developers FAQ if 
    there was one.

    Without gcc, dpkg --print-architecture is failing and caused your 
package
    postinst to abort (note the empty arch string outputted by 
console-data debug line)...


dpkg --help doesn't mention anymore the requirment for gcc for
--print-architecture.  There for, I suggested either:

--- console-data.config 2009-07-16 03:59:07.000000000 +0300
+++ console-data.config.mod     2009-07-16 03:59:21.000000000 +0300
@@ -359,7 +359,7 @@
 sub guess_arch {
     my ($defs) = @_;

-    my $arch = `dpkg --print-installation-architecture`;
+    my $arch = `dpkg --print-architecture`;
     chomp $arch;

 # Overrides for testing:


    Or:


--- console-data.config 2009-07-16 03:59:07.000000000 +0300
+++ console-data.config.mod     2009-07-16 04:00:30.000000000 +0300
@@ -359,7 +359,7 @@
 sub guess_arch {
     my ($defs) = @_;

-    my $arch = `dpkg --print-installation-architecture`;
+    my $arch = `dpkg --print-architecture 2>/dev/null`;
     chomp $arch;

 # Overrides for testing:

-- 
[email protected]
SDF Public Access UNIX System - http://sdf.lonestar.org



--- End Message ---
--- Begin Message ---
Source: console-common
Source-Version: 0.7.82

We believe that the bug you reported is fixed in the latest version of
console-common, which is due to be installed in the Debian FTP archive:

console-common_0.7.82.dsc
  to pool/main/c/console-common/console-common_0.7.82.dsc
console-common_0.7.82.tar.gz
  to pool/main/c/console-common/console-common_0.7.82.tar.gz
console-common_0.7.82_all.deb
  to pool/main/c/console-common/console-common_0.7.82_all.deb
dh-consoledata_0.7.82_all.deb
  to pool/main/c/console-common/dh-consoledata_0.7.82_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Christian Perrier <[email protected]> (supplier of updated console-common 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Thu, 16 Jul 2009 20:17:13 +0200
Source: console-common
Binary: console-common dh-consoledata
Architecture: source all
Version: 0.7.82
Distribution: unstable
Urgency: low
Maintainer: Alastair McKinstry <[email protected]>
Changed-By: Christian Perrier <[email protected]>
Description: 
 console-common - basic infrastructure for text console configuration
 dh-consoledata - debhelper-based script to help packaging console data files
Closes: 537201
Changes: 
 console-common (0.7.82) unstable; urgency=low
 .
   * Restore Greek debconf translation from #499003
   * /usr/share/debhelper/dh-consoledata/common.pl:
     Turn the obsolete call to "dpkg --print-installation-architecture"
     into "dpkg --print-architecture". Closes: #537201
   * Update Standards to 3.8.2 (checked, no change)
Checksums-Sha1: 
 9daf2fddc25e001a0d0855024fffa35f42558ba2 891 console-common_0.7.82.dsc
 ce21e087b85ba9b73ae1528040b6b910aba0ef80 170680 console-common_0.7.82.tar.gz
 671de24ac00d2d464a9906d8da8be432240231fa 127812 console-common_0.7.82_all.deb
 c09c0ec82b50efbd697014b80f6a843c70e8b412 90548 dh-consoledata_0.7.82_all.deb
Checksums-Sha256: 
 d1d68c2768d2a268c615910af9d68993248acf42b60c7db5fff2a084c94260c8 891 
console-common_0.7.82.dsc
 5b16bd89b508125786f781954e2c1a982ab5bead5cd224e71aefb33ef6b35107 170680 
console-common_0.7.82.tar.gz
 d69e28be93ad079ee704b6e7ef3953bedf1f1fcaefcdd7edb6ff761f59d157be 127812 
console-common_0.7.82_all.deb
 b56cf1dc4efae93147d7bedf8928a74d996031e678ef319fa3f3518971fca116 90548 
dh-consoledata_0.7.82_all.deb
Files: 
 7da338774b2131be57a347afcce5391d 891 utils optional console-common_0.7.82.dsc
 e2bbc9abeae6ca0a7282f0a8fa24df36 170680 utils optional 
console-common_0.7.82.tar.gz
 86fcd6f72c8c8a8ad403092c9ef36beb 127812 utils optional 
console-common_0.7.82_all.deb
 d3a53eb63a8e9a55ee7e015ae8ced405 90548 devel extra 
dh-consoledata_0.7.82_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iD8DBQFKX3kc1OXtrMAUPS0RArdvAJ42MhauBhyhMfJoEYLnr3PsJsOGWgCeOEod
+ZkpOcLd0aFhn34Onh1Is58=
=GuxN
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to