I eventually had to stop the snapd service and manually delete the
"/run/snap*.lock" files and the "/snap/chromium" folder and the user
"snap/chromium" folder (after backing up) then uninstall via apt with "
--purge" switch and then snap remove with "--purge" switch too then
restart the snapd service and then apt install chromium-browser. Launch
and then close browser then copy user "snap/chromium" dir back from
backup.

Test launch and all is back apart from my user profile name and picture
but all bookmarks, form data, etc. are back.

All is now working so you can close this bug if you want. Thanks.


I still get the following if I launch from command line but it still works so 
probably not relevant:

Gtk-Message: 19:12:04.332: Failed to load module "xapp-gtk3-module"
Gtk-Message: 19:12:04.397: Failed to load module "canberra-gtk-module"
Gtk-Message: 19:12:04.399: Failed to load module "canberra-gtk-module"
WARNING: Kernel has no file descriptor comparison support: Operation not 
permitted
[41845:42159:0427/191208.179138:ERROR:udev_watcher.cc(98)] Failed to begin udev 
enumeration.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to chromium-browser in Ubuntu.
https://bugs.launchpad.net/bugs/1970611

Title:
  Chromium fails to start from snap after 22.04 upgrade

Status in chromium-browser package in Ubuntu:
  Incomplete

Bug description:
  Just went to open chromium to test a localhost website after upgrading to 
Ubuntu 22.04.
  It fails to launch with no error to desktop.

  I ran it from cli and got these errors.
  Chromium is installed from snap.
  Version info:
      Chromium 101.0.4951.41 snap
      Ubuntu 22.04 LTS
      Gnome 42.0
      X11 package 1:7.7+23ubuntu2

  
  /snap/chromium/1973/snap/command-chain/desktop-launch: line 366: cannot 
create temp file for here-document: No such file or directory
  Gtk-Message: 13:04:27.976: Failed to load module "xapp-gtk3-module"
  Gtk-Message: 13:04:28.061: Failed to load module "canberra-gtk-module"
  Gtk-Message: 13:04:28.064: Failed to load module "canberra-gtk-module"
  WARNING: Kernel has no file descriptor comparison support: Operation not 
permitted
  [17219:17219:0427/130428.478797:ERROR:process_singleton_posix.cc(1051)] 
Failed to create socket directory.
  [17219:17219:0427/130428.479040:ERROR:chrome_browser_main.cc(1431)] Failed to 
create a ProcessSingleton for your profile directory. This means that running 
multiple instances would start multiple browser processes rather than opening a 
new window in the existing process. Aborting now to avoid profile corruption.

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


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to