我正在使用 Ubuntu 20.4.2 LTS。
$ sudo snap install chromium
INFO Waiting for automatic snapd restart...
error: cannot perform the following tasks:
- Buscar e verificar asserções para o snap "gnome-3-28-1804" (145) (persistent network error: Get https://api.snapcraft.io/api/v1/snaps/assertions/snap-revision/hHBPyo_1mDxJyElepXvzRzMh9z1va7oAgyEb61sSdOJEz0s3Rh4jUTT7_wI8Z3Uw?max-format=0: dial tcp: lookup api.snapcraft
.io: Temporary failure in name resolution)
$ sudo dpkg --configure -a
$ sudo snap install chromium
snap "chromium" is already installed, see 'snap help refresh'
$ chromium
ERROR: not connected to the gnome-3-28-1804 content interface.
我不知道那是什么。从我所知的一点点来看,我的浏览器似乎在某个服务器上运行。
有人在其他机器上运行 chromium 吗?我该怎么办?
答案1
重新安装gnome-3-28-1804
对我有用
snap remove gnome-3-28-1804
snap install gnome-3-28-1804
答案2
尝试:
snap install gnome-3-28-1804
snap connect chromium:gnome-3-28-1804 gnome-3-28-1804:gnome-3-28-1804
附言:第一次启动时您可能需要等待几秒钟……