I tried installing gnome-shell on ubuntu 18.04 LTS. But I got the following error.
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: evolution-data-server (>= 3.17.2) but it is not going to be installed
Depends: gir1.2-mutter-2 (>= 3.27.91) but it is not going to be installed
Recommends: ubuntu-session but it is not going to be installed or
gnome-session but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
evolution-data-server
. – Krishna Kanth Yenumula Jul 16 '20 at 05:59sudo apt-get -f install
– kashish Jul 16 '20 at 06:08apt-get clean
,apt-get install -f
,apt-get update
,apt-get upgrade
apt-get dist-upgrade
. Nothing worked. – Krishna Kanth Yenumula Jul 16 '20 at 06:13evolution-data-server
) so you could also check your sources are correct, and read & correct any messages in asudo apt -f install
and correct first. (I'd likelysudo apt update
& look for missing messages, or details there too... and have you run thesudo apt update
recently... check your mirror is up-to-date maybe; ie. read & act on messages) – guiverc Jul 16 '20 at 06:23sudo apt update
, are the messages appropriate, the requires ones there (your first post implies to me a source is missing and it would show with thesudo apt update
output, with the required line not being present in output), ie. it reads like a sources issue to me, andsudo apt update
provides the best data to peruse looking for issues (not just errors; are the appropriate detail lines output as expected? or missing?) – guiverc Jul 16 '20 at 06:34sudo apt update
, I did not find any problem. – Krishna Kanth Yenumula Jul 16 '20 at 06:39evolution-data-server
depends onlibcamel-1.2-61
. I removed this and re-installed it. After that I installedevolution-data-server
. Similarily,gir1.2-mutter-2
depends on some other package. I removed it, re-installed it. Finally, I am able to install gnome-shell. – Krishna Kanth Yenumula Jul 16 '20 at 11:56