Bug 1399454

Summary: Using dnf tools to upgrade to 25 cannot proceed due to problems
Product: [Fedora] Fedora Reporter: Doug Hutcheson <owlbrudder>
Component: ghc-hashed-storageAssignee: Jens Petersen <petersen>
Status: CLOSED CANTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: cheese, haskell-devel, msuchy, petersen
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-30 13:12:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Listing of the issues and my attempts to resolve them none

Description Doug Hutcheson 2016-11-29 06:02:23 UTC
Created attachment 1225610 [details]
Listing of the issues and my attempts to resolve them

Description of problem:
My upgrade from 24 to 25 cannot proceed due to a few problems reported by dnf.

Version-Release number of selected component (if applicable):
Fedora 24 upgrading to 25

How reproducible:
Run the documented dnf commands to effect the upgrade

Steps to Reproduce:
1. dnf upgrade --refresh
2. dnf install dnf-plugin-system-upgrade
3. dnf system-upgrade download --refresh --releasever=25

Actual results:
Error: package ghc-hashed-storage-0.5.11-3.fc24.x86_64 requires libHSarray-0.5.0.0-ghc7.8.4.so()(64bit), but none of the providers can be installed.
package perl-Data-Alias-1.20-2.fc24.x86_64 requires perl(:MODULE_COMPAT_5.22.1), but none of the providers can be installed.
package php-pecl-mongo-1.6.14-1.fc24.x86_64 requires php(api) = 20131106-64, but none of the providers can be installed

Expected results:
Upgrade should proceed.

Additional info:
I have tried to resolve the given errors without success. I cannot find libHSarray (is this new to 25?), Perl cpan cannot find anything referring to :MODULE_COMPAT_5.22.1 and the installed Perl api returns php(api) = 20131106-64

I have attached a .txt file expanding on these issues. If the problem is mine, it is still preventing the upgrade and I would be grateful for advice on how to proceed.

Thanks,
Doug

Comment 1 Doug Hutcheson 2016-11-29 06:33:59 UTC
Further searching identified the perl issue is with perl-libs - the upgrade is looking for 5.22.1, but the current perl-libs installed are 5.22.2

[root@KETCHUP ~]# dnf install perl-libs
Last metadata expiration check: 1:28:12 ago on Tue Nov 29 14:59:39 2016.
Package perl-libs-4:5.22.2-364.fc24.x86_64 is already installed, skipping.

The original failure was

package perl-Data-Alias-1.20-2.fc24.x86_64 requires perl(:MODULE_COMPAT_5.22.1), but none of the providers can be installed.

I am not aware of what this package does or which application brought it on board, so I am reluctant to just remove it. Is removal the only solution?

Comment 2 Doug Hutcheson 2016-11-29 20:37:12 UTC
I successfully upgraded using Packagekit. No further action needed.

Comment 3 Miroslav Suchý 2016-11-30 13:12:56 UTC
The package ghc-hashed-storage has been retired and is not present in F25. PackageKit silently remove this package. There is ongoing discussion if this is right approach or not. In F26 there will be package fedora-obsolete-packages, which can provide those obsoletes packages and provide clean upgrade.
Right now there is no systematic approach and only "fix" is to manualy remove the obsoleted packages and restart upgrade once again.
The same goes for php-pecl-mongo.
For package perl-Data-Alias there is different situation and I suspect that DNF need to remove some package, so you need to pass --allowerasing