** Description changed:

+ [Impact]
+ 
+ Users trying to install chromium-browser with apt in a chroot will see the 
preinst script hang for 30min, and eventually fail.
+ This use case is important as chroots are used by sysadmins to prepare 
installers.
+ 
+ [Test Case]
+ 
+ Create a focal chroot (for example using "pcreate -a amd64 -d focal 
focal-amd64"), enter the chroot and run "apt install chromium-browser".
+ Expected outcome: the installation succeeds, even though the chromium snap is 
not being installed because snapd cannot run in the chroot.
+ Incorrect (current) outcome: the installation hangs during 30 minutes while 
trying to contact the snap store, and eventually fails.
+ 
+ [Regression Potential]
+ 
+ As this change modifies the chromium-browser preinstallation script, it
+ should be verified that installing the package on systems that are
+ capable of running snapd (e.g. virtual machines or bare metal) still
+ works as expected.
+ 
+ [Original Description]
+ 
  Since snapd integration, chromium-browser package fails to install in a post 
kickstart chroot.
  As APT obfuscate snap installation, I worry about auto installation off any 
other snap package.
- 
- 
- ===
  
  When a user is running the installer, and instructs to install chromium-
  browser with apt in the /target chroot the experience is extremely bad.
  
  There are timeouts, there is critical debconf prompt, and no explanation
  as to what is happening.
  
  This is not an upgrade, and no conversion from deb2snap is needed.
  
  It is in a chroot, because this is how installers work.
  
  It feels like as if on fresh install of chromium-browser it should try
  "snap install --now-or-schedule-for-later chromium-browser" such that if
  snapd is running and available install it now, otherwise record a task
  for snapd to execute if and when it comes up (on first boot). Or like
  for example, it should call snap prepare-image --classic instead.
  
  Overall, imho on new installations of the package, if there is no snapd
  running, it should be skipped without asking any questions or popping up
  any dialogues.

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

Title:
  Fresh install of chromium-browser during installer-like process, in a
  chroot fails (when preparing machines prior to first boot)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1882232/+subscriptions

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

Reply via email to