In this video I show step by step how to upgrade online and without reinstallation from Elementary OS 6.1 to Elementary OS 7. We're following the Debian upgrade path here, not the Elementary OS developers' recommendation of doing a clean install.
Therefore, the tip, make a complete backup of your data beforehand and know that everything is at your own risk. But it worked for me in several systems.
All Commands:
Prep:
Update OS 6.1 system and reboot system
sudo apt update && sudo apt upgrade -y && sudo apt dist-upgrade -y && sudo apt autoremove -y
sudo reboot
Upgrade:
sudo -i
cd /etc/apt/
vi sources.list
Change the entry focal to jammy
:%s/focal/jammy/g
cd /etc/apt/sources.list.d
sudo vi elementary.list
sudo vi patches.list
Checks:
cd /etc/apt/sources.list.d
grep focal *
grep jammy *
cd /etc/apt/
grep focal sources.list
grep jammy sources.list
Upgrade OS 6.1 to 7:
sudo apt update && sudo apt upgrade -y && sudo apt dist-upgrade -y && sudo apt autoremove -y
Post Processing:
Install Pantheon Tweak Tool (optional if necessary).
Include the PPA:
sudo add-apt-repository ppa:philip.scott/pantheon-tweaks
Pantheon Tweak Tool installation
sudo apt update && sudo apt install pantheon-tweaks -y
Remove Firefox Snap
sudo snap remove firefox
Remove Snap
sudo apt purge snapd ubuntu-core-launcher squashfs-tools
rm -rf ~/snap
sudo rm -rf /snap
sudo rm -rf /var/snap
sudo rm -rf /var/lib/snapd
sudo apt-mark hold snapd
Add Flathub
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flat...
Add Mozilla PPAs
sudo add-apt-repository ppa:ubuntu-mozilla-security/ppa
sudo add-apt-repository ppa:mozillateam/ppa
Install Deb Pakckge Firefox
echo '
Package: *
Pin: release o=LP-PPA-mozillateam
Pin-Priority: 1001
' | sudo tee /etc/apt/preferences.d/mozilla-firefox
echo 'Unattended-Upgrade::Allowed-Origins:: "LP-PPA-mozillateam:${distro_codename}";' | sudo tee /etc/apt/apt.conf.d/51unattended-upgrades-firefox
sudo apt install firefox -y
System Reboot
sudo reboot
And now it is time for you to enjoy your Elementary OS 7 Horus system. :)
________________________________________________________
► Literature Recommendations for further education
Ubuntu 22.04 LTS Desktop: Applications and Administration (English Edition):
https://amzn.to/457zTMu
Ubuntu 22.04 LTS Server: Administration and Reference (English Edition):
https://amzn.to/43RGfi3
Linux Mint 21: Desktops and Administration (English Edition):
https://amzn.to/45dJIZy
Arch Linux: Quick Guide for Beginners (Linux for Beginners Book 2) (English Edition):
https://amzn.to/43Sl8w6
Linux Bible:
https://amzn.to/3DFSaov
Efficient Linux at the Command Line: Boost Your Command-Line Skills:
https://amzn.to/3OeNZoy
AFFILIATE DISCLOSURES:
I get commissions for purchases made through this links.
________________________________________________________
► Become a Patreon and support the channel
https://patreon.com/user?u=91089357
► Follow FLJ on Twitter
/ linuxfossjourn
________________________________________________________
► Please support my project with a YT channel membership
/ @fosslinuxjournal
________________________________________________________
► My other YT channel in German language
/ @michlfranken
________________________________________________________
► General information
As an Amazon affiliate, I earn qualifying sales.
I own a legal license of Final Cut Pro X, which covers commercial use of royalty-free content in FCP.
The contributions of FLJ basically are basically a non-binding demo. Re-enactment at your own risk. Improper adjustments can result in negative consequences such as data loss or system failures. Any form of warranty excluded. If in doubt, please set up and test a virtual machine, but do not reproduce it on a productive system. Everything at your own risk and without any guarantee. I assume no liability for data loss, defects or other damage.