[Bug 1503979] Re: ubuntu-support-status throws exeption No date tag found (regression)

Steve Beattie sbeattie at ubuntu.com
Fri Oct 23 22:18:13 UTC 2015


Here's what I see on wily when making the following change:

--- /usr/bin/ubuntu-support-status      2015-10-08 22:07:36.000000000 -0700
+++ ./ubuntu-support-status     2015-10-23 14:49:44.092719697 -0700
@@ -48,7 +48,7 @@
     # check the release date and show support information
     # based on this
     if not time_t:
-        raise Exception("No date tag found")
+        raise Exception("No date tag found for %s on package %s" % (releasef, pkgname))
     release_date = datetime.datetime.fromtimestamp(time_t)
     now = datetime.datetime.now()
 
$ python3 ./ubuntu-support-status
Traceback (most recent call last):
  File "./ubuntu-support-status", line 135, in <module>
    pkg.name, support_tag)
  File "./ubuntu-support-status", line 51, in get_maintenance_status
    raise Exception("No date tag found for %s on package %s" % (releasef, pkgname))
Exception: No date tag found for /var/lib/apt/lists/ubuntu-mirror.nxnw.org_ubuntu_dists_wily_Release on package abi-compliance-checker

There is no /var/lib/apt/lists/ubuntu-
mirror.nxnw.org_ubuntu_dists_wily_Release available, the specific file
is /var/lib/apt/lists/ubuntu-mirror.nxnw.org_ubuntu_dists_wily_InRelease
(note the difference between Release and InRelease).

Looking at https://wiki.debian.org/RepositoryFormat both Release and
InRelease files are legitimate entries (the former is externally signed
by gpg, the latter inline signed), so it looks like
get_release_filename_for_pkg() from python-apt should be verifying that
the release file exists before returning it.

** Also affects: python-apt (Ubuntu)
   Importance: Undecided
       Status: New

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

Title:
  ubuntu-support-status throws exeption No date tag found (regression)

Status in python-apt package in Ubuntu:
  New
Status in update-manager package in Ubuntu:
  Incomplete

Bug description:
  Description:	Ubuntu 14.04.3 LTS
  Release:	14.04
  update-manager-core:  1:0.196.14

  Since the last update  ubuntu-support-status throws

  Traceback (most recent call last):
    File "/usr/bin/ubuntu-support-status", line 133, in <module>
      pkg.name, support_tag)
    File "/usr/bin/ubuntu-support-status", line 49, in get_maintenance_status
      raise Exception("No date tag found")
  Exception: No date tag found

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/1503979/+subscriptions



More information about the foundations-bugs mailing list