Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Now when i try to install it...it shows the following error

sudo apt-get install gnome-shell
Reading package lists... Done
Building dependency tree       
Reading state information... Done
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: libgcr-3-1 (>= 3.4.0) but 3.2.2-2ubuntu4 is to be installed
               Depends: gir1.2-gcr-3 but it is not installable
               Recommends: gnome-contacts but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

How can I install GNOME-Shell?

share|improve this question

2 Answers 2

sudo apt-get update
sudo apt-get install python-software-properties
sudo apt-add-repository ppa:gnome3-team/gnome3
sudo apt-get update
sudo apt-get install gnome-shell

I had the same problem before. This problem occurred after I allowed the "partial upgrade" in the update manager, which caused the gnome-shell being removed. I try the above commands, and then the gnome-shell is able to be installed.

share|improve this answer

Just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the commands below.

sudo apt-get autoremove

sudo apt-get clean

sudo apt-get update

Once you do that, then you can run: sudo apt-get install gnome-shell

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.