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

Package: dpkg-www
Version: 2.52
Severity: normal
Tags: patch

When viewing recently installed packages dlocate/dpkg headers sometimes
get mixed with the real packages, resulting in the following bogus
entries (and corresponding links):
   red=Unknown/In
   atus=Not/Insta
   rr?=(none)/Hol
   Name
   ==============

The problem is caused by multiple lines being output by dlocate/dpkg.
This is in turn a result of missing shell quotes. The following patch
resolves the problem:

- --- dpkg      2006-09-26 12:18:17.000000000 +0000
+++ dpkg-patch2 2007-12-10 11:20:47.000000000 +0000
@@ -482,7 +482,7 @@
        echo "<PRE>"
        echo "Recent packages in last $n days:"
        echo ""
- -     dpkg -l $packages 2>&1 | listFilter
+       dpkg -l "$packages" 2>&1 | listFilter
        echo "</PRE>"
     else
        echo "<PRE>"


- -- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: Content-type: text/html

Kernel: Linux 2.6.21can
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHXSK0+kF7e35EHMYRAglhAJ4k6glaOMvvX98voXr+xqpxZu2Q0wCg5h4I
oNkYox0DV6zBua8GlCrQnbc=
=gXlJ
-----END PGP SIGNATURE-----



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

Reply via email to