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

Yuan-Chen Cheng 1891599 at bugs.launchpad.net
Mon Aug 31 08:05:53 UTC 2020


as this happens, I found the real exception is give by

  File "/usr/lib/python3/dist-packages/apt/package.py", line 1549, in mark_install
    fixer.resolve(True)
apt_pkg.Error: E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

the package cause this error is: libgbm1

I found as it happens, if it failed:

===
# apt-get install -s evolution-data-server libgbm1 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 evolution-data-server : Depends: libedataserverui-1.2-2 (= 3.36.4-0ubuntu1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
===

However, If I
"apt-get install -s evolution-data-server libgbm1 libegl-mesa0"

Then there is no error

-- 
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:
  Confirmed
Status in ubiquity package in Ubuntu:
  New

Bug description:
  This happen in oem project because we have lots pkg to upgrade during
  installation because the design of factory process need it.

  As package list have certain dependency, and the the order that we get
  the pkg from the python set object is not good for underlying apt
  engine, then exception will raise.

  A workaround fix is move those failed debs to next iteration and the
  fix test pass as we try it in installation for like 50 times.

  MP: https://code.launchpad.net/~ycheng-
  twn/ubuntu/+source/ubiquity/+git/ubiquity/+merge/390009

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