如何从Kubuntu 18.04切换到Ubuntu 18.04?

我正在使用Kubuntu,但我想安装Ubuntu Desktop并希望使用它,不知何故我无法安装。 有人能帮助我吗?

我试过这个命令:

sudo apt install ubuntu-desktop 

输出是:

 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: ubuntu-desktop : Depends: gdm3 but it is not going to be installed Recommends: ibus Recommends: ibus-table but it is not going to be installed Recommends: shotwell but it is not going to be installed E: Unable to correct problems, you have held broken packages. 

 apt update All packages are up to date. apt upgrade 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. apt-cache policy ubuntu-desktop gdm3 ibus ibus-table shotwell ubuntu-desktop: Installed: (none) Candidate: 1.417 Version table: 1.417 500 500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages gdm3: Installed: (none) Candidate: 3.28.0-0ubuntu1 Version table: 3.28.0-0ubuntu1 500 500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages ibus: Installed: (none) Candidate: 1.5.17-3ubuntu4 Version table: 1.5.17-3ubuntu4 500 500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages ibus-table: Installed: (none) Candidate: 1.9.14-3 Version table: 1.9.14-3 500 500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages 500 http://archive.ubuntu.com/ubuntu bionic/main i386 Packages shotwell: Installed: (none) Candidate: 0.28.2-0ubuntu1 Version table: 0.28.2-0ubuntu1 500 500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages 

根据您提供的信息,apt似乎拒绝继续安装,因为它正在检测冲突的软件包。

想到的主要可能性是:

  • 安装了PPA或非标准存储库。 如果是这样,请删除它们。

  • 有手动下载和安装的deb文件。 如果是这样,请删除它们。

  • 推荐的包被视为依赖项。 如果是这样,请关闭设置。 (最简单的方法是从synaptic或者software-properties-kde 。)

进一步建议:

  • 使用aptitude (而不是aptapt-get ),因为它有一个内置的依赖项解析器,它将建议允许安装继续的潜在解决方案。

  • 如果您只想尝试不同的桌面环境,请首先尝试使用实时光盘以避免破坏当前系统的稳定性。 然后,如果您喜欢它们,只需安装相关的软件包(例如, gnomexfce4 ),而不是ubuntu-desktop

检查存储库设置 – 打开软件和更新 (或software-properties-gtk / software-properties-kde )。

看起来应该像 –

Ubuntu软件选项卡

更新

修复您的差异,确认重新加载包列表。
然后重试安装Ubuntu桌面:

 sudo apt install ubuntu-desktop