Bug 1436110 - lz4 (-libs) prevents upgrading from Fedora 25 to Fedora 26 in some cases
Summary: lz4 (-libs) prevents upgrading from Fedora 25 to Fedora 26 in some cases
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: libsolv
Version: 26
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: rpm-software-management
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1437442 1468821 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-03-27 07:56 UTC by Elad Alfassa
Modified: 2017-07-21 09:32 UTC (History)
18 users (show)

Fixed In Version: libsolv-0.6.26-3.fc25 libsolv-0.6.26-3.fc26 libsolv-0.6.26-3.fc24
Clone Of:
Environment:
Last Closed: 2017-03-29 01:31:58 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Elad Alfassa 2017-03-27 07:56:00 UTC
If you have lz4.i686 installed on an x86_64 system, and try to upgrade from Fedora 25 to Fedora 26,  you get a weird, nondescriptive error:

"Error: problem with installed package lz4-1.7.5-1.fc25.i686"

after getting this error, I tried to manually install F26's version of lz4-libs.i686, and got this error:

Error: Transaction check error:
  file /usr/lib/liblz4.so.1.7.5 from install of lz4-libs-1.7.5-3.fc26.i686 conflicts with file from package lz4-1.7.5-1.fc25.i686


This definitely has something to do with multilib, since lz4.i686 does not exist on x86_64 on F26, only lz4-libs.i686 does, and it doesn't have an "Obsoletes" for lz4-1.7.5-1.fc25.i686... So dnf doesn't have an upgrade path. I'm not how this can be solved, though - if you obsolete the older lz4.i686 in lz4-libs.i686, this would break existing i686 installs.

Perhaps a -compat package has to be introduced, that would obsolete lz4-1.7.5-1.fc25.i686, and have a Requires for both lz4-libs and a file-based require for /usr/bin/lz4 ?

Comment 1 Fedora Update System 2017-03-27 19:21:50 UTC
libsolv-0.6.26-3.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-61fe9031f7

Comment 2 Fedora Update System 2017-03-28 01:49:39 UTC
libsolv-0.6.26-3.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-252eaa84dd

Comment 3 Fedora Update System 2017-03-28 08:51:35 UTC
libsolv-0.6.26-3.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-16351e28f1

Comment 4 Fedora Update System 2017-03-29 01:31:58 UTC
libsolv-0.6.26-3.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.

Comment 5 Fedora Update System 2017-04-01 17:32:15 UTC
libsolv-0.6.26-3.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.

Comment 6 Nicolas Chauvet (kwizart) 2017-04-03 09:47:22 UTC
*** Bug 1437442 has been marked as a duplicate of this bug. ***

Comment 7 Fedora Update System 2017-04-04 20:50:21 UTC
libsolv-0.6.26-3.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.

Comment 8 Jacobo Cabaleiro 2017-06-11 11:04:31 UTC
I'm experiencing the same symptoms with a F25 when trying to upgrade to a 26 release:

[obmun@madrid ~]$ sudo dnf system-upgrade download -q --refresh --releasever=26
Error: problem with installed package lz4-1.7.5-1.fc25.i686

[obmun@madrid ~]$ dnf info lz4
Last metadata expiration check: 2:32:18 ago on Sun Jun 11 10:25:19 2017.
Installed Packages
Name        : lz4
Arch        : i686
Epoch       : 0
Version     : 1.7.5
Release     : 1.fc25

Installed libsolv is more recent that the one listed above:
[obmun@madrid ~]$ rpm -q libsolv
libsolv-0.6.27-2.fc25.x86_64

[obmun@madrid ~]$ sudo dnf repoquery --arch i686 --installed --alldeps --whatrequires lz4 
systemd-libs-0:231-15.fc25.i686

System is fully updated:
[obmun@madrid ~]$ sudo dnf update
Last metadata expiration check: 0:06:50 ago on Sun Jun 11 12:56:26 2017.
Dependencies resolved.
Nothing to do.
Complete!

Comment 9 Arne 2017-06-19 03:54:19 UTC
Also does not work on my system:

dnf list lz4
Last metadata expiration check: 16 days, 1:16:00 ago on Sat Jun  3 12:33:58 2017.
Installed Packages
lz4.i686                                                              1.7.5-1.fc25                                                            @updates
lz4.x86_64                                                            1.7.5-1.fc25                                                            @updates

dnf list libsolv
Last metadata expiration check: 16 days, 1:15:01 ago on Sat Jun  3 12:33:58 2017.
Installed Packages
libsolv.x86_64                                                         0.6.27-2.fc25                                                          @updates
Available Packages
libsolv.i686                                                           0.6.27-1.fc25                                                          updates 



dnf system-upgrade download --refresh --releasever=26
Fedora 26 - x86_64 - Updates                                                                                          1.1 kB/s | 257  B     00:00    
Fedora 26 - x86_64                                                                                                    165 kB/s |  53 MB     05:30    
RPM Fusion for Fedora 26 - Free                                                                                       240 kB/s | 518 kB     00:02    
RPM Fusion for Fedora 26 - Nonfree                                                                                    213 kB/s | 158 kB     00:00    
Last metadata expiration check: 0:00:03 ago on Mon Jun 19 13:45:34 2017.
Error: problem with installed package lz4-1.7.5-1.fc25.i686
(try to add '--allowerasing' to command line to replace conflicting packages)

Comment 10 Federic 2017-06-22 09:20:37 UTC
Same prob as above trying to update 26.

This is marked closed but I don't see when it got closed or why. 

Is the resolution of this remove the lz4 package and install libsolv ? Does this provide the same functionality. 

Some comment would be helpful, rather than making people read between the lines and guess what was intended. 

thx.

Comment 11 Federic 2017-06-22 09:29:05 UTC
dnf remove lz4
Dependencies resolved.
Error: The operation would result in removing the following protected packages: dnf, systemd-udev, systemd.


So what is the solution here ???

Comment 12 Arne 2017-06-22 10:55:23 UTC
Workaround is to add --allow-erasing

This will  remove the lz4 i686 package, but keep the x86_64 package.

I do not know how to fix it though

Comment 13 Federic 2017-06-22 15:46:01 UTC
Thanks, that is what I needed to know.

Comment 14 Igor Gnatenko 2017-07-08 14:54:53 UTC
*** Bug 1468821 has been marked as a duplicate of this bug. ***

Comment 15 Jean-François Fortin Tam 2017-07-11 15:38:48 UTC
Issue still present today.

sudo dnf remove lz4.i686

...solved the problem for me, but it implies uninstalling Skype (which was i686 only, requiring in turn i686 PulseAudio and all the rest)

Comment 16 Laurent Tréguier 2017-07-11 17:33:42 UTC
The latest lz4 release in Bodhi is supposed to "Split libs properly for multilib", so when it gets to the updates repository the issue should probably get fixed.

Comment 17 Frank Caviggia 2017-07-12 01:54:20 UTC
Here's the workaround that I found, I downloaded the two missing packages from the site below and manually installed them with `dnf install lz4*rpm`, the upgrade from Fedora 25 to 26 worked without a hitch after that.

https://dl.fedoraproject.org/pub/fedora-secondary/development/26/Everything/i386/os/Packages/l/

Comment 18 Villy Kruse 2017-07-12 04:40:24 UTC
My problem was resolved by the way suggested by the error message, namely, adding "--best --allowerasing" to the "dnf upgrade" command.  That was before libsolv-0.6.26-3.fc24 was released.

Comment 19 Oleksandr Tarasiuk 2017-07-12 12:39:59 UTC
The same issue when updating from 25 to 26.

Error: problem with installed package lz4-1.7.5-1.fc25.i686

I have 64bit os installed but had installed this 32bit package as dependency to 32bit application.

Comment 20 Phillip Wirth 2017-07-12 16:00:10 UTC
Same issue here ... when upgrading from 25 to 26, can someone reopen this bug?

Comment 21 mobile.harvey 2017-07-12 16:56:18 UTC
Same here too. Unable to upgrade from 25 to 26 until this is cleared.

Comment 22 Devin Henderson 2017-07-13 03:14:23 UTC
--allowerasing worked for me

Comment 23 Paweł 2017-07-13 11:47:21 UTC
Same issue for me. In my case, lz4 is needed for IBM Notes 9 client on a 64 bit Fedora 25. If I remove lz4, the app stops working and I connot do my work.

(In reply to Laurent Tréguier from comment #16)
> The latest lz4 release in Bodhi is supposed to "Split libs properly for
> multilib", so when it gets to the updates repository the issue should
> probably get fixed.

So we have to wait then? How to check status of the lz4 package - is that it?
https://bodhi.fedoraproject.org/updates/lz4-1.7.5-4.fc26

Comment 24 Laurent Tréguier 2017-07-13 18:12:01 UTC
(In reply to Paweł from comment #23)
> So we have to wait then? How to check status of the lz4 package - is that it?
> https://bodhi.fedoraproject.org/updates/lz4-1.7.5-4.fc26

This is the release yes. And I think that all we can do is either wait like you suggest, or manually download and install like Frank Caviggia suggests:

(In reply to Frank Caviggia from comment #17)
> Here's the workaround that I found, I downloaded the two missing packages
> from the site below and manually installed them with `dnf install lz4*rpm`,
> the upgrade from Fedora 25 to 26 worked without a hitch after that.
> 
> https://dl.fedoraproject.org/pub/fedora-secondary/development/26/Everything/
> i386/os/Packages/l/

Comment 25 Laurent Tréguier 2017-07-13 19:52:04 UTC
Actually now tht I tried it, using `--allowerasing` like dnf and other people here suggest works fine. lz4.i686 is removed, but the new lz4-libs i686 and x86_64 subpackages are automatically selected for installation, so only the obsolete lz4.i686 is removed and not the software that makes use of it.

Comment 26 mobile.harvey 2017-07-15 15:09:45 UTC
I believe the updated version of lz4 has now been released. I've just completed the upgrade from F25 to F26 without the need for any work-arounds.

Comment 27 User 2017-07-21 08:23:48 UTC
(In reply to Paweł from comment #23)
> Same issue for me. In my case, lz4 is needed for IBM Notes 9 client on a 64
> bit Fedora 25. If I remove lz4, the app stops working and I connot do my
> work.
> 
> (In reply to Laurent Tréguier from comment #16)
> > The latest lz4 release in Bodhi is supposed to "Split libs properly for
> > multilib", so when it gets to the updates repository the issue should
> > probably get fixed.
> 
> So we have to wait then? How to check status of the lz4 package - is that it?
> https://bodhi.fedoraproject.org/updates/lz4-1.7.5-4.fc26

Any progress on IBM Notes? Still not working for me. Even with lz4.i586 manually installed.

Comment 28 Elad Alfassa 2017-07-21 09:32:01 UTC
(In reply to mei from comment #27)
> Any progress on IBM Notes? Still not working for me. Even with lz4.i586
> manually installed.


You need lz4-libs.i686
If it still doesn't work I'd suggest you contact IBM for support.

Please note that Bugzilla is not a support forum. It's only for bug reports.


Note You need to log in before you can comment on or make changes to this bug.