Epiphany 浏览器 (gnome web) 出现了一些奇怪的问题。几天前,它停止工作了。不过,我仍然可以看到图标:
不幸的是,单击该图标并不会触发浏览器的打开。
奇怪的行为并没有就此结束。如果我尝试在 shell 上删除它,它不起作用:
~$ sudo apt-get remove epiphany-browser
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'epiphany-browser' is not installed, so not removed
我甚至尝试使用以下命令重新安装它:
~$ sudo apt-get update -y
~$ sudo apt-get install -y epiphany-browser
现在,第二次顿悟正在发生!
幸运的是,第二次顿悟(新的顿悟)起作用了!
最后,还有一件奇怪的事情。我尝试删除 epiphany,希望它们两个都能被删除。
尽管如此,在执行以下操作后,只有最新的被删除!旧的不起作用的被保留了。
$ sudo apt-get remove epiphany-browser
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
epiphany-browser-data
Use 'sudo apt autoremove' to remove it.
The following packages will be REMOVED:
epiphany-browser
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 3.922 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 244712 files and directories currently installed.)
Removing epiphany-browser (3.36.4-0ubuntu1) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for desktop-file-utils (0.24-1ubuntu3) ...
有人知道为什么会发生这种情况吗? 有办法解决吗?
====更新====
(@Terrance 建议放置 snap list 的输出。我认为他发现了问题)。
snaplist 的输出是:
~$ snap list
Name Version Rev Tracking Publisher Notes
code 054a9295 65 latest/stable vscode✓ classic
core 16-2.50.1 11167 latest/stable canonical✓ core
core18 20210507 2066 latest/stable canonical✓ base
epiphany 3.36.4-4-gc6d3adbdac 76 latest/stable jbicha -
gnome-3-28-1804 3.28.0-19-g98f9e67.98f9e67 145 latest/stable canonical✓ -
gnome-3-34-1804 0+git.3556cb3 72 latest/stable/… canonical✓ -
gtk-common-themes 0.1-52-gb92ac40 1515 latest/stable/… canonical✓ -
snap-store 3.38.0-63-g766b86f 542 latest/stable/… canonical✓ -
snapd 2.50.1 12057 latest/stable canonical✓ snapd
答案1
这修复了它:
$ sudo snap remove epiphany
谢谢@Terrance。他在评论中提出问题后,问题就清楚了。