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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1503979

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

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to