Page 2 of 2

Re: [SOLVED] URPMI and DNF broke after upgrade

PostPosted: Mar 11th, '21, 00:24
by davidwhodgins
danbuchanan wrote: But can i go from 6 to 8.


It can not be done using mgaapplet. In theory it may work using urpmi directly, but has not
been tested, and is highly likely to need a number of packages removed to avoid file conflicts.
If a file conflict is detected all packages that happen to be in the same rpm transaction fail
to install, not just the one that has the conflict. Depending on what packages do not get
upgraded, it may or may not lead to a non-usable system requiring using a chroot environment
to fix. Any broken installation can always be fixed if you know how. If you are not familiar
with using a chroot and systemd-nspawn environments I would not recommend trying it.
Both chroot and systemd-nspawn require a working boot (either another installation or a live
iso) to be available.

If using the urpmi commands directly, I'd add the new repositories then use
"urpmi --auto-select --test", to find and remove packages with conflicts before actually
upgrading. Note that requires enough disk space in /var to download all of the needed
packages.

My current main install started as a clean Mageia 3 install, upgraded each release since then,
one release at a time using mgaapplet.