尝试执行软件更新程序更新。出现此错误,似乎表示需要尝试安装的相同软件:
无法解析软件包依赖关系
This error could be caused by required additional software packages which are
missing or not installable.
Furthermore there could be a conflict between software packages which are not
allowed to be installed at the same time.
Transaction failed: Package dependencies cannot be resolved
The following packages have unmet dependencies:
gnome-software-plugin-snap:
Depends: gnome-software (= 3.36.1-0ubuntu0.20.04.0)
but 3.36.1-0ubuntu0.20.04.0 is to be installed
ubuntu-software: Depends: gnome-software (>= 3.36.1-0ubuntu0.20.04.0)
but 3.36.1-0ubuntu0.20.04.0 is to be installed
答案1
从上面的评论中,我们可以很容易地推断出,这样做sudo apt-get install gnome-software
或sudo apt-get install gnome-software=<version you chose>
可以解决这个问题,因为它会安装导致软件更新程序失败的缺少的包。