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
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