[Bug 1891599] Re: installation stopped by an random exception from mark_install() in Cache class of python3-apt
The fix for LP: #1908023 will cover/replace the fix of this bug. ** Changed in: oem-priority Status: In Progress => Fix Released -- 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
[Bug 1891599] Re: installation stopped by an random exception from mark_install() in Cache class of python3-apt
If we decide to take this, SRU back to focal is needed, given most OEM use LTS. -- 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
[Bug 1891599] Re: installation stopped by an random exception from mark_install() in Cache class of python3-apt
** Description changed: Exception in the installation Aug 12 19:26:59 ubuntu /plugininstall.py: Exception during installation: Aug 12 19:26:59 ubuntu /plugininstall.py: Traceback (most recent call last): Aug 12 19:26:59 ubuntu /plugininstall.py: File "/usr/share/ubiquity/plugininstall.py", line 235, in run Aug 12 19:26:59 ubuntu /plugininstall.py: self.install_extras() Aug 12 19:26:59 ubuntu /plugininstall.py: File "/usr/share/ubiquity/plugininstall.py", line 1212, in install_extras Aug 12 19:26:59 ubuntu /plugininstall.py: self.do_install(filtered_extra_packages) Aug 12 19:26:59 ubuntu /plugininstall.py: File "/usr/lib/ubiquity/ubiquity/install_misc.py", line 941, in do_install Aug 12 19:26:59 ubuntu /plugininstall.py: mark_install(cache, pkg) Aug 12 19:26:59 ubuntu /plugininstall.py: File "/usr/lib/ubiquity/ubiquity/install_misc.py", line 553, in mark_install Aug 12 19:26:59 ubuntu /plugininstall.py: raise InstallStepError( Aug 12 19:26:59 ubuntu /plugininstall.py: ubiquity.install_misc.InstallStepError: Unable to install 'libgbm1' due to conflicts. - 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 -- 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
[Bug 1891599] Re: installation stopped by an random exception from mark_install() in Cache class of python3-apt
** Changed in: ubiquity (Ubuntu) Status: New => Fix Committed ** Changed in: ubiquity (Ubuntu) Importance: Undecided => Medium -- 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
[Bug 1891599] Re: installation stopped by an random exception from mark_install() in Cache class of python3-apt
** Merge proposal linked: https://code.launchpad.net/~fourdollars/ubiquity/+git/ubiquity/+merge/395055 -- 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
[Bug 1891599] Re: installation stopped by an random exception from mark_install() in Cache class of python3-apt
** Changed in: oem-priority Assignee: Alex Tu (alextu) => Shih-Yuan Lee (fourdollars) ** Changed in: oem-priority Status: Confirmed => In Progress -- 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
[Bug 1891599] Re: installation stopped by an random exception from mark_install() in Cache class of python3-apt
** Changed in: oem-priority Assignee: (unassigned) => Alex Tu (alextu) -- 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
[Bug 1891599] Re: installation stopped by an random exception from mark_install() in Cache class of python3-apt
** Changed in: oem-priority Assignee: Yuan-Chen Cheng (ycheng-twn) => (unassigned) -- 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
[Bug 1891599] Re: installation stopped by an random exception from mark_install() in Cache class of python3-apt
** Description changed: + Exception in the installation + + Aug 12 19:26:59 ubuntu /plugininstall.py: Exception during installation: + Aug 12 19:26:59 ubuntu /plugininstall.py: Traceback (most recent call last): + Aug 12 19:26:59 ubuntu /plugininstall.py: File "/usr/share/ubiquity/plugininstall.py", line 235, in run + Aug 12 19:26:59 ubuntu /plugininstall.py: self.install_extras() + Aug 12 19:26:59 ubuntu /plugininstall.py: File "/usr/share/ubiquity/plugininstall.py", line 1212, in install_extras + Aug 12 19:26:59 ubuntu /plugininstall.py: self.do_install(filtered_extra_packages) + Aug 12 19:26:59 ubuntu /plugininstall.py: File "/usr/lib/ubiquity/ubiquity/install_misc.py", line 941, in do_install + Aug 12 19:26:59 ubuntu /plugininstall.py: mark_install(cache, pkg) + Aug 12 19:26:59 ubuntu /plugininstall.py: File "/usr/lib/ubiquity/ubiquity/install_misc.py", line 553, in mark_install + Aug 12 19:26:59 ubuntu /plugininstall.py: raise InstallStepError( + Aug 12 19:26:59 ubuntu /plugininstall.py: ubiquity.install_misc.InstallStepError: Unable to install 'libgbm1' due to conflicts. + + 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 -- 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
[Bug 1891599] Re: installation stopped by an random exception from mark_install() in Cache class of python3-apt
** Description changed: 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 -- 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
[Bug 1891599] Re: installation stopped by an random exception from mark_install() in Cache class of python3-apt
The attachment "install_misc_py.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team. [This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.] ** Tags added: patch -- 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
[Bug 1891599] Re: installation stopped by an random exception from mark_install() in Cache class of python3-apt
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 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
[Bug 1891599] Re: installation stopped by an random exception from mark_install() in Cache class of python3-apt
Note: the patch will not change the flow if not exception happens in mark_install(cache, pkg) Given so, I think there won't have regression if we apply this. ** Description changed: 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 to next iteration and the fix test - pass as we try it in installation for like 50 times. + 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. -- 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
[Bug 1891599] Re: installation stopped by an random exception from mark_install() in Cache class of python3-apt
the dpkg -l as this happens ** Attachment added: "current-pkg-list.txt" https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1891599/+attachment/5406034/+files/current-pkg-list.txt -- 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
[Bug 1891599] Re: installation stopped by an random exception from mark_install() in Cache class of python3-apt
the pkg list we want to mark install as we run to there. ** Attachment added: "deb-to-mark-installed.txt" https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1891599/+attachment/5406035/+files/deb-to-mark-installed.txt ** Changed in: oem-priority Status: New => Confirmed -- 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
[Bug 1891599] Re: installation stopped by an random exception from mark_install() in Cache class of python3-apt
https://git.launchpad.net/ubuntu/+source/ubiquity/tree/ubiquity/install_misc.py?h=ubuntu /focal-updates#n534 ** Changed in: oem-priority Assignee: Alex Tu (alextu) => Yuan-Chen Cheng (ycheng-twn) ** Description changed: - An exception is randomly happening while ubiquity calling cachedpkg.mark_install() [1]. - cachedpkg.mark_install() came from Cache class of python3-apt package. + This happen in oem project because we have lots pkg to upgrade during + installtion becuase the design of factory process need it. - It looks a timing issue while ubiquity calling cachedpkg.mark_install(), - and a retry can workaround 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. - 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 + A workaround fix is move those failed to next iteration and the fix test + pass as we try it in installation for like 50 times. ** Description changed: This happen in oem project because we have lots pkg to upgrade during - installtion becuase the design of factory process need it. + 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 to next iteration and the fix test pass as we try it in installation for like 50 times. -- 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
[Bug 1891599] Re: installation stopped by an random exception from mark_install() in Cache class of python3-apt
the patch that passed 50 installtion ** Patch added: "install_misc_py.patch" https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1891599/+attachment/5406032/+files/install_misc_py.patch -- 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
[Bug 1891599] Re: installation stopped by an random exception from mark_install() in Cache class of python3-apt
** Tags added: originate-from-1891603 -- 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
[Bug 1891599] Re: installation stopped by an random exception from mark_install() in Cache class of python3-apt
I'm trying to upload log, but keep getting launchpad opps. (Error ID: OOPS-6b4d02cb9bb92efa8664d821b400a951) So, I will try uploading syslog later. -- 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
[Bug 1891599] Re: installation stopped by an random exception from mark_install() in Cache class of python3-apt
I'm trying to upload log, but keep getting launchpad opps. So, I will try uploading syslog later. -- 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
[Bug 1891599] Re: installation stopped by an random exception from mark_install() in Cache class of python3-apt
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 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