Install ubuntu-desktop dependencies problem
Type these commands:
- sudo apt-get autoclean
- sudo apt-get clean
- sudo dpkg --configure -a
- sudo apt-get update
If it doesn't solve the issue, type sudo apt-get dist-upgrade as the 5th step from the above. I hope it can rectify the issue.
Related videos on Youtube
0xC0DEGURU 8 months
I have added this repository ppa:gurqn/systray-trusty to my Ubuntu 14.04.
After this I performed an
apt-get upgrade. But soon after I decided to remove installed packages from this repository via the Ubuntu Software Center.
One of the packages seems to be a patch in the
ubuntu-desktoppackage and that's probably how I uninstalled
I'm a newbie in Ubuntu and all my conclusions are deduced from the forums I visited today trying to fix my problem. So, it seems that I have uninstalled my ubuntu-desktop package, after which I performed
apt-get auto-remove(please, don't ask me why). This seems to be the final action which made me loose the Desktop GUI on Ubuntu.
After that, I have performed
apt-get update --fix-missing,
apt-get install ubuntu-desktop,
apt-get install unityunder safemode.
The Guest Session Account had its Desktop GUI back to normal, but this is not the case with my personal Ubuntu account. It still has no Desktop GUI.
I decided to remove the
ppa:gurqn/systray-trustyrepository because it seems to provide some of the dependencies and to reinstall
unitypackages but during installation I have some issues with dependencies:
sudo apt-get install -f --reinstall ubuntu-desktop unity Reading package lists... Building dependency tree... Reading state information... 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: unity : Depends: libunity-core-6.0-9 (= 7.2.3+14.04.20140826-0ubuntu1) but it is not going to be installed Recommends: unity-lens-applications but it is not going to be installed E: Unable to correct problems, you have held broken packages
Any help will be appreciated. Thank you!
RPiAwesomeness over 8 yearsHave you tried running
sudo apt-get install -f --reinstall ubuntu-desktop, unity?
0xC0DEGURU over 8 years
sudo apt-get install -f --reinstall ubuntu-desktopsays:
ubuntu-desktop: Depends: unity, but it's not going to be installed E: Unable to correct problems, you have held broken packages
RPiAwesomeness over 8 yearsMy bad, run that command again, but without the comma. That messed it up. Sorry.
0xC0DEGURU over 8 yearsYes, I noticed that extra comma. NP :)
RPiAwesomeness over 8 yearsAny change in the output of the command?
0xC0DEGURU over 8 yearsNo, APT still complains about the same dependencies. I just added the output of
apt-get installin my question.
Sergiy Kolodyazhnyy over 7 yearsWhat's
apt-cache policy libunity-core-6.0-9saying ?
0xC0DEGURU over 8 yearsI did run all of the steps and didn't encountered any errors but still have the same issue. After I rebooted, I tried to run again
apt-get install ubuntu-desktopand APT reports the same error message.
Wolverine over 8 yearsYou will have to remove the package libunity-core-6.0-9 and proceed with the command.
0xC0DEGURU over 8 yearsOk, I removed
unity-servicespakage which alowed me to reinstall
unitysuccesfuly, but I have still the same issue: I see only icons on my desctop and a mouse coursor. The mouse context menu also works.
Wolverine over 8 yearsReboot the system and check once.