Do not try to do this with Discover or dnfdragora.
It is recommended that users install ROME Plasma6 instead of doing this.
The main purpose of this exercise is to determine what Rock/5.0 users that choose to upgrade their system instead of doing the preferred fresh install of Rock/6.0 will need to do to upgrade their system. The more trouble free alternative is to do the fresh install of Rock/6.0. Additionally the goal is to have a “How To” for less technical users, a copy and paste, for a procedure that is a bit beyond the normal upgrade.
However for those that persist in using the outdated Plasma5 here is the test performed.
In VirtualBox install Rock/5.0 iso #2717 (that is the one as SourceForge)
-
Upgrade installed system with
sudo dnf clean all ; sudo dnf dsync
. Reboot the upgraded installed system. -
Open Software Repository Selector and change repos from
rock
torolling
-
in order to keep downloaded packages in cache in case you have problems with the transactions (so that you don’t have to download the same packages again) run this:
sudo sh -c "echo keepcache=True >> /etc/dnf/dnf.conf"
-
Upgrade system like this:
sudo dnf clean all
sudo dnf rm falkon-kde pyside2-core kdf
dnf dsync --allowerasing -x plasma6-kaccounts-integration -x lib64kaccounts6 2>&1 | tee rocktorolling-dsync.log.txt
That command will create the log file rocktorolling-dsync.log.txt
for you to attach to your forum post or bug report should you encounter errors or problems. At the end of the dnf
transaction being performed you will be presented with some rpm
dialogs:
For Configuration file '/etc/sane.d/dll.conf'
hit enter for the default option.
For Configuration file '/etc/shadow'
hit enter for the default option. This one is important, if you select the /etc/shadow.rpmnew
file you will remove all users and passwords from your system. Do not do that.
For Configuration file '/etc/yum.repos.d/openmandriva-rock-x86_64.repo'
enter Y to install the new file. Yes this is also important. (Because of a repo name change)
For Configuration file '/etc/yum.repos.d/openmandriva-rolling-x86_64.repo'
enter Y to install the new file. Yes this is also important. (Because of a repo name change)
- It is recommended to then run
dnf autoremove
to remove old, no longer used, packages originally installed as dependencies like this:
sudo dnf autoremove 2>&1 | tee rocktorolling-autoremove.log.txt
That command will create the log file rocktorolling-autoremove.log.txt
for you to attach to your forum post or bug report should you encounter errors or problems.
- Reboot and check your upgraded system. Report any issues in an English/Support forum thread with a descriptive title and ALL relevant information including the log files described above. Or if the issue is very technical file a bug report. Users with issues are likely to get a quicker answer at OM-Chat. If your problem is at all technical bug reports are better than forum posts. In the bug report all the information realtive to the issue at hand is in the same place. This is preferrred by developers.
The procedure developed here will be the procedure for Rock/5.0 users to upgrade their system to Rock/5.1.
Do not try to do this with Discover or dnfdragora.