关于如何解决以下问题有任何提示吗?不确定这会产生什么影响,或者是否会影响系统性能。我已将下面的输出包含systemctl status snapd.seeded.service
在输出中apt-get upgrade
。任何帮助都将不胜感激。谢谢!!
输出自apt-get upgrade
;
Get:1 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 snapd
amd64 2.32.9 [13.5 MB]
Fetched 13.5 MB in 8s (1,513 kB/s)
(Reading database ... 1020256 files and directories currently installed.)
Preparing to unpack .../snapd_2.32.9_amd64.deb ...
Unpacking snapd (2.32.9) over (2.32.3.2) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up snapd (2.32.9) ...
Job for snapd.seeded.service failed because the control process exited with
error code. See "systemctl status snapd.seeded.service" and "journalctl -xe"
for details.
snapd.seeded.service couldn't start.
snapd.snap-repair.service is a disabled or a static unit, not starting it
以下是输出systemctl status snapd.seeded.service
snapd.seeded.service - Wait until snapd is fully seeded
Loaded: loaded (/lib/systemd/system/snapd.seeded.service; enabled; vendor
pre
Active: failed (Result: exit-code) since Fri 2018-06-01 07:54:12 CDT; 1h
58mi
Process: 23187 ExecStart=/usr/bin/snap wait system seed.loaded (code=exited,
s
Main PID: 23187 (code=exited, status=1/FAILURE)
Jun 01 07:54:07 dennis-OptiPlex-780 systemd[1]: Starting Wait until snapd is
ful
Jun 01 07:54:12 dennis-OptiPlex-780 snap[23187]: error: cannot communicate
with
Jun 01 07:54:12 dennis-OptiPlex-780 systemd[1]: snapd.seeded.service: Main
proce
Jun 01 07:54:12 dennis-OptiPlex-780 systemd[1]: Failed to start Wait until
snapd
Jun 01 07:54:12 dennis-OptiPlex-780 systemd[1]: snapd.seeded.service: Unit
enter
Jun 01 07:54:12 dennis-OptiPlex-780 systemd[1]: snapd.seeded.service: Failed
wit
答案1
您可以尝试运行sudo snap install hello-world
并查看是否安装了 Snap Core。完成此操作后,我的似乎现在可以正常工作了。
答案2
systemctl reboot
我今天偶然发现了这个问题,但通过在终端输入重新启动后我设法解决了这个问题。