-1

I am trying to install gnome-shell but it shows me an error:

$ sudo apt-get install gnome-shell

...

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_shell : Depends: gnome-settings-daemon (>= 3.4.0) but it is not going to be installed
               Recommends: gnome-control-center but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

OP's original screenshot


sudo apt-get update && sudo apt-get upgrade

enter image description here

sudo apt-get -f install

enter image description here

sudo apt-get install gnome-shell

enter image description here

From comments:

$ sudo apt-get install -f gnome-shell gnome-control-center gnome-settings-daemon
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 gnome-settings-daemon : Depends: gnome-settings-daemon-schemas (= 3.12.2-0ubuntu1~trusty3) but 3.8.6.1-0ubuntu11.2 is to be installed
E: Unable to correct problems, you have held broken packages.
David Foerster
  • 36,890
  • 56
  • 97
  • 151

2 Answers2

0

Installation

Please do the following. Open up a terminal and start with:

sudo apt-get clean

followed by

sudo apt get update && sudo apt-get upgrade

If you got errors continue with

sudo apt-get -f install

Finally finish with

sudo apt-get install gnome-shell

Login to Gnome

I am assuming you are using lightdm

If that worked out, logout and choose 'Gnome' for the next login-session in the login-manager and login again.

enter image description here

dufte
  • 14,198
  • 5
  • 41
  • 43
-1

Open up a terminal and run

sudo apt-get install gnome-shell gnome-control-center gnome-settings-daemon
dufte
  • 14,198
  • 5
  • 41
  • 43
Eofla
  • 189