← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 2049785] Re: /usr/bin/update-manager:json.decoder.JSONDecodeError:/bin/update-manager@118:start_update:start_available:refresh_cache:_get_ua_security_status:load:loads:decode:raw_decode

 

This bug was fixed in the package update-manager - 1:18.04.11.23

---------------
update-manager (1:18.04.11.23) bionic; urgency=medium

  * d/control: Depend on ubuntu-advantage-tools >= 30~.
    Fixes edge case whereby the program crashes upon an incomplete
    response from ua security-status (LP: #2049785).
  * The New Release dialog should take precedence over a list of updates dialog
    if the latter would only show Ubuntu Pro updates in an unattached system.
    (LP: #2051115).

update-manager (1:18.04.11.22) bionic; urgency=medium

  * Add back removed widgets to UI file to fix crash when updating
    Upgrade Manager from inside itself (LP: #2045918).

update-manager (1:18.04.11.21) bionic; urgency=medium

  * Fix incorrect available version for Ubuntu Pro updates in unattached case
    (LP: #2043425).

update-manager (1:18.04.11.20) bionic; urgency=medium

  * Ubuntu Pro (LP: #1990450):
    - fix another linter error which was created while fixing a missing
      space in the previous upload...

update-manager (1:18.04.11.19) bionic; urgency=medium

  * Ubuntu Pro (LP: #1990450):
    - Address linter errors that cause autopkgtest to fail.

update-manager (1:18.04.11.18) bionic; urgency=medium

  * Ubuntu Pro (LP: #1990450):
    - Show Ubuntu Pro packages, whether the system is attached to Ubuntu Pro
      or not.
    - Replace Install now button by Enable Ubuntu Pro button when only Ubuntu
      Pro packages are available and the machine is not attached.
    - Fix checkbox and expander widget from overlapping.
    - Add News pane in a expander.
    - Replace notebook with Description and Changes tabs by a pane.

update-manager (1:18.04.11.17) bionic; urgency=medium

  * Fix Ubuntu Pro updates checkbox and expander widget from overlapping
    (LP: #1990450)

update-manager (1:18.04.11.16) bionic; urgency=medium

  * Update of the parsing for pro client changes (lp: #1990450)

update-manager (1:18.04.11.15) bionic; urgency=medium

  * Show pending Ubuntu pro packages (LP: #1990450)

update-manager (1:18.04.11.14) bionic; urgency=medium

  * tests/test_meta_release_core.py: switch a test from using lucid to bionic
    as precise was removed from the archive. (LP: #1929865)

 -- Nathan Pratta Teodosio <nathan.teodosio@xxxxxxxxxxxxx>  Mon, 22 Jan
2024 21:36:03 +0100

** Changed in: update-manager (Ubuntu Xenial)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/2049785

Title:
  /usr/bin/update-manager:json.decoder.JSONDecodeError:/bin/update-
  manager@118:start_update:start_available:refresh_cache:_get_ua_security_status:load:loads:decode:raw_decode

Status in update-manager package in Ubuntu:
  Fix Released
Status in update-manager source package in Xenial:
  Fix Released
Status in update-manager source package in Bionic:
  Fix Released
Status in update-manager source package in Focal:
  Fix Released
Status in update-manager source package in Jammy:
  Fix Released

Bug description:
  * Impact

  The new Ubuntu Pro integration hits an exception when the pro client
  call isn't returning a value json output

  * Test case

  Check that reports on
  https://errors.ubuntu.com/problem/741dff427bf59c3208da3b509caf1e8d2385fdea
  stop

  Also on a system not connected to pro, install an old ubuntu-
  advantage-tools 27 (outdated version), disconnect from internet and
  start update-manager, it should list the updates and not error out

  * Regression potential

  The code is changing the callback to get the list of pro updates to
  use the ubuntu-advantage-tools python API instead of calling the
  cmdline client. If there is an issue with the new API the pro updates
  listing on non pro-attached system could be incorrect or the client
  could hit a new exception

  --------------------------------------

  In JournalErrors:

  --->
  Failed to access URL: https://contracts.canonical.com/v1/resources?architecture=amd64&kernel=5.15.0-91-generic&series=focal
  Cannot verify certificate of server
  Please check your openssl configuration.
  [info] A new version is available: 30~20.04
  Please run:
  sudo apt-get install ubuntu-advantage-tools
  <---

  Is it the ubuntu-advantage-tools version problem, is it the failure to
  access contracts.canonical.com? Should we switch to calling the API
  directly as in 24.04[1] or handle the exception?

  [1] https://code.launchpad.net/~nteodosio/update-manager/+git/update-
  manager/+merge/456088

  ------

  The Ubuntu Error Tracker has been receiving reports about a problem regarding update-manager.  This problem was most recently seen with package version 1:20.04.10.18, the problem page at https://errors.ubuntu.com/problem/741dff427bf59c3208da3b509caf1e8d2385fdea contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports.
  If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/.

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