[Bug 1821034] [NEW] release-upgrade-motd can't update message

Hack Saw 1821034 at bugs.launchpad.net
Wed Mar 20 15:57:26 UTC 2019


Public bug reported:

This is a similar bug to the one regarding using a proxy, but I'm NOT
using a proxy.

$ lsb_release -rd
Description:	Ubuntu 18.04.2 LTS
Release:	18.04

$ do-release-upgrade -c
Checking for a new Ubuntu release
Failed to connect to https://changelogs.ubuntu.com/meta-release-lts. Check your Internet connection or proxy settings

And yet:

$ curl https://changelogs.ubuntu.com/meta-release-lts
Dist: dapper
Name: Dapper Drake
Version: 6.06 LTS
.
.
.
Dist: bionic
Name: Bionic Beaver
Version: 18.04.2 LTS
Date: Thu, 26 April 2018 18:04:00 UTC
Supported: 1
Description: This is the 18.04.2 LTS release
...


A thing I note: python3-update-manager (Version: 1:18.04.11.9) utils.py url_downloadable doesn't seem to know about https.

>>> import UpdateManager.Core.utils as umut
>>> umut.url_downloadable("https://changelogs.ubuntu.com/meta-release-lts", lambda x: print(x))
url_downloadable: https://changelogs.ubuntu.com/meta-release-lts
s='https' n='changelogs.ubuntu.com' p='/meta-release-lts' q='' f=''
False


If I change the line to """ if scheme == "http" or scheme == "https" """:

>>> import UpdateManager.Core.utils as umut
>>> umut.url_downloadable("https://changelogs.ubuntu.com/meta-release-lts", lambda x: print(x))
url_downloadable: https://changelogs.ubuntu.com/meta-release-lts
s='https' n='changelogs.ubuntu.com' p='/meta-release-lts' q='' f=''
error from httplib: '<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:847)>'
False


Dunno if that's helpful at all, but there it is.

** Affects: update-manager (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/1821034

Title:
  release-upgrade-motd can't update message

Status in update-manager package in Ubuntu:
  New

Bug description:
  This is a similar bug to the one regarding using a proxy, but I'm NOT
  using a proxy.

  $ lsb_release -rd
  Description:	Ubuntu 18.04.2 LTS
  Release:	18.04

  $ do-release-upgrade -c
  Checking for a new Ubuntu release
  Failed to connect to https://changelogs.ubuntu.com/meta-release-lts. Check your Internet connection or proxy settings

  And yet:

  $ curl https://changelogs.ubuntu.com/meta-release-lts
  Dist: dapper
  Name: Dapper Drake
  Version: 6.06 LTS
  .
  .
  .
  Dist: bionic
  Name: Bionic Beaver
  Version: 18.04.2 LTS
  Date: Thu, 26 April 2018 18:04:00 UTC
  Supported: 1
  Description: This is the 18.04.2 LTS release
  ...

  
  A thing I note: python3-update-manager (Version: 1:18.04.11.9) utils.py url_downloadable doesn't seem to know about https.

  >>> import UpdateManager.Core.utils as umut
  >>> umut.url_downloadable("https://changelogs.ubuntu.com/meta-release-lts", lambda x: print(x))
  url_downloadable: https://changelogs.ubuntu.com/meta-release-lts
  s='https' n='changelogs.ubuntu.com' p='/meta-release-lts' q='' f=''
  False

  
  If I change the line to """ if scheme == "http" or scheme == "https" """:

  >>> import UpdateManager.Core.utils as umut
  >>> umut.url_downloadable("https://changelogs.ubuntu.com/meta-release-lts", lambda x: print(x))
  url_downloadable: https://changelogs.ubuntu.com/meta-release-lts
  s='https' n='changelogs.ubuntu.com' p='/meta-release-lts' q='' f=''
  error from httplib: '<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:847)>'
  False

  
  Dunno if that's helpful at all, but there it is.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1821034/+subscriptions



More information about the foundations-bugs mailing list