Page 1 of 1

Problem when upgrading (Solved)

PostPosted: Jun 13th, '21, 16:26
by GersonLearchman
Yesterday I did a clean install of Mageia 8, installed the programs I always use from the CCM, work them without problem and shut down the machine.
Today when I log in I get the message that there are pending updates. I click install and I get the following notification:

Code: Select all
2 installation transactions failed.
There was a problem during the installation:

el archivo /usr/lib64/LLVMgold.so de la instalaciĆ³n de llvm-plugins-11.0.1-4.2.1.mga8.x86_64 entra en conflicto con el archivo del paquete lib64llvm11.0-11.0.1-4.2.mga8.x86_64

llvm-plugins >= 11.0.1-4.2.1.mga8 es necesario por lib64llvm11.0-11.0.1-4.2.1.mga8.x86_64


I tried as root with:
# urpmi --clean
And then with:
# urpmi --auto-update
It performs all the installation, I reboot and I get the updates again and when asked to install, I get again the error that I comment above.
How to solve it?

Re: Problem when upgrading

PostPosted: Jun 13th, '21, 21:48
by benmc
please post the output of
Code: Select all
urpmi --auto-update


thanks

Re: Problem when upgrading

PostPosted: Jun 13th, '21, 22:03
by GersonLearchman
After using the command
# urpmi --auto-update
as many times as it asked me to and several restarts, it has not presented that notification again.
I will wait some more time to consider the issue solved. Thank you.

Re: Problem when upgrading

PostPosted: Jun 14th, '21, 02:43
by GersonLearchman
To make sure everything is running smoothly use:
# dnf update
And no more problems, everything is solved, thanks for the help.

Re: Problem when upgrading (Solved)

PostPosted: Jun 14th, '21, 12:45
by morgano
Do you use both DNF and URPMI?
It is not recommended.
https://wiki.mageia.org/en/Using_DNF

Re: Problem when upgrading (Solved)

PostPosted: Jun 14th, '21, 19:13
by GersonLearchman
Now I'm confused, how do I know what to use then? I just did a clean install reading several things written in this forum and in some it talks about rpmi and in others about dnf. How do I know which one I have; which one should I keep and how do I remove the other one?

Re: Problem when upgrading (Solved)

PostPosted: Jun 14th, '21, 19:33
by sturmvogel
At a fresh installation urpmi is standard. You have to install dnf from the controlcenter if you want to use it. And there is no recommendation which tool you have to use. It's your personal choice. I for myself tried dnf and i have to say, i don't like it. I'm used to the urpmi-way for several years...

The only thing what is relevant was already written by morgano: only use one tool or you could create unwanted sideffects.

Re: Problem when upgrading (Solved)

PostPosted: Jun 14th, '21, 23:04
by doktor5000
morgano wrote:It is not recommended.

No recommended by whom? You can use both urpmi and dnf on the same system without issues, if you don't use them at the same time, even then the urpmi lock would catch that case ...

So why scare users unnecessarily ?

Re: Problem when upgrading (Solved)

PostPosted: Jun 15th, '21, 00:04
by morgano
Well yes both can be used but then tracking orphans will not work as they handle that separately each.
For people like me who likes to clean orphans, especially before and after a system upgrade, that is a problem.

Re: Problem when upgrading (Solved)

PostPosted: Jun 15th, '21, 17:37
by doktor5000
AFAIK dnf doesn't handle orphans at all. But that's not something that should lead to recommending others not to use it ...
For regular users orphans are pretty much irrelevant, and they should not need to care about that, simply put.

Re: Problem when upgrading (Solved)

PostPosted: Jun 16th, '21, 23:39
by morgano
I have not tried it myself, but searching internet give i.e
https://www.cyberithub.com/dnf-command- ... NF_Command

Re: Problem when upgrading (Solved)

PostPosted: Jun 17th, '21, 16:06
by doktor5000
Well, as I mentioned - dnf doesn't handle orphans as we usually refer to them.
dnf can simply list/remove all packages which are not required by any other packages. But that is totally separate from urpmi and does not interfere, so no reason to not use both.