-rw-r–r–. 1 root root 3049088 Dec 3 15:51 snap-confine-2.66.1-0.el9.x86_64.rpm
-rw-r–r–. 1 root root 18394330 Dec 3 15:52 snapd-2.66.1-0.el9.x86_64.rpm
-rw-r–r–. 1 root root 4767043 Dec 3 15:52 snapd-devel-2.66.1-0.el9.noarch.rpm
-rw-r–r–. 1 root root 150813 Dec 3 15:52 snapd-glib-1.58-3.el9.x86_64.rpm
-rw-r–r–. 1 root root 128109 Dec 3 15:52 snapd-glib-devel-1.58-3.el9.x86_64.rpm
-rw-r–r–. 1 root root 96180 Dec 3 15:53 snapd-selinux-2.66.1-0.el9.noarch.rpm
[root@openeuler snap]#
离线安装了snap包,无法运行
[root@openeuler snap]# systemctl status snapd --no-pager
× snapd.service - Snap Daemon
Loaded: loaded (/usr/lib/systemd/system/snapd.service; disabled; preset: disabled)
Active: failed (Result: exit-code) since Tue 2024-12-03 18:35:03 CST; 2min 0s ago
TriggeredBy: × snapd.socket
Process: 2486 ExecStart=/usr/libexec/snapd/snapd (code=exited, status=1/FAILURE)
Main PID: 2486 (code=exited, status=1/FAILURE)
Dec 03 18:35:02 openeuler snapd[2486]: daemon.go:353: adjusting startup timeout by 30s (pessimistic estimate of 30s plus 5s per snap)
Dec 03 18:35:02 openeuler snapd[2486]: backends.go:58: AppArmor status: apparmor not enabled
Dec 03 18:35:02 openeuler snapd[2486]: cannot run daemon: state startup errors: [cannot obtain snap-seccomp version information: fork/exec /usr/lib…r directory]
Dec 03 18:35:02 openeuler systemd[1]: snapd.service: Main process exited, code=exited, status=1/FAILURE
Dec 03 18:35:02 openeuler systemd[1]: snapd.service: Failed with result ‘exit-code’.
Dec 03 18:35:03 openeuler systemd[1]: snapd.service: Scheduled restart job, restart counter is at 5.
Dec 03 18:35:03 openeuler systemd[1]: snapd.service: Start request repeated too quickly.
Dec 03 18:35:03 openeuler systemd[1]: snapd.service: Failed with result ‘exit-code’.
Dec 03 18:35:03 openeuler systemd[1]: Failed to start Snap Daemon.
Dec 03 18:35:03 openeuler systemd[1]: snapd.service: Triggering OnFailure= dependencies.
Hint: Some lines were ellipsized, use -l to show in full.
[root@openeuler snap]#