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
9:13, Personal note: When I was a little kid my mother told me not to stare into the sun. So once when I was six I did. The doctors didn't know if my eyes would ever heal. I was terrified, alone in that darkness. Slowly, daylight crept in through the bandages, and I could see. But something else had changed inside of me. That day I had my first headache.
Updated on September 18, 2022Comments
-
0xC0DEGURU 8 months
I have added this repository ppa:gurqn/systray-trusty to my Ubuntu 14.04.
After this I performed an
apt-get update
andapt-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-desktop
package and that's probably how I uninstalledubuntu-desktop
.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
,apt-get upgrade
,apt-get update --fix-missing
,apt-get install ubuntu-desktop
,apt-get install unity
under 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-trusty
repository because it seems to provide some of the dependencies and to reinstallubuntu-desktop
andunity
packages 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-desktop
says: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 install
in my question. -
Sergiy Kolodyazhnyy over 7 yearsWhat's
apt-cache policy libunity-core-6.0-9
saying ?
-
-
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-desktop
and 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-services
pakage which alowed me to reinstallubuntu-desktop
andunity
succesfuly, 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.