How to install Cinnamon desktop on Ubuntu 18.04 Bionic Beaver Linux - LinuxConfig.org

This article will explain how to install Cinnamon desktop on Ubuntu 18.04 Bionic Beaver. Use this guide if you wish to change your default GNOME desktop to Cinnamon environment. See also our article: The 8 Best Ubuntu Desktop Environments (18.04 Bionic Beaver Linux) for more desktop environment choices.
This is a companion discussion topic for the original entry at https://linuxconfig.org/how-to-install-cinnamon-desktop-on-ubuntu-18-04-bionic-beaver-linux

Brad West

I upgraded 17.10 to 18.04 and it removed Cinnamon during the upgrade. I’m now trying to reinstall it and getting a similar error to Johan:

cinnamon : Depends: cjs (>= 3.2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

When I try to install cjs I get:

cjs is already the newest version (3.6.1-1~artful0).

Not sure what to do about this. Any help would be appreciated.

Eisen Heim -> Brad West

Try sudo apt autoremove.
Seems it worked for me

Hlaode -> Brad West

I’m getting the same problem, please reply if you find a solution.
-edit
This worked for me:

https://askubuntu.com/questions/1029743/unable-to-log-in-to-cinnamon-session-18-04

https://askubuntu.com/questions/1012087/cinnamon-session-crashing-login-from-greeter

Johan Larsson

Freshly installed 18.04, and there’s a conflict that prevents installation. “Unable to correct problems, you have held broken packages.” I think it’s libcjs0-libcjs0f that excludes each other, but are both needed, sort of…?

This worked fine on a fresh install system for me after reboot. Why did I have to reboot? I enabled ctrl+alt+backspace to ensure X was killed and it didn’t work so I didn’t expect the reboot to fix it either but it did. Just wondering why I actually needed to reboot?

Yes, you are right, there is no need to reboot. In fact there is never a need to reboot the Linux system unless you have installed a new kernel etc. However, depending on your situation rebooting seems to be the simplest solution.

We are changing Display Manager from gdm3 -> lightdm so unless you know how to access command line using TTY’s and how to launch the lightdm display manager from command line you better simply reboot your PC and your are done.

No my point is that I did need to reboot and I have no idea why because you’re right that we shouldn’t have to.

Hi Joseph,

My apologies, I misunderstood your comment. I thought that you successfully changed from GDM3/GNOME --> LIGHTDM/CINNAMON without rebooting your system and suggesting that the tutorial should be updated.

Here is how you switch from GDM3/GNOME to LIGHTDM/CINNAMON desktop without reboot.

  1. Given that you have already installed cinnamon desktop as instructed by this tutorial, open terminal and enter $ sudo systemctl stop gdm3. This will terminate GDM3 display manager
  2. Using your mouse simply log out from Gnome desktop.
  3. Since we have already stopped the GDM3 display manager you will be now presented with a black terminal screen on TTY1 dedicated for GUI. Switch to some other TTY e.g. CTRL+ALT+F3. Login with your user credentials and execute: $ sudo systemctl start lightdm. This will start lightdm display manager. Select Cinnamon desktop and login.

hope this helps…

Lubos

Just curious. (Because I just installed 18.04) why is there no where in the article telling someone how to ADD the Cinnamon REPO? I followed along with your instructions?..and it told me it couldn’t FIND the “cinnamon-desktop-environment” OR “lightdm” isn’t that something that would reside in a repository for Cinnamon? Like I said…“just curious”

Hi Eddie,

Both packages are located within universe repository which should be enabled by default. Not sure why this is not the case with your system. However, it does not hurt to include an extra line to the tutorial:

$ sudo add-apt-repository universe

to make sure that readers have the universe repository enabled.

The article will be updated to reflect your suggestion shortly.

thank you

I added this. The reply I got from my terminal is: “sudo: add-apt” command not found.
Sup dat?"

Ignore this last post. evidently I added it wrong. (Something I, personally, have NEVER done before).

After installing cinnamon-desktop on my Ubuntu (18.04 lts), my Cinnamon is always crashing.

After some time I also get the error:
cinnamon launcher filenotfound _execvpe().

What could this be?

tried the tutorial on ubuntu 18.04 bionic though i get this message

dpkg: unrecoverable fatal error, aborting:
reading files list for package ‘libnl-genl-3-200:amd64’: Input/output error
E: Sub-process /usr/bin/dpkg returned an error code (2)

i am knew on all this so really need help. a friend of mine thought it might be the disk?
how can i check my system?

p.s. for more than a month now i get similar error messages when trying to update so trully need a fresh linux start :slight_smile:

Hi Herlock_john,

Welcome to our forums.

Your problem may be caused by errors in your filesystem, which you can check with the fsck utility. Such problem may also happen because a weak or unreliable Internet connection, which may cause packages to get damaged while downloading. I would also check if I have free space on my disk (in every volume, if there is more than one).

hi and thank you for your response. with fsck i got this

lina@lina-Lenovo-G500:~$ fsck
fsck from util-linux 2.31.1
e2fsck 1.44.1 (24-Mar-2018)
/dev/sda1 is mounted.

WARNING!!! The filesystem is mounted. If you continue you WILL
cause SEVERE filesystem damage.

and as for the disk i get this

Filesystem Size Used Avail Use% Mounted on
/dev/sda1 105G 45G 55G 45% /

not sure how to proceed. i really wish to change the ubuntu 18.04 to a mint version, cause used them before and think they are more stable and easy to go throush.
so please give me some guidance on how to do it.

So you got enough space, that’s good. I suggest you boot from a live DVD/USB drive, and run fsck on your unmounted filesystems to see if there is any error. Most images have a “rescure mode” or “recovery mode” that give you the ability to check your disks while not booting from them.

Also, have you tried this install multiple times, getting the same error with the same package?