Received Tue 15 Nov 2005 1:04am +1100 from Yves-Alexis Perez:
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.
Dear Yves-Alexis,
Thank you for your prompt bug report. Now fixed in 2.0.31.
Available on
deb http://www.togaware.com/debian ./
Being uploaded to the archives.
Regards,
Graham
-- 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 python2.3.5-3An interactive high-level
object-o
ii python-apt0.6.14 Python interface to libapt-pkg
wajig recommends no packages.
-- no debconf information
--- commands.py 2005-11-05 06:23:03.0 +0100
+++ commands.py.new 2005-11-14 14:40:51.0 +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.py2005-11-05 06:23:03.0 +0100
+++ changes.py.new2005-11-14 14:40:10.0 +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)
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]