Create a gist now

Instantly share code, notes, and snippets.

Embed
What would you like to do?
How to upgrade kubuntu 16.04 -> KDE neon

This worked for me and might not work for your.

Try it at your own risk!

Add the neon repositories and install the neon desktop

$ wget -qO - 'http://archive.neon.kde.org/public.key' | sudo apt-key add -
$ sudo apt-add-repository http://archive.neon.kde.org/user
$ sudo apt-get update
$ sudo apt-get install neon-desktop

Upgrade everything. Repeat if necessary, until everything is really up to date and you have no held-back packages.

$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo apt-get dist-upgrade
@weits

This comment has been minimized.

Show comment
Hide comment
@weits

weits Sep 8, 2016

Works for me, thank you very much!

weits commented Sep 8, 2016

Works for me, thank you very much!

@LightTemplar

This comment has been minimized.

Show comment
Hide comment
@LightTemplar

LightTemplar Oct 15, 2016

sudo apt-get install neon-desktop

Is it necessary? What does it bring extra?

LightTemplar commented Oct 15, 2016

sudo apt-get install neon-desktop

Is it necessary? What does it bring extra?

@shubhiD

This comment has been minimized.

Show comment
Hide comment
@shubhiD

shubhiD Dec 8, 2016

Thanks buddy, though this line was very important "Upgrade everything. Repeat if necessary, until everything is really up to date and you have no held-back packages", had a tough time upgrading it, thanks by the way!

shubhiD commented Dec 8, 2016

Thanks buddy, though this line was very important "Upgrade everything. Repeat if necessary, until everything is really up to date and you have no held-back packages", had a tough time upgrading it, thanks by the way!

@darthrevan13

This comment has been minimized.

Show comment
Hide comment
@darthrevan13

darthrevan13 Feb 14, 2017

If anyone stumbles upon this: DO NOT TRY! There is a very high probability it will screw your plasma or sddm just like it did to me.

If it's too late and you already did screw it you could try:

sudo apt-get install --reinstall neon-desktop plasma-desktop plasma-desktop-data sddm xorg xserver-xorg-core xserver-xorg-video-akk && sudo dpkg-reconfigure sddm
Thanks to: http://askubuntu.com/questions/761358/kubuntu-doesnt-work-after-upgrade-to-16-04/761379#761379 for the idea. But still I had to go through more hoops to solve all my problems.

PS: If you want the neon LTS version (which has plasma 5.8.* not 5.9.* as of the time of writing this) then:
sudo apt-add-repository http://archive.neon.kde.org/user/lts
instead of
sudo apt-add-repository http://archive.neon.kde.org/user

If anyone stumbles upon this: DO NOT TRY! There is a very high probability it will screw your plasma or sddm just like it did to me.

If it's too late and you already did screw it you could try:

sudo apt-get install --reinstall neon-desktop plasma-desktop plasma-desktop-data sddm xorg xserver-xorg-core xserver-xorg-video-akk && sudo dpkg-reconfigure sddm
Thanks to: http://askubuntu.com/questions/761358/kubuntu-doesnt-work-after-upgrade-to-16-04/761379#761379 for the idea. But still I had to go through more hoops to solve all my problems.

PS: If you want the neon LTS version (which has plasma 5.8.* not 5.9.* as of the time of writing this) then:
sudo apt-add-repository http://archive.neon.kde.org/user/lts
instead of
sudo apt-add-repository http://archive.neon.kde.org/user

@scottlinux

This comment has been minimized.

Show comment
Hide comment
@scottlinux

scottlinux Mar 12, 2017

This worked great for me. Thank you,

This worked great for me. Thank you,

@mquilzini-daitan

This comment has been minimized.

Show comment
Hide comment
@mquilzini-daitan

mquilzini-daitan Apr 4, 2017

Also tried this from ubuntu gnome 16.04, worked perfectly.

Also tried this from ubuntu gnome 16.04, worked perfectly.

@poikilos

This comment has been minimized.

Show comment
Hide comment
@poikilos

poikilos Mar 14, 2018

How I fixed (Ubuntu 16.04 Xenial) non-upgradeable state after doing the above (sudo apt-get update --fix-missing dpkg –configure -a apt-get install -f didn't seem to help but may):

(after EACH step below, do sudo apt update && sudo apt upgrade and sudo apt dist-upgrade again)

  • When packages were held back I had to to apt install packagename
    (actually for MANY packages, so pasted them [list of packages held back may be found via apt upgrade or apt dist-upgrade] to a list file then installed mass packages from a file)
  • When packages were in conflict, I removed them with apt remove packagename (as shown in upgrade or dist-upgrade conflict error such as: "packagename breaks something but packagename-y is set to be installed").
  • After everything, sudo apt install neon-desktop again since some of the removed conflicting files were dependencies
  • Plasma (Wayland) didn't work (froze display), so did Ctrl+Alt+Del then after reboot I chose regular Plasma from the session menu before clicking login (Wayland may only fail with certain video card and driver combinations--I have "Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)").

Now my desktop works better than ever (faster and more stable) even though the system was changed from Ubuntu to Kubuntu (where I did a similar) to Neon!

poikilos commented Mar 14, 2018

How I fixed (Ubuntu 16.04 Xenial) non-upgradeable state after doing the above (sudo apt-get update --fix-missing dpkg –configure -a apt-get install -f didn't seem to help but may):

(after EACH step below, do sudo apt update && sudo apt upgrade and sudo apt dist-upgrade again)

  • When packages were held back I had to to apt install packagename
    (actually for MANY packages, so pasted them [list of packages held back may be found via apt upgrade or apt dist-upgrade] to a list file then installed mass packages from a file)
  • When packages were in conflict, I removed them with apt remove packagename (as shown in upgrade or dist-upgrade conflict error such as: "packagename breaks something but packagename-y is set to be installed").
  • After everything, sudo apt install neon-desktop again since some of the removed conflicting files were dependencies
  • Plasma (Wayland) didn't work (froze display), so did Ctrl+Alt+Del then after reboot I chose regular Plasma from the session menu before clicking login (Wayland may only fail with certain video card and driver combinations--I have "Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)").

Now my desktop works better than ever (faster and more stable) even though the system was changed from Ubuntu to Kubuntu (where I did a similar) to Neon!

@jmaspons

This comment has been minimized.

Show comment
Hide comment
@jmaspons

jmaspons May 2, 2018

some apt -f install and apt autoremove between upgrades also helps to solve problems

jmaspons commented May 2, 2018

some apt -f install and apt autoremove between upgrades also helps to solve problems

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment