Activity log for bug #1908023

Date Who What changed Old value New value Message
2020-12-14 04:56:59 Shih-Yuan Lee bug added bug
2020-12-14 04:58:08 Shih-Yuan Lee bug task added oem-priority
2020-12-14 05:00:46 Shih-Yuan Lee attachment added libgbm1.20.04+updates.log https://bugs.launchpad.net/oem-priority/+bug/1908023/+attachment/5443334/+files/libgbm1.20.04+updates.log
2020-12-14 05:01:42 Shih-Yuan Lee attachment added libgbm1.20.04.1+proposed.log https://bugs.launchpad.net/oem-priority/+bug/1908023/+attachment/5443335/+files/libgbm1.20.04.1+proposed.log
2020-12-14 05:02:09 Shih-Yuan Lee oem-priority: assignee Shih-Yuan Lee (fourdollars)
2020-12-14 05:02:11 Shih-Yuan Lee oem-priority: importance Undecided Critical
2020-12-14 05:02:18 Shih-Yuan Lee oem-priority: status New Confirmed
2020-12-14 05:03:31 Shih-Yuan Lee summary Installing libgbm1 will make other packages to be removed Installing libgbm1 will make other packages removed
2020-12-14 05:11:11 Shih-Yuan Lee bug added subscriber Canonical Hardware Enablement
2020-12-14 05:11:14 Shih-Yuan Lee tags oem-priority originate-from-1899905 somerville
2020-12-16 14:33:32 Shih-Yuan Lee bug task deleted hwe-next
2020-12-16 14:33:42 Shih-Yuan Lee bug task deleted mesa (Ubuntu)
2020-12-16 14:34:05 Shih-Yuan Lee summary Installing libgbm1 will make other packages removed installation stopped by an exception from mark_install() in Cache class of python3-apt
2020-12-16 14:34:42 Shih-Yuan Lee description 1) The release of Ubuntu you are using, via 'lsb_release -rd' or System -> About Ubuntu Ubuntu 20.04/20.04.1 2) The version of the package you are using, via 'apt-cache policy pkgname' or by checking in Software Center libgbm1/20.0.4-2ubuntu1 libgbm1/20.0.8-0ubuntu1~20.04.1 3) What you expected to happen Not so many packages will be removed when executing `apt-get --yes install libgbm1`. 4) What happened instead Executing `apt-get --yes install libgbm1` will make many other packages to be removed. 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.
2020-12-16 14:35:14 Shih-Yuan Lee oem-priority: status Confirmed In Progress
2020-12-16 14:45:32 Shih-Yuan Lee description 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. LP: #1891599 is for the random and this is for the exception. We found some order like https://paste.ubuntu.com/p/tC25Gt25fY/. When libgbm1 is the first package from set(), it will cause the following exception or silently remove some other packages like xserver-xorg-input-libinput, xserver-xorg-input-all and xserver-xorg-video-all like comment #2 & #3. 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.
2020-12-16 14:45:55 Shih-Yuan Lee nominated for series oem-priority/focal
2020-12-16 14:45:55 Shih-Yuan Lee bug task added oem-priority/focal
2020-12-16 14:46:05 Shih-Yuan Lee oem-priority/focal: status New Confirmed
2020-12-16 14:46:07 Shih-Yuan Lee oem-priority/focal: importance Undecided Critical
2020-12-16 14:46:09 Shih-Yuan Lee oem-priority/focal: assignee Shih-Yuan Lee (fourdollars)
2020-12-16 14:46:33 Shih-Yuan Lee bug task added ubiquity (Ubuntu)
2020-12-16 14:47:12 Shih-Yuan Lee bug added subscriber OEM Solutions Group: Engineers
2020-12-16 14:47:30 Shih-Yuan Lee description LP: #1891599 is for the random and this is for the exception. We found some order like https://paste.ubuntu.com/p/tC25Gt25fY/. When libgbm1 is the first package from set(), it will cause the following exception or silently remove some other packages like xserver-xorg-input-libinput, xserver-xorg-input-all and xserver-xorg-video-all like comment #2 & #3. 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. LP: #1891599 is for the random and this is for the exception. We found some order such as https://paste.ubuntu.com/p/tC25Gt25fY/ for example. When libgbm1 is the first package from set(), it will cause the following exception or silently remove some other packages like xserver-xorg-input-libinput, xserver-xorg-input-all and xserver-xorg-video-all like comment #2 & #3. 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.
2020-12-16 15:15:33 Launchpad Janitor merge proposal linked https://code.launchpad.net/~fourdollars/ubiquity/+git/ubiquity/+merge/395438
2020-12-17 02:42:48 Shih-Yuan Lee description LP: #1891599 is for the random and this is for the exception. We found some order such as https://paste.ubuntu.com/p/tC25Gt25fY/ for example. When libgbm1 is the first package from set(), it will cause the following exception or silently remove some other packages like xserver-xorg-input-libinput, xserver-xorg-input-all and xserver-xorg-video-all like comment #2 & #3. 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. LP: #1891599 dealt with the random and this is dealing with the exception. We found some order such as https://paste.ubuntu.com/p/tC25Gt25fY/ for example. When libgbm1 is the first package from set(), it will cause the following exception or silently remove some other packages like xserver-xorg-input-libinput, xserver-xorg-input-all and xserver-xorg-video-all like comment #2 & #3. 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.
2021-01-25 13:06:51 Shih-Yuan Lee description LP: #1891599 dealt with the random and this is dealing with the exception. We found some order such as https://paste.ubuntu.com/p/tC25Gt25fY/ for example. When libgbm1 is the first package from set(), it will cause the following exception or silently remove some other packages like xserver-xorg-input-libinput, xserver-xorg-input-all and xserver-xorg-video-all like comment #2 & #3. 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. [Impact] * The original mark_install() function in ubiquity/install_misc.py is not reliable. * It will break the packages dependencies unexpectedly even when we do provide the complete packages installation set. [Test Case] * It needs to manually provide some fixed broken order in the source code level, such as https://paste.ubuntu.com/p/XfGczzmxzM/ did, which is based on ubiquity 20.04.15.2 in focal. (The broken order is a real case dumpped from OEM project.) * So I used https://paste.ubuntu.com/p/fzK3BQhH7M/ to simulate the fixed broken order to verify the patch and it works fine. (https://paste.ubuntu.com/p/8B3M6dS8xr/ is the log.) [Where problems could occur] * We found some order such as https://paste.ubuntu.com/p/tC25Gt25fY/ for example. When libgbm1 is the first package from set(), it will cause the following exception or silently remove some other packages like xserver-xorg-input-libinput, xserver-xorg-input-all and xserver-xorg-video-all like comment #2 & #3. [Other Info] * The patch of https://code.launchpad.net/~fourdollars/ubiquity/+git/ubiquity/+merge/395438 is using another mechanism to install packages set as apt upgrade / apt-get upgrade --with-new-pkgs is using. LP: #1891599 dealt with the random and this is dealing with the exception. 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.
2021-01-25 13:07:09 Shih-Yuan Lee tags oem-priority originate-from-1899905 somerville focal oem-priority originate-from-1899905 somerville
2021-01-26 00:37:19 Launchpad Janitor ubiquity (Ubuntu): status New Fix Released
2021-01-26 08:33:46 Launchpad Janitor merge proposal linked https://code.launchpad.net/~fourdollars/ubiquity/+git/ubiquity/+merge/396890
2021-01-26 09:26:44 Łukasz Zemczak ubiquity (Ubuntu Focal): status New Fix Committed
2021-01-26 09:26:46 Łukasz Zemczak bug added subscriber Ubuntu Stable Release Updates Team
2021-01-26 09:26:49 Łukasz Zemczak bug added subscriber SRU Verification
2021-01-26 09:26:51 Łukasz Zemczak tags focal oem-priority originate-from-1899905 somerville focal oem-priority originate-from-1899905 somerville verification-needed verification-needed-focal
2021-01-27 04:30:21 Shih-Yuan Lee oem-priority/focal: status Confirmed Fix Committed
2021-01-27 04:30:25 Shih-Yuan Lee oem-priority: status In Progress Fix Committed
2021-01-27 04:30:54 Shih-Yuan Lee tags focal oem-priority originate-from-1899905 somerville verification-needed verification-needed-focal focal oem-priority originate-from-1899905 somerville verification-done verification-done-focal
2021-01-28 16:25:47 Launchpad Janitor ubiquity (Ubuntu Focal): status Fix Committed Fix Released
2021-01-28 16:25:59 Łukasz Zemczak removed subscriber Ubuntu Stable Release Updates Team
2021-01-29 06:20:48 Shih-Yuan Lee oem-priority/focal: status Fix Committed Fix Released
2021-01-29 06:20:50 Shih-Yuan Lee oem-priority: status Fix Committed Fix Released