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

2021-01-28 Thread Shih-Yuan Lee
** Changed in: oem-priority/focal
   Status: Fix Committed => Fix Released

** Changed in: oem-priority
   Status: Fix Committed => 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/1908023

Title:
  installation stopped by an 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/1908023/+subscriptions

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

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

2021-01-28 Thread Launchpad Bug Tracker
This bug was fixed in the package ubiquity - 20.04.15.5

---
ubiquity (20.04.15.5) focal; urgency=medium

  [ Mauricio Faria de Oliveira ]
  * Add preseed option 'ubiquity/prepare_automatic' (default: false) to
include the prepare page in automatic mode. (LP: #1895351)
- debian/ubiquity.templates: add ubiquity/prepare_automatic.
- ubiquity/plugins/ubi-prepare.py: do not bail if it's true.

  [ Shih-Yuan Lee (FourDollars) ]
  * install_misc.py: Use another mechanism to install the packages. (LP:
#1908023)

 -- Iain Lane   Mon, 25 Jan 2021 18:28:35 +

** Changed in: ubiquity (Ubuntu Focal)
   Status: Fix Committed => 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/1908023

Title:
  installation stopped by an 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/1908023/+subscriptions

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

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

2021-01-26 Thread Shih-Yuan Lee
I checked ubiquity 20.04.15.5 and it works fine.


** Changed in: oem-priority/focal
   Status: Confirmed => Fix Committed

** Changed in: oem-priority
   Status: In Progress => Fix Committed

** Tags removed: verification-needed verification-needed-focal
** Tags added: verification-done verification-done-focal

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

Title:
  installation stopped by an 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/1908023/+subscriptions

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

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

2021-01-26 Thread Ɓukasz Zemczak
Ok, so it's not ideal that this lands so late in the .2 cycle as this
SRU adds a new user-visible that would be nice to have translated. Too
bad.

** Changed in: ubiquity (Ubuntu Focal)
   Status: New => Fix Committed

** Tags added: verification-needed verification-needed-focal

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

Title:
  installation stopped by an 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/1908023/+subscriptions

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

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

2021-01-26 Thread Launchpad Bug Tracker
** Merge proposal linked:
   https://code.launchpad.net/~fourdollars/ubiquity/+git/ubiquity/+merge/396890

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

Title:
  installation stopped by an 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/1908023/+subscriptions

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

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

2021-01-25 Thread Launchpad Bug Tracker
This bug was fixed in the package ubiquity - 21.04.6

---
ubiquity (21.04.6) hirsute; urgency=medium

  * Revert "BD on iproute2" There's a mock 'ip' command which is supposed to
be used actually.
  * Append _fn to netcfg mock_path name. This is actually why the mock 'ip'
command wasn't being found. The check library now generates the testcase
with `_fn` appended, so we need to rename our directory to follow suit.

 -- Iain Lane   Mon, 25 Jan 2021 19:02:50 +

** Changed in: ubiquity (Ubuntu)
   Status: New => 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/1908023

Title:
  installation stopped by an 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/1908023/+subscriptions

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

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

2021-01-25 Thread Shih-Yuan Lee
** Description changed:

- LP: #1891599 dealt with the random and this is dealing with the
- exception.
+ [Impact]
  
- We found some order such as https://paste.ubuntu.com/p/tC25Gt25fY/ for 
example.
+  * 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.

** Tags added: focal

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

Title:
  installation stopped by an 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/1908023/+subscriptions

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

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

2020-12-16 Thread Shih-Yuan Lee
** Description changed:

- LP: #1891599 is for the random and this is for the exception.
+ 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.

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

Title:
  installation stopped by an 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/1908023/+subscriptions

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

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

2020-12-16 Thread Launchpad Bug Tracker
** Merge proposal linked:
   https://code.launchpad.net/~fourdollars/ubiquity/+git/ubiquity/+merge/395438

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

Title:
  installation stopped by an 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/1908023/+subscriptions

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

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

2020-12-16 Thread Shih-Yuan Lee
** Description changed:

+ 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.

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

** Changed in: oem-priority/focal
   Status: New => Confirmed

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

** Changed in: oem-priority/focal
 Assignee: (unassigned) => Shih-Yuan Lee (fourdollars)

** Also affects: ubiquity (Ubuntu)
   Importance: Undecided
   Status: New

** Description changed:

  LP: #1891599 is for the random and this is for the exception.
  
- We found some order like https://paste.ubuntu.com/p/tC25Gt25fY/.
+ 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.

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

Title:
  installation stopped by an 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/1908023/+subscriptions

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