Comment 9 for bug 1983399

Revision history for this message
Paul Eggert (eggert-cs) wrote :

> you can install the snap, run "chromium --version", then uninstall it

OK, I did that, and it works fine on Fedora. Here's a shell transcript:

$ sudo dnf install snapd
[sudo] password for eggert:
Last metadata expiration check: 0:02:24 ago on Mon Aug 8 09:58:55 2022.
Dependencies resolved.
================================================================================
 Package Architecture Version Repository Size
================================================================================
Installing:
 snapd x86_64 2.56.2-4.fc36 updates 14 M
Installing dependencies:
 snap-confine x86_64 2.56.2-4.fc36 updates 2.5 M
 snapd-selinux noarch 2.56.2-4.fc36 updates 230 k

Transaction Summary
================================================================================
Install 3 Packages

Total download size: 16 M
Installed size: 57 M
Is this ok [y/N]: y
Downloading Packages:
(1/3): snapd-selinux-2.56.2-4.fc36.noarch.rpm 287 kB/s | 230 kB 00:00
(2/3): snap-confine-2.56.2-4.fc36.x86_64.rpm 2.2 MB/s | 2.5 MB 00:01
(3/3): snapd-2.56.2-4.fc36.x86_64.rpm 7.8 MB/s | 14 MB 00:01
--------------------------------------------------------------------------------
Total 7.1 MB/s | 16 MB 00:02
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing : 1/1
  Running scriptlet: snapd-selinux-2.56.2-4.fc36.noarch 1/3
  Installing : snapd-selinux-2.56.2-4.fc36.noarch 1/3
  Running scriptlet: snapd-selinux-2.56.2-4.fc36.noarch 1/3
  Installing : snap-confine-2.56.2-4.fc36.x86_64 2/3
  Installing : snapd-2.56.2-4.fc36.x86_64 3/3
  Running scriptlet: snapd-2.56.2-4.fc36.x86_64 3/3
Created symlink /etc/systemd/system/sockets.target.wants/snapd.socket → /usr/lib/systemd/system/snapd.socket.
Created symlink /etc/systemd/user/sockets.target.wants/snapd.session-agent.socket → /usr/lib/systemd/user/snapd.session-agent.socket.

  Running scriptlet: snapd-selinux-2.56.2-4.fc36.noarch 3/3
  Running scriptlet: snapd-2.56.2-4.fc36.x86_64 3/3
  Verifying : snap-confine-2.56.2-4.fc36.x86_64 1/3
  Verifying : snapd-2.56.2-4.fc36.x86_64 2/3
  Verifying : snapd-selinux-2.56.2-4.fc36.noarch 3/3

Installed:
  snap-confine-2.56.2-4.fc36.x86_64 snapd-2.56.2-4.fc36.x86_64
  snapd-selinux-2.56.2-4.fc36.noarch

Complete!
$ sudo snap install chromium
error: too early for operation, device not yet seeded or device model not acknowledged
$ ls -ld /snap
ls: cannot access '/snap': No such file or directory
$ sudo snap install chromium
2022-08-08T10:04:38-07:00 INFO Waiting for automatic snapd restart...
chromium 104.0.5112.79 from Canonical✓ installed
$ /var/lib/snapd/snap/bin/chromium --version
Chromium 104.0.5112.79 snap
$ sudo ln -s /var/lib/snapd/snap /snap
[sudo] password for eggert:
$ /snap/bin/chromium --version
Chromium 104.0.5112.79 snap
$