MGA5 Update Failure

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

MGA5 Update Failure

Postby endat » Nov 23rd, '15, 22:04

Notification says "WARNING: New updates are available for your system".. I click "install", I enter my password and then apply the updates.. I get a failure message:

2 installation transactions failed

There was a problem during the installation:

file /usr/include/libpng16/png.h from install of lib64png-devel-2:1.6.19-1.mga5.x86_64 conflicts with file from package libpng-devel-2:1.6.17-1.mga5.i586

file /usr/include/png.h from install of lib64png-devel-2:1.6.19-1.mga5.x86_64 conflicts with file from package libpng-devel-2:1.6.17-1.mga5.i586

file /usr/include/libpng16/pngconf.h from install of lib64png-devel-2:1.6.19-1.mga5.x86_64 conflicts with file from package libpng-devel-2:1.6.17-1.mga5.i586

file /usr/include/pngconf.h from install of lib64png-devel-2:1.6.19-1.mga5.x86_64 conflicts with file from package libpng-devel-2:1.6.17-1.mga5.i586

file /usr/include/libpng16/pnglibconf.h from install of lib64png-devel-2:1.6.19-1.mga5.x86_64 conflicts with file from package libpng-devel-2:1.6.17-1.mga5.i586

file /usr/include/pnglibconf.h from install of lib64png-devel-2:1.6.19-1.mga5.x86_64 conflicts with file from package libpng-devel-2:1.6.17-1.mga5.i586

file /usr/include/libpng16/png.h from install of libpng-devel-2:1.6.19-1.mga5.i586 conflicts with file from package lib64png-devel-2:1.6.17-1.mga5.x86_64

file /usr/include/png.h from install of libpng-devel-2:1.6.19-1.mga5.i586 conflicts with file from package lib64png-devel-2:1.6.17-1.mga5.x86_64

file /usr/include/libpng16/pngconf.h from install of libpng-devel-2:1.6.19-1.mga5.i586 conflicts with file from package lib64png-devel-2:1.6.17-1.mga5.x86_64

file /usr/include/pngconf.h from install of libpng-devel-2:1.6.19-1.mga5.i586 conflicts with file from package lib64png-devel-2:1.6.17-1.mga5.x86_64

file /usr/include/libpng16/pnglibconf.h from install of libpng-devel-2:1.6.19-1.mga5.i586 conflicts with file from package lib64png-devel-2:1.6.17-1.mga5.x86_64

file /usr/include/pnglibconf.h from install of libpng-devel-2:1.6.19-1.mga5.i586 conflicts with file from package lib64png-devel-2:1.6.17-1.mga5.x86_64



Why is it trying to install a mixture of i586 and x64 packages? I think the update's got its wires crossed..
Machine: Alienware M14x R1
My Donations: http://treasurer.mageia.org/donations_p_140.html
endat
 
Posts: 49
Joined: Jun 24th, '13, 20:16

Re: MGA5 Update Failure

Postby doktor5000 » Nov 23rd, '15, 22:07

Please show the output of
Code: Select all
urpmq --list-media active --list-url
arch
rpm -qa --qf "%{ARCH} %{NAME}-%{VERSION}\n"| sort | grep png
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18058
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: MGA5 Update Failure

Postby benmc » Nov 24th, '15, 04:12

endat wrote:Why is it trying to install a mixture of i586 and x64 packages?

You likely have an x86 [64-bit] system, and some applications that you have may require the i586 packages, hence they are updated as required.
Your mirror likely attempted to do it own update, went down for service, or was over subscribed, meaning you were unable to complete your own update of a particular package.
End result is what you have posted.

After checking Doktor5000 tip, if your mirror is listed as for Mageia 5 only and everything looks ok,
You may want to have a look at this: as root
Code: Select all
urpmi --auto-update

It will check your mirror and media.
Then give a list of packages for update.
Only accept the update if your mirror / media check is ok
benmc
 
Posts: 1214
Joined: Sep 2nd, '11, 12:45
Location: Pirongia, New Zealand

Re: MGA5 Update Failure

Postby doktor5000 » Nov 24th, '15, 18:11

No, the question is why he's offered updates for both i586 and x86_64 png-devel packages, as that would indicate that either he managed to force-install both those packages,
or urpmi got confused in some weird way. Such packages cannot be installed both at the same time, as they have file conflicts.

Nothing to do with the mirror, and urpmi --auto-update would error out in the same way. --debug would be helpful to know why this transaction ended up like this.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18058
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest