Public bug reported:

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

** Affects: oem-priority
     Importance: Critical
     Assignee: Alex Tu (alextu)
         Status: New

** Affects: ubiquity (Ubuntu)
     Importance: Undecided
         Status: New


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

** Also affects: oem-priority
   Importance: Undecided
       Status: New

** Changed in: oem-priority
     Assignee: (unassigned) => Alex Tu (alextu)

** Changed in: oem-priority
   Importance: Undecided => Critical

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to