问候 Ubuntu 社区!
我正在运行一个旧版本的 Ubuntu 16.04,我在不久前设置了它,这样我就可以运行我自己的个人 Nextcloud 服务器。我已经尝试使用详细信息提供的多个搜索词来研究我遇到的快照错误,但没有运气,所以我想我会来这里。似乎 snap 的链接问题导致引发错误。每当我尝试使用例如sudo apt upgrade
等时,sudo apt install <package>
它都会给我这个错误:
sudo apt install openssh-server
[sudo] password for sysadmin:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libicu64 libllvm7 libllvm8
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
ncurses-term openssh-sftp-server ssh-import-id
Suggested packages:
molly-guard monkeysphere rssh ssh-askpass
E: Waited for [ ! -f /usr/bin/snap ] || /usr/bin/snap advise-snap --from-apt 2>/dev/null || true but it wasn't there
E: Failure running hook [ ! -f /usr/bin/snap ] || /usr/bin/snap advise-snap --from-apt 2>/dev/null || true
E: Waited for [ ! -f /usr/bin/snap ] || /usr/bin/snap advise-snap --from-apt 2>/dev/null || true but it wasn't there
E: Failure running hook [ ! -f /usr/bin/snap ] || /usr/bin/snap advise-snap --from-apt 2>/dev/null || true