Topic: Fedora 31 -> 32 upgrade failing with EnableMultipleStreamsException

I'm trying to upgrade from Fedora 31 to 32 (x86_64) and its failing:

# dnf system-upgrade download --releasever=32  --allowerasing
...
Problem: conflicting requests
  - nothing provides module(platform:f31) needed by module php:remi-7.3:20201019064141:00000000-0.x86_64
terminate called after throwing an instance of 'libdnf::ModulePackageContainer::EnableMultipleStreamsException'
  what():  Cannot enable multiple streams for module 'php'



Any suggestions how to resolve this?

Re: Fedora 31 -> 32 upgrade failing with EnableMultipleStreamsException

Fedora 31 have 7.3 (default), 7.4 and 8.0 stream
Fedora 32/33 have 7.4 (default) and 8.0 stream

So you have to update to 7.4 before the update

dnf module reset php
dnf module enable php:remi-7.4
dnf update


P.S. this is already in the FAQ: https://blog.remirepo.net/pages/English-FAQ#fedup

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: Fedora 31 -> 32 upgrade failing with EnableMultipleStreamsException

Thanks for the help.  I tried the dnf commands that you provided, but they're not helping:

# dnf system-upgrade download --releasever=32
Before you continue ensure that your system is fully upgraded by running "dnf --refresh upgrade". Do you want to continue [y/N]: y
Copr repo for Signal-Desktop owned by luminoso                  17 kB/s | 3.3 kB     00:00   
Copr repo for alacritty owned by pschyska                       10 kB/s | 3.3 kB     00:00   
Adobe Systems Incorporated                                     9.0 kB/s | 2.9 kB     00:00   
Adobe Systems Incorporated                                      10 kB/s | 2.9 kB     00:00   
Fedora Modular 32 - x86_64                                      30 kB/s |  15 kB     00:00   
Fedora Modular 32 - x86_64 - Updates                            30 kB/s |  11 kB     00:00   
Fedora 32 - x86_64 - Updates                                    31 kB/s | 6.6 kB     00:00   
Fedora 32 - x86_64                                              31 kB/s |  15 kB     00:00   
google-chrome-unstable                                         6.8 kB/s | 1.3 kB     00:00   
google-chrome - x86_64                                          18 kB/s | 1.3 kB     00:00   
google-earth                                                    12 kB/s | 951  B     00:00   
google-musicmanager                                             16 kB/s | 951  B     00:00   
google-talkplugin                                               13 kB/s | 951  B     00:00   
PostgreSQL common RPMs for Fedora 32 - x86_64                  4.4 kB/s | 3.0 kB     00:00   
PostgreSQL 13 for Fedora 32 - x86_64                           4.1 kB/s | 3.8 kB     00:00   
PostgreSQL 12 for Fedora 32 - x86_64                           5.6 kB/s | 3.8 kB     00:00   
PostgreSQL 11 for Fedora 32 - x86_64                           4.6 kB/s | 3.8 kB     00:00   
PostgreSQL 10 for Fedora 32 - x86_64                           4.2 kB/s | 3.8 kB     00:00   
PostgreSQL 9.6 for Fedora 32 - x86_64                          3.9 kB/s | 3.8 kB     00:00   
PostgreSQL 9.5 for Fedora 32 - x86_64                          4.4 kB/s | 3.8 kB     00:00   
PlayOnLinux Official repository                                5.6 kB/s | 2.9 kB     00:00   
Remi's Modular repository - Fedora 32 - x86_64                 8.4 kB/s | 3.5 kB     00:00   
Remi's RPM repository - Fedora 32 - x86_64                     7.5 kB/s | 3.0 kB     00:00   
RPM Fusion for Fedora 32 - Free - Updates                       10 kB/s | 3.0 kB     00:00   
RPM Fusion for Fedora 32 - Free                                4.9 kB/s | 2.7 kB     00:00   
RPM Fusion for Fedora 32 - Nonfree - Updates                   4.7 kB/s | 3.0 kB     00:00   
RPM Fusion for Fedora 32 - Nonfree                             4.6 kB/s | 2.6 kB     00:00   
slack                                                          2.6 kB/s | 1.0 kB     00:00   
Fedora 32 - x86_64 - VirtualBox                                 40 kB/s | 2.9 kB     00:00   
terminate called after throwing an instance of 'libdnf::ModulePackageContainer::EnableMultipleStreamsException'
  what():  Cannot enable multiple streams for module 'php'
Aborted (core dumped)



/etc/dnf/modules.d/php.module looks like this:

[php]
name=php
stream=remi-7.4
profiles=
state=enabled


Any other ideas?

Re: Fedora 31 -> 32 upgrade failing with EnableMultipleStreamsException

Indeed can reproduce, looks like a dnf issue (even raise a segfault....)

The module have to be disable before the upgrade

# php -v
PHP 7.4.11 (cli) (built: Sep 29 2020 10:17:06) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies

# dnf module reset php

# dnf module list php
Last metadata expiration check: 0:01:08 ago on Fri Oct 23 08:56:53 2020.
Remi's Modular repository - Fedora 31 - x86_64
Name                              Stream                                   Profiles                                               Summary                                           
php                               remi-7.3 [d]                             common [d], devel, minimal                             PHP scripting language                            
php                               remi-7.4                                 common [d], devel, minimal                             PHP scripting language                            
php                               remi-8.0                                 common [d], devel, minimal                             PHP scripting language                            

# dnf system-upgrade download --releasever=32 
...
 php-cli                                                      x86_64                  7.4.11-1.fc32.remi                                    remi-modular                      4.6 M
 php-common                                                   x86_64                  7.4.11-1.fc32.remi                                    remi-modular                      791 k
 php-fpm                                                      x86_64                  7.4.11-1.fc32.remi                                    remi-modular                      1.6 M
...
Enabling module streams:
 php                                                                                  remi-7.4                                                                                     

Transaction Summary
====================================================================================================================================================================================
Install      41 Packages
Upgrade    1729 Packages
Remove        4 Packages
Downgrade     6 Packages

Total download size: 1.8 G
DNF will only download packages, install gpg keys, and check the transaction.
Is this ok [y/N]: 
Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: Fedora 31 -> 32 upgrade failing with EnableMultipleStreamsException

Thanks, that worked!

Re: Fedora 31 -> 32 upgrade failing with EnableMultipleStreamsException

smile

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi