Neon/LTS/EOL: Difference between revisions

From KDE Wiki Sandbox
No edit summary
(Marked this version for translation)
Line 16: Line 16:
'''Make a backup of all important data.'''
'''Make a backup of all important data.'''


<!--T:5-->
Have a new installation medium ready in case the switch goes wrong and you need to reinstall a fresh system. https://neon.kde.org/download
Have a new installation medium ready in case the switch goes wrong and you need to reinstall a fresh system. https://neon.kde.org/download


<!--T:6-->
Create a file called <code>40-neon-user-lts-migration</code> in your home directory and put the following content inside
Create a file called <code>40-neon-user-lts-migration</code> in your home directory and put the following content inside


<!--T:7-->
{{Input|1=<nowiki>
{{Input|1=<nowiki>
Package: *
Package: *
Line 26: Line 29:
</nowiki>}}
</nowiki>}}


<!--T:8-->
Switch the repository
Switch the repository


<!--T:9-->
{{Input|1=<nowiki>
{{Input|1=<nowiki>
sudo sed -i --regexp-extended 's%(neon\.kde\.org.+)(/lts)%\1%g' /etc/apt/sources.list /etc/apt/sources.list.d/*
sudo sed -i --regexp-extended 's%(neon\.kde\.org.+)(/lts)%\1%g' /etc/apt/sources.list /etc/apt/sources.list.d/*
</nowiki>}}
</nowiki>}}


<!--T:10-->
Next run the following commands:
Next run the following commands:


<!--T:11-->
{{Input|1=<nowiki>
{{Input|1=<nowiki>
sudo mv $HOME/40-neon-user-lts-migration /etc/apt/preferences.d
sudo mv $HOME/40-neon-user-lts-migration /etc/apt/preferences.d
Line 41: Line 48:
</nowiki>}}
</nowiki>}}


<!--T:12-->
Next you need to restart your system and on startup it will migrate to user edition, followed by an automatic restart. As part of the migration the file you created will be automatically deleted. To ensure all software is at the expected versions it's advised to repeat the pkcon commands to apply remaining updates (if any):
Next you need to restart your system and on startup it will migrate to user edition, followed by an automatic restart. As part of the migration the file you created will be automatically deleted. To ensure all software is at the expected versions it's advised to repeat the pkcon commands to apply remaining updates (if any):


<!--T:13-->
{{Input|1=<nowiki>
{{Input|1=<nowiki>
pkcon refresh
pkcon refresh
Line 49: Line 58:
</nowiki>}}
</nowiki>}}


<!--T:14-->
Don't forget to restart.
Don't forget to restart.


</translate>
</translate>

Revision as of 14:59, 22 February 2021

Under Construction
This is a new page, currently under construction!


Other languages:


TBD Intro

Switching to KDE neon User Edition

Usually we do not actively support switching from one edition of KDE neon to another. The following migration path has been tested and should work as intended. Please note that any third party repositories such as PPAs, and non-KDE software installed via .deb files in general may inhibit the migration from working correctly. To be on the safe side we advise that you remove/downgrade the software and/or repositories.

Make a backup of all important data.

Have a new installation medium ready in case the switch goes wrong and you need to reinstall a fresh system. https://neon.kde.org/download

Create a file called 40-neon-user-lts-migration in your home directory and put the following content inside

Package: *
Pin: release l=KDE neon - User Edition
Pin-Priority: 1100

Switch the repository

sudo sed -i --regexp-extended 's%(neon\.kde\.org.+)(/lts)%\1%g' /etc/apt/sources.list /etc/apt/sources.list.d/*

Next run the following commands:

sudo mv $HOME/40-neon-user-lts-migration /etc/apt/preferences.d
pkcon refresh
pkcon update --only-download
pkcon offline-trigger

Next you need to restart your system and on startup it will migrate to user edition, followed by an automatic restart. As part of the migration the file you created will be automatically deleted. To ensure all software is at the expected versions it's advised to repeat the pkcon commands to apply remaining updates (if any):

pkcon refresh
pkcon update --only-download
pkcon offline-trigger

Don't forget to restart.