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
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.
This worked for me:
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.
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.
- 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
- Using your mouse simply log out from Gnome desktop.
- 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…