Important: Do not use Discover or dnfdragora to do this. Will not work, will lead to problems.
Hello,
-
OpenMandriva Lx version:
ROME -
Desktop environment (KDE, LXQT…):
KDE Plasma5 -
Description of the issue (screenshots if relevant):
On March 20 we did the latest upgrade of ROME/rolling software. There have been more issues than usual with this in our testing. Why? Because we currently have 2 KDE/Plasma desktops, Plasma5 and Plasma6, trying to co-exist. -
Relevant informations (hardware involved, software version, logs or output…):
Simple explanation: Basically the commands posted work for the user or they will find they have to remove either plasma6-kaccounts-integretion
or plasma6-kio-extras
(or both) and try to re-install any applications removed that they really need. For most users this would be zero to a handful of applications only. But this depends on what extra KDE software a user has installed. It is possible some user will have different results.
The steps used to upgrade in multiple tests in VirtualBox and on hardware ROME systems as of March 25:
sudo dnf clean all
This is done to clean cache of any previously downloaded packages and to ensure that dnf reads latest metadata in order to get the latest packages. Very important.
sudo dnf rm falkon-kde
Remove falkon-kde because this is needed for the transaction to work and because it is basically a useless package. User can re-install this later after the entire system upgrade is complete if they wish.
The main transaction:
sudo dnf dsync --allowerasing 2>&1| tee dsync-log.txt
This part sudo dnf dsync --allowerasing
is the actual system upgrade transaction.This part 2>&1| tee dsync-log.txt
of the command creates a log dsync-log.txt
user will need if you wish to ask for help with any issue. You probably will see in the transaction list:
Removing dependent packages:
pyside2-core znver1 5.15.11-1 @rolling-znver1 5.4 M
This is OK pyside2-core is not used for anything anymore. And also:
Downgrading:
icu-data znver1 74.2-1 rolling-znver1 8.4 M
lib64icudata znver1 74.2-1 rolling-znver1 12 k
lib64icui18n znver1 74.2-1 rolling-znver1 1.2 M
lib64icuuc znver1 74.2-1 rolling-znver1 956 k
The current version of icu-data is 73.2-2 so why dnf thinks 74.2-1 is a downgrade is a mystery.
Downgrading:
lib64KF5Cddb znver1 24.02.0-2 rolling-znver1 84 k
lib64kf5compactdisc5 znver1 24.02.0-2 rolling-znver1 50 k
libkcompactdisc znver1 24.02.0-2 rolling-znver1 31 k
libkdcraw znver1 24.02.0-2 rolling-znver1 8.3 k
libkexiv2 znver1 24.02.0-2 rolling-znver1 7.0 k
popt-data noarch 1.19-4 rolling-znver1 30 k
python-rpm znver1 4.19.1.1-1 rolling-znver1 53 k
rpm znver1 4.19.1.1-1 rolling-znver1 452 k
replacing rpm-plugin-ima.znver1 4:4.18.2-1
rpm-build znver1 4.19.1.1-1 rolling-znver1 125 k
rpm-plugin-syslog znver1 4.19.1.1-1 rolling-znver1 11 k
rpm-plugin-systemd-inhibit znver1 4.19.1.1-1 rolling-znver1 12 k
None of these packages are downgrades either.
Impostant: If your sudo dnf dsync --allowerasing
transaction is successful you might see a dialog about new versus existing files for /etc/sane.d/dll.conf
. Select ‘Y’ for the new file. Also a dialog about /etc/shadow
select N to keep existing file. /etc/shadow
contains user accounts and passwords. If you select the new /etc/shadow
you will receive an empty file, you will not be able to login to your system, and you will not have a root password. This would not result in happiness. There are 4 files in /etc
that you always want to keep the existing file:
/etc/shadow
/etc/passwd
/etc/group
/etc/gshadow
If you receive a error at the end of the sudo dnf dsync --allowerasing
this most likely will be some kde-<whatever>
package conflicting with a plasma6-kde-<whatever>
package. At this point user can:
-
Stop and wait until OM devs figure out the problems and push new packages to fix these errors.
-
Post your problem with a descriptive title and all information, all means all not what you think might be important, including the
dsync-log.txt
log, in the English/Support forum. We will try to help, some problems may be able to be corrected right away and some will take some time. -
Fix it yourself. Remove the
plasma6-kde-<whatever>
package or packages. The packages removed will be in yourdsync-log.txt
. You would only need to re-install any application packages removed as dependencies will be automatically included. It is possible that not everything removed will be able to be re-installed right away. The packages most likely needing to be removed are eitherplasma6-kaccounts-integretion
orplasma6-kio-extras
(or both). But it is impossible to predict because we do not know what packages you have installed. -
- User can partially upgrade most of their system with:
sudo dnf clean all
sudo dnf rm falkon-kde
sudo dnf up 2>&1| tee dnf-up-log.txt
The last part creates a log dnf-up-log.txt
that is necessary if there are problems and also it will show the “skipped” packages listed which may be useful later.
Note: When you post problems in OpenMandriva forum post all the information. You do not know what a developer might find relevant regarding your issue. If you post about problems with this upgrade/distro-sync include either the dsync-log.txt
or the dnf-up-log.txt
depending on which command you used.