๐ Upgrading to Elementary OS 6
๐ก Newskategorie: Linux Tipps
๐ Quelle: reddit.com
I originally posted here, but it's not visible for some mysterious reason.
Don't do this unless you can afford break your installation. I had a minimal amount of packages and user no data, but that might not be the case for you.
I recommend logging out of the graphical session and using a tty
instead (Ctrl
+Alt
+3
). The GUI is going to be broken in all sorts of fashions before all problems are resolved. And you'll probably be ejected from your session mid-update, so don't even bother.
- Change
/etc/apt/sources.list
and/etc/apt/sources.list.d
entries frombionic
tofocal
.
Open each URL you're about to change in a browser to verify that the dist
folder has a focal
folder. If it doesn't, then don't change it to focal
, let it bionic
.
- Update as usual
bash sudo apt update sudo apt full-upgrade -y --auto-remove
It'll take a long-ass time, so grab some coffee. Don't forget to glance at the screen once in a while to respond to annoying prompts about using a maintainer's updated config or your own.
- There will be problems.
Investigate them using sudo apt install -f
.
You can resolve some of them using sudo dpkg -i --force-overwrite /var/cache/apt/archives/
.
- Install the new stylesheet
Idk why it's not just another package. It's at https://github.com/elementary/stylesheet. Build it from source; have fun.
bash sudo apt install io.elementary.stylesheet
You might find that your wallpaper is still gone. This is because Elementary OS' greatest wallpaper, Pablo Garcia Saldana, is completely gone for some reason. If you want to complain, do it here.
In the meantime, you can add it back manually.
bash sudo apt install -y wget cd /usr/share/backgrounds sudo wget https://raw.githubusercontent.com/elementary/wallpapers/5.5.0/backgrounds/Pablo%20Garcia%20Saldana.jpg
- Add the new flatpak repo
bash flatpak remote-add --system elementary https://flatpak.elementary.io/repo.flatpakrepo flatpak remote-add --user elementary https://flatpak.elementary.io/repo.flatpakrepo
- Migrate some apps to flatpak
bash flatpak search io.elementary
Name | Description | Application ID | Version | Branch | Remotes |
---|---|---|---|---|---|
Tasks | Synced tasks and reminders | io.elementary.tasks | 6.0.2 | stable | elementary |
Screenshot | Save images of the screen | io.elementary.screenshot | 6.0.0 | stable | elementary |
Send and receive mail | io.elementary.mail | 6.1.1 | master | elementary | |
Camera | Take photos and videos with the camera | io.elementary.camera | 6.0.0 | stable | elementary |
Calendar | View and schedule events | io.elementary.calendar | 6.0.0 | stable | elementary |
Calculator | Solve simple equations | io.elementary.calculator | 1.7.0 | stable | elementary |
Some apps have strange names like screenshot-tool
. Migrate them one at the time using something like sudo apt purge -y --auto-remove screenshot-tool && flatpak install --system io.elementary.screenshot
.
Some don't even have a package in the system. Just install the flatpak version and you'll be all good.
You can find most of their apps on GitHub through Google in case you need to build one from source (like the AppCenter).
Here you go. Pretty easy. Works on my machine, you mileage may vary. Don't blame me if you break stuff :P
There's some apps you won't get by doing it this way, like the new AppCenter and the apps that were migrated to flatpak. You'll have to dig around manually and possibly install some stuff from source. (See the stylesheet and the AppCenter.)
[link] [comments] ...