Page 1 of 1

MGA5 Update Failure

PostPosted: Nov 23rd, '15, 22:04
by endat
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..

Re: MGA5 Update Failure

PostPosted: Nov 23rd, '15, 22:07
by doktor5000
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

Re: MGA5 Update Failure

PostPosted: Nov 24th, '15, 04:12
by benmc
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

Re: MGA5 Update Failure

PostPosted: Nov 24th, '15, 18:11
by doktor5000
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.