[Bug 783903] Re: man-db cron job returns dpkg-query errors about version strings

Launchpad Bug Tracker 783903 at bugs.launchpad.net
Wed Nov 9 11:30:16 UTC 2011


This bug was fixed in the package man-db - 2.6.0.2-3

---------------
man-db (2.6.0.2-3) unstable; urgency=low


  * Discard stderr from dpkg-query in cron jobs (LP: #783903).
  * Make man-db Multi-Arch: foreign.
  * Upgrade to debhelper v9 and its new arrangements for honouring
    dpkg-buildflags output.

 -- Colin Watson <cjwatson at debian.org>  Wed, 09 Nov 2011 01:33:33 +0000

** Changed in: man-db (Ubuntu)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to man-db in Ubuntu.
https://bugs.launchpad.net/bugs/783903

Title:
  man-db cron job returns dpkg-query errors about version strings

Status in “man-db” package in Ubuntu:
  Fix Released

Bug description:
  Binary package hint: man-db

  I have apt sources where the Version string for packages starts with a
  letter.  As a result I get a daily email from cron on each server
  containing multiple lines that look like:

    dpkg-query: warning: parsing file '/var/lib/dpkg/available' near line 179 package 'linux-headers-2.6.27.2':
     error in Version string 'example-20081020-1': version number does not start with digit

  Which is the stderr output of the command "dpkg-query -W -f
  '${Version}' dpkg"

  The naming of the packages is not withing my control, and indeed the
  Debian policy manual suggests that upstream_version strings starting
  with non-digit alphanumerics is valid.

  I would suggest that stderr from dpkg-query be supressed for the query on the cron job 
     "dpkg-query -W -f '${Version}' dpkg 2>/dev/null"

  If you feel this is an error of dpkg-query rather than man-db, please
  reassign to dpkg.

  http://www.debian.org/doc/debian-policy/ch-
  controlfields.html#s-f-Version

  Version: 2.5.9-4

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/man-db/+bug/783903/+subscriptions




More information about the foundations-bugs mailing list