Ask Your Question
1

Error: Transaction check error:

asked 2016-11-15 10:50:08 -0500

graceful gravatar image

updated 2016-11-16 11:30:51 -0500

hhlp gravatar image

I'm on Fedora 24/Gnome.

After running sudo dnf update, I get the following error:

Running transaction check
Transaction check succeeded.
Running transaction test
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: Transaction check error:
  file /usr/share/licenses/libpng/LICENSE from install of libpng-2:1.6.26-1.fc24.i686 conflicts with file from package libpng-2:1.6.23-1.fc24.x86_64
  file /usr/share/man/man5/png.5.gz from install of libpng-2:1.6.26-1.fc24.i686 conflicts with file from package libpng-2:1.6.23-1.fc24.x86_64

Error Summary

If I try to remove the i686 packages, I'm asked to remove 131 packages that I need, that I can't possibly reinstall manually.

I don't think this is going to self correct.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2016-11-16 13:42:22 -0500

ssieb gravatar image

The problem is that you have (or are trying to install) different versions of the library for 32-bit and 64-bit. What is the output of rpm -q libpng?

Try running dnf upgrade --refresh.

edit flag offensive delete link more

Comments

[sophie@localhost ~] $ rpm -q libpng libpng-1.6.23-1.fc24.x86_64 libpng-1.6.23-1.fc24.i686 libpng-1.6.26-1.fc24.x86_64 [sophie@localhost ~] $


Also, I'm getting this:

/usr/share/man/man5/png.5.gz: read error (tried to read 1155 bytes from offset 0) cannot reconstruct rpm from disk files


I keep getting this every time I run:


sudo dnf update


And here we go again:


You can remove cached packages by executing 'dnf clean packages'. Error: Transaction check error: file /usr/share/licenses/libpng/LICENSE from install of libpng-2:1.6.26-1.fc24.i686 conflicts with file from package libpng-2:1.6.23-1.fc24.x86_64 file /usr/share/man/man5/png.5.gz from install of libpng-2:1.6.26-1.fc24.i686 conflicts with file from package libpng-2:1.6.23-1.fc24.x86_64

Error Summary

graceful gravatar imagegraceful ( 2016-11-16 14:55:18 -0500 )edit

Somehow you have ended up with two different versions of the 64-bit library installed. Try dnf remove libpng-1.6.26-1.fc24.x86_64 and see what happens.

ssieb gravatar imagessieb ( 2016-11-16 18:46:39 -0500 )edit

Wow, that allowed the update to continue, thanks.

BTW, I didn't install libpng-1.6.26-1.fc24.x86_64. This appears to have installed on its own. I do however have some RPM Fusion apps installed.

graceful gravatar imagegraceful ( 2016-11-16 22:18:31 -0500 )edit

It looks like you had a failed update at some point. You could try looking through dnf history to see if you can find out when it happened. But it's working now anyway.

ssieb gravatar imagessieb ( 2016-11-17 13:39:59 -0500 )edit
0

answered 2016-11-16 11:24:33 -0500

graceful gravatar image

updated 2016-11-16 14:51:18 -0500

Here are the contents of LICENSE:

This copy of the libpng notices is provided for your convenience. In case of any discrepancy between this copy and the notices in the file png.h that is included in the libpng distribution, the latter shall prevail.

COPYRIGHT NOTICE, DISCLAIMER, and LICENSE:

If you modify libpng you may insert additional notices immediately following this sentence.

This code is released under the libpng license.

libpng versions 1.0.7, July 1, 2000 through 1.6.26, October 20, 2016 are Copyright (c) 2000-2002, 2004, 2006-2016 Glenn Randers-Pehrson, are derived from libpng-1.0.6, and are distributed according to the same disclaimer and license as libpng-1.0.6 with the following individuals added to the list of Contributing Authors:

Simon-Pierre Cadieux Eric S. Raymond Mans Rullgard Cosmin Truta Gilles Vollant James Yu

and with the following additions to the disclaimer:

There is no warranty against interference with your enjoyment of the library or against infringement. There is no warranty that our efforts or the library will fulfill any of your particular purposes or needs. This library is provided with all faults, and the entire risk of satisfactory quality, performance, accuracy, and effort is with the user.

Some files in the "contrib" directory and some configure-generated files that are distributed with libpng have other copyright owners and are released under other open source licenses.

libpng versions 0.97, January 1998, through 1.0.6, March 20, 2000, are Copyright (c) 1998-2000 Glenn Randers-Pehrson, are derived from libpng-0.96, and are distributed according to the same disclaimer and license as libpng-0.96, with the following individuals added to the list of Contributing Authors:

Tom Lane Glenn Randers-Pehrson Willem van Schaik

libpng versions 0.89, June 1996, through 0.96, May 1997, are Copyright (c) 1996-1997 Andreas Dilger, are derived from libpng-0.88, and are distributed according to the same disclaimer and license as libpng-0.88, with the following individuals added to the list of Contributing Authors:

John Bowler Kevin Bracey Sam Bushell Magnus Holmgren Greg Roelofs Tom Tanner

Some files in the "scripts" directory have other copyright owners but are released under this license.

libpng versions 0.5, May 1995, through 0.88, January 1996, are Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.

For the purposes of this copyright and license, "Contributing Authors" is defined as the following set of individuals:

Andreas Dilger Dave Martindale Guy Eric Schalnat Paul Schmidt Tim Wegner

The PNG Reference Library is supplied "AS IS". The Contributing Authors and Group 42, Inc. disclaim all warranties, expressed or implied, including, without limitation, the warranties of merchantability and of fitness for any purpose. The Contributing Authors and Group 42, Inc. assume no liability for direct, indirect, incidental, special, exemplary, or consequential damages, which may result from the use of the PNG Reference Library, even if advised of the possibility of such damage.

Permission is hereby granted to use, copy, modify, and distribute this source code, or portions hereof, for any purpose, without ... (more)

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-11-15 10:50:08 -0500

Seen: 1,760 times

Last updated: Nov 16 '16