← Back to team overview

touch-packages team mailing list archive

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

 

Here it is in patch form. Note that it doesn't entirely address the
issue as passing the _InRelease  file to python-apt's
get_release_date_from_release_file(path) function ends up handing the
file to pkg_apt.TagFile() which doesn't recognize the inline gpg signed
file as a RFC 2822 tag formatted file; presumably something needs to
verify and remove the gpg signature before handing it off to
pkg_apt.TagFile(). I'm not familiar as all with the pkg_apt (aka libpkg-
apt) APIs, and they are large enough for me not to see an obvious method
for doing that.

** Patch added: "python-apt-fix_hardcoded_release_path.patch"
   https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1503979/+attachment/4504155/+files/python-apt-fix_hardcoded_release_path.patch

** Changed in: python-apt (Ubuntu)
       Status: Invalid => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to python-apt 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:
  Confirmed
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