seeded snaps fail to launch after OEM install
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd (Ubuntu) |
Fix Released
|
Critical
|
Alberto Mardegan | ||
Jammy |
Fix Released
|
Critical
|
Unassigned |
Bug Description
I just did an OEM install of the Ubuntu 22.04.1 Desktop candidate.
I used the instructions at
http://
I was unable to start Firefox. Here is the command line output.
$ firefox
sed: can't read /home/jeremy/
/snap/firefox/
cp: cannot open '/home/
/snap/firefox/
Error: cannot open display: :0
This is strange because I was able to launch Firefox after completing a non-OEM install.
/etc/passwd shows
jeremy:
And my user-dirs.dirs looks normal
-rw------- 1 jeremy jeremy 633 Aug 3 20:09 user-dirs.dirs
snap-store
==========
I have the same problem with running the snap-store
$ snap-store
sed: can't read /home/jeremy/
/snap/snap-
cp: cannot open '/home/
/snap/snap-
Warning: Schema \u201corg.
Warning: Schema \u201corg.
Warning: Schema \u201corg.
Warning: Schema \u201corg.
Warning: Schema \u201corg.
Warning: Schema \u201corg.
00:40:12:0952 GLib-GIO g_app_info_
00:40:12:0961 Gtk cannot open display: :0
summary: |
- firefox fails to launch after OEM install + snaps fail to launch after OEM install |
description: | updated |
affects: | firefox (Ubuntu) → snapd (Ubuntu) |
Changed in snapd (Ubuntu): | |
importance: | Undecided → Critical |
summary: |
- snaps fail to launch after OEM install + seeded snaps fail to launch after OEM install |
Changed in snapd (Ubuntu Jammy): | |
milestone: | none → ubuntu-22.04.1 |
Changed in snapd (Ubuntu Jammy): | |
status: | New → Confirmed |
importance: | Undecided → Critical |
This works:
snap install ohmygiraffe && snap run ohmygiraffe
snap install chromium && snap run chromium
So then I tried: latest/ stable/ ubuntu- 22.04 firefox
snap refresh --channel=beta firefox
snap refresh --channel=
to reinstall the snap.
Now it works fine. The snap-store also works fine after I use the similar trick to reinstall it.