在 U22.10 桌面上:
> sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
gir1.2-webkit2-4.1 : Depends: libwebkit2gtk-4.1-0 (= 2.38.4-0ubuntu0.22.10.1) but 2.38.3-0ubuntu0.22.10.1 is installed
libwebkit2gtk-4.1-0 : Depends: libjavascriptcoregtk-4.1-0 (= 2.38.3-0ubuntu0.22.10.1) but 2.38.4-0ubuntu0.22.10.1 is installed
libwebkit2gtk-5.0-0 : Depends: libjavascriptcoregtk-5.0-0 (= 2.38.3-0ubuntu0.22.10.1) but 2.38.4-0ubuntu0.22.10.1 is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
然后
> apt policy gir1.2-webkit2-4.1
gir1.2-webkit2-4.1:
Installed: 2.38.4-0ubuntu0.22.10.1
Candidate: 2.38.4-0ubuntu0.22.10.1
Version table:
*** 2.38.4-0ubuntu0.22.10.1 500
500 http://us.archive.ubuntu.com/ubuntu kinetic-updates/main amd64 Packages
500 http://security.ubuntu.com/ubuntu kinetic-security/main amd64 Packages
100 /var/lib/dpkg/status
2.38.0-1 500
500 http://us.archive.ubuntu.com/ubuntu kinetic/main amd64 Packages
我该怎么办?sudo apt --fix-broken install
没用。
更新
sudo apt --fix-broken install
终于成功了。不确定发生了什么变化。可能是上游的东西?