由于 gnome-session-common 导致 Gnome-session 无法安装,尽管已安装并更新

由于 gnome-session-common 导致 Gnome-session 无法安装,尽管已安装并更新

因此,在我弄清楚如何安装定制器之后,我开始使用 chroot 进行测试(或使用终端功能安装软件包并定制更改)

gnome-session 说 gnome-session-common 未安装并尝试安装它,但失败,因此整个 gnome-session 安装失败,因此我尝试手动安装它,但它说它已安装并更新

无论如何,ISO是Ubuntu 17.10.1。以下是终端中发生的事情:

/# sudo apt install gnome-session

Reading package lists... Done

Building dependency tree      

Reading state information... Done

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:

 gnome-session : Depends: gnome-session-common (= 3.26.1-0ubuntu5) but 3.26.1-0ubuntu6 is to be installed

Recommends: adwaita-icon-theme-full

E: Unable to correct problems, you have held broken packages.

无论如何要解决这个问题,我因为这个错误感到非常沮丧

答案1

只需将最后一个字符串替换sources.list

deb http://archive.ubuntu.com/ubuntu/ artful-updates main universe restricted

并解决了这个问题。

相关内容