[Bug 1891599] Re: installation stopped by an random exception from mark_install() in Cache class of python3-apt

Alex Tu 1891599 at bugs.launchpad.net
Fri Aug 14 07:10:02 UTC 2020


for 1. improve the fault tolerance of Ubiquity while it calling external
library.

We are trying to have severial times retry in ubiquity before thow out the exception.
And the installation testing is in progress.

** Tags added: oem-priority originate-from-1891118 somerville

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/1891599

Title:
  installation stopped by an random exception from mark_install() in
  Cache class of python3-apt

Status in OEM Priority Project:
  New
Status in ubiquity package in Ubuntu:
  New

Bug description:
  An exception is randomly happening while ubiquity calling cachedpkg.mark_install() [1].
  cachedpkg.mark_install() came from Cache class of python3-apt package.

  It looks a timing issue while ubiquity calling
  cachedpkg.mark_install(), and a retry can workaround it.

  The reproduce rate is be about 1/15.

  Looks there're 2 things can be improved.
  1. improve the fault tolerance of Ubiquity while it calling external library.
  2. impvove the fault tolerance of python3-apt.

  [1]
  https://git.launchpad.net/ubuntu/+source/ubiquity/tree/ubiquity/install_misc.py?h=ubuntu
  /focal-updates#n534

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1891599/+subscriptions



More information about the foundations-bugs mailing list