Your message dated Mon, 14 Nov 2005 16:17:22 -0800
with message-id <[EMAIL PROTECTED]>
and subject line Bug#339010: fixed in wajig 2.0.31
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 14 Nov 2005 14:01:21 +0000
>From [EMAIL PROTECTED] Mon Nov 14 06:01:21 2005
Return-path: <[EMAIL PROTECTED]>
Received: from heracles.corsac.net ([82.224.202.188])
        by spohr.debian.org with esmtp (Exim 4.50)
        id 1Ebetc-0007aG-W5
        for [EMAIL PROTECTED]; Mon, 14 Nov 2005 06:01:21 -0800
Received: from localhost (heracles [127.0.0.1])
        by heracles.corsac.net (Postfix) with ESMTP id BF64B150089;
        Mon, 14 Nov 2005 15:01:13 +0100 (CET)
Received: from heracles.corsac.net ([127.0.0.1])
        by localhost (heracles.corsac.net [127.0.0.1]) (amavisd-new, port 10024)
        with ESMTP id 03186-08; Mon, 14 Nov 2005 15:01:11 +0100 (CET)
Received: from localhost.localdomain (unknown [192.168.0.254])
        by heracles.corsac.net (Postfix) with ESMTP id EFB64150074;
        Mon, 14 Nov 2005 15:01:10 +0100 (CET)
Content-Type: multipart/mixed; boundary="===============0224900409=="
MIME-Version: 1.0
From: Yves-Alexis Perez <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: wajig uses a deprecated option for tail
X-Mailer: reportbug 3.17
Date: Mon, 14 Nov 2005 15:01:10 +0100
Message-Id: <[EMAIL PROTECTED]>
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at corsac.net
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

This is a multi-part MIME message sent by reportbug.

--===============0224900409==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: wajig
Version: 2.0.30
Severity: normal

After doing an update, wajig counts new packages to present some stats.
It uses tail with a deprecated syntax: tail -|+N, while it should use tail
-n -|+N, so it doesnt work with the current version.

(tail (GNU coreutils) 5.93)

Attached patch solve this.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14
Locale: LANG=en_US.ISO-8859-15, LC_CTYPE=en_US.ISO-8859-15 (charmap=ISO-8859-15)

Versions of packages wajig depends on:
ii  apt                           0.6.42.3   Advanced front-end for dpkg
ii  python                        2.3.5-3    An interactive high-level object-o
ii  python-apt                    0.6.14     Python interface to libapt-pkg

wajig recommends no packages.

-- no debconf information

--===============0224900409==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="wajig.patch"

--- commands.py 2005-11-05 06:23:03.000000000 +0100
+++ commands.py.new     2005-11-14 14:40:51.000000000 +0100
@@ -358,7 +358,7 @@
             # the download archive, if there is any there.
             #
             lscmd  = "/bin/ls " + archives
-            lscmd += " | egrep '^" + pkg + "_' | sort | tail -1"
+            lscmd += " | egrep '^" + pkg + "_' | sort | tail -n -1"
             matches = perform.execute(lscmd, pipe=True)
             debpkg = matches.readline().strip()
             #
--- changes.py  2005-11-05 06:23:03.000000000 +0100
+++ changes.py.new      2005-11-14 14:40:10.000000000 +0100
@@ -169,7 +169,7 @@
               "| egrep '^(Package|Version):' " +\
               "| tr '\n' ' '" +\
               "| perl -p -e 's|Package: |\n|g; s|Version: ||g'" +\
-              "| sort | tail +2 | sed 's| $||' > " + available_file
+              "| sort | tail -n +2 | sed 's| $||' > " + available_file
     # Use langC in the following since it uses a grep.
     perform.execute(command, noquiet=True, langC=True) # root is not required.
     os.rename(temporary_file, previous_file)

--===============0224900409==--

---------------------------------------
Received: (at 339010-close) by bugs.debian.org; 15 Nov 2005 00:21:24 +0000
>From [EMAIL PROTECTED] Mon Nov 14 16:21:24 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 4.50)
        id 1EboVm-0006tw-H1; Mon, 14 Nov 2005 16:17:22 -0800
From: Graham Williams <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#339010: fixed in wajig 2.0.31
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Mon, 14 Nov 2005 16:17:22 -0800
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

Source: wajig
Source-Version: 2.0.31

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

wajig_2.0.31.dsc
  to pool/main/w/wajig/wajig_2.0.31.dsc
wajig_2.0.31.tar.gz
  to pool/main/w/wajig/wajig_2.0.31.tar.gz
wajig_2.0.31_all.deb
  to pool/main/w/wajig/wajig_2.0.31_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.
Graham Williams <[EMAIL PROTECTED]> (supplier of updated wajig 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.7
Date: Tue, 15 Nov 2005 06:48:22 +1000
Source: wajig
Binary: wajig
Architecture: source all
Version: 2.0.31
Distribution: unstable
Urgency: low
Maintainer: Graham Williams <[EMAIL PROTECTED]>
Changed-By: Graham Williams <[EMAIL PROTECTED]>
Description: 
 wajig      - simplified Debian package management front end
Closes: 318048 337587 339010
Changes: 
 wajig (2.0.31) unstable; urgency=low
 .
   * In BUILD two commands are run, but if first fails or is aborted
     then second was still being run. Fix it by test result. Bug
     reported by John V. Belmonte. (Closes: #337587)
 .
   * bash_completion now works on multiple package name arguments. Bug
     reported by Kamaraju Kusumanchi. (Closes: #318048)
 .
   * Add UPDATE-PCI-IDS and UPDATE-USB-IDS commands to call update-pciids
     and update-usbids, as suggested by Karl Schmidt.
 .
   * The use of "+/-N" in tail is deprecated. Using "-n +/-N" instead. Bug
     reported by Yves-Alexis Perez. (Closes: #339010)
Files: 
 85ebb8ffbbb71e285b0c9a97959802de 544 admin optional wajig_2.0.31.dsc
 0cfd3ceaf622d00356b4ed0b7447e752 148508 admin optional wajig_2.0.31.tar.gz
 464a4daedab3147bc1fc53805d84c648 91580 admin optional wajig_2.0.31_all.deb

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

iD8DBQFDeSVRCZSR95Gw07cRAlvMAKCCN71xBgQDbHlbMlXuUq63vLQtlwCePnRF
cFq9mRKOJjeFZ3hTk8ty3T8=
=msXc
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to