Ubuntu – Installing kubuntu-desktop failed for unmet dependencies


I'm using Kubuntu 14.04. I lost my desktop and got error unable to launch "/usr/bin/startkde" X sesssion - "/usr/bin/startkde" not found; falling back to default session. I found a possible fix in a post and I followed the instruction by entering the terminal using Ctrl+Alt+F1:

sudo apt-get update
sudo apt-get install -f
sudo apt-get dist-upgrade
sudo apt-get install kubuntu-desktop

The last command results unmet dependencies problem and I got stuck.

enter image description here


The result of apt-cache policy kubuntu-desktop kde-workspace plasma-desktop plasma-netbook looks like

enter image description here

I encountered the similar problem before that I could successfully install the desktop, but I think this case is little different from it.

Best Answer

It seems you was upgrading kubuntu, but then somehow lost connection in the middle of process.

The plausible fix is to reinstalling kubuntu-desktop package, although the command you run is right. Have you tried manually installing the missing packages that listed on it is not going to be installed?

sudo apt-get install kde-workspace plasma-desktop plasma-netbook software-properties-kde kadressbook apturl-kde apport-kde akregator kde-telepathy kdepim-kresources kdepim-runtime kmail knotes kontact korganizer muon-discover muon-notifier plasma-runner-telepathy-contact plasma-widgets-addons usb-creator-kde
Related Question