[SOLVED] Updating Mageia 7 fails with errors

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

[SOLVED] Updating Mageia 7 fails with errors

Postby brm » Aug 26th, '19, 19:48

Hi. I get the below error when attempting to update this system. Any ideas on how to tackle this?
What do you think about updating using the --allowerasing parameter.
Thanks

Code: Select all
dnf update
Failed to set locale, defaulting to C
Failed to synchronize cache for repo 'ftp.blogdrake.net_mageia_mageia7_x86_64', disabling.
Last metadata expiration check: 1 day, 7:05:25 ago on Sun Aug 25 13:00:00 2019.
Error:
 Problem: package elfutils-0.176-1.mga6.x86_64 requires lib64elfutils1 = 0.176-1.mga6, but none of the providers can be installed
  - cannot install both lib64elfutils1-0.176-1.mga6.x86_64 and lib64elfutils1-0.176-1.mga7.x86_64
  - cannot install the best update candidate for package elfutils-0.169-1.mga6.x86_64
  - problem with installed package lib64elfutils1-0.176-1.mga7.x86_64
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages)
Last edited by brm on Aug 28th, '19, 13:31, edited 3 times in total.
brm
 
Posts: 60
Joined: Sep 2nd, '18, 09:45

Re: Updating Mageia 7 fails with errors

Postby vinylninja » Aug 28th, '19, 02:10

You can try it. That is the suggestion by dnf.
By now I have seen similar outputs more often with dnf. Something is not always working like it should.

Try to clear the package cache and metadata with:

Code: Select all
dnf clean all


and then try the update again.

Next time you could try urpmi to update the whole system. I see less of the output you have with it.
To update your whole system:

Code: Select all
urpmi --auto-update


I could be wrong but I think dnf has some issues to synchronize the cache.
User avatar
vinylninja
 
Posts: 29
Joined: Oct 3rd, '18, 23:46
Location: Magical Mountains

Re: Updating Mageia 7 fails with errors

Postby brm » Aug 28th, '19, 13:05

Thanks for your input. I decided to run with
dnf update --allowerasing

It did remove a conflicting package, as well as update a number of other files. The system rebooted successfully.

Cheers
brm
 
Posts: 60
Joined: Sep 2nd, '18, 09:45

Re: Updating Mageia 7 fails with errors

Postby isadora » Aug 28th, '19, 13:15

Would you please mark this topic [SOLVED]?
You can do so by editing the title/subject of the first message in the topic.
Place [SOLVED] in front of subject/title.

Thanks ahead. :)
..........bird from paradise..........

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
—Antoine de Saint-Exupéry
User avatar
isadora
 
Posts: 2744
Joined: Mar 25th, '11, 16:03
Location: Netherlands


Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest