Topic: Instructions for Upgrading to Fedora 35

Hi there,

I am currently using the remi repository and its php packages and they work great.

As the new fedora release draws near, I wanted to ask what needs to be done when upgrading from fedora 34 to 35?

I read the FAQ but there is very little information and don#t understand what exactly needs to be done before and after the upgrade of fedora.
I used the wizard to configure the repository in a way that allows me to install multiple php versions. I currently have only php 8.0 installed.

I would appreciate any kind of help to allow a smooth upgrade to the new fedora version.

Re: Instructions for Upgrading to Fedora 35

A list of installed php* may help, but if you only use "multiple php versions" update should work without any effort

Else post output of "dnf system-upgrade download --releasever=35"

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

3 (edited by shirsch 2021-10-26 12:03:46)

Re: Instructions for Upgrading to Fedora 35

Thats good to hear. I will upgrade and see if there are any issues.

Here is the list of packages (dnf list --installed php*):

php-PsrLog.noarch                                       1.1.4-1.fc34.remi                        @remi       
php-cli.x86_64                                          8.0.12-1.fc34.remi                       @remi-modular
php-common.x86_64                                       8.0.12-1.fc34.remi                       @remi-modular
php-composer-ca-bundle.noarch                           1.2.11-1.fc34.remi                       @remi       
php-composer-metadata-minifier.noarch                   1.0.0-1.fc34.remi                        @remi       
php-composer-semver3.noarch                             3.2.6-1.fc34.remi                        @remi       
php-composer-spdx-licenses.noarch                       1.5.5-2.fc34                             @fedora     
php-composer-xdebug-handler2.noarch                     2.0.2-1.fc34.remi                        @remi       
php-fedora-autoloader.noarch                            1.0.1-4.fc34                             @fedora     
php-fpm.x86_64                                          8.0.12-1.fc34.remi                       @remi-modular
php-gd.x86_64                                           8.0.12-1.fc34.remi                       @remi-modular
php-intl.x86_64                                         8.0.12-1.fc34.remi                       @remi-modular
php-jsonlint.noarch                                     1.8.3-2.fc34                             @fedora     
php-justinrainbow-json-schema5.noarch                   5.2.11-1.fc34.remi                       @remi       
php-mbstring.x86_64                                     8.0.12-1.fc34.remi                       @remi-modular
php-mysqlnd.x86_64                                      8.0.12-1.fc34.remi                       @remi-modular
php-opcache.x86_64                                      8.0.12-1.fc34.remi                       @remi-modular
php-pdo.x86_64                                          8.0.12-1.fc34.remi                       @remi-modular
php-pecl-http.x86_64                                    4.2.1-1.fc34.remi.8.0                    @remi-modular
php-pecl-raphf.x86_64                                   2.0.1-5.fc34.remi.8.0                    @remi-modular
php-pecl-zip.x86_64                                     1.20.0-1.fc34.remi.8.0                   @remi-modular
php-process.x86_64                                      8.0.12-1.fc34.remi                       @remi-modular
php-psr-cache.noarch                                    1.0.1-11.fc34                            @fedora     
php-psr-container.noarch                                1.1.1-1.fc34.remi                        @remi       
php-psr-event-dispatcher.noarch                         1.0.0-5.fc34                             @fedora     
php-react-promise.noarch                                2.8.0-3.fc34                             @fedora     
php-seld-phar-utils.noarch                              1.1.2-1.fc34.remi                        @remi       
php-soap.x86_64                                         8.0.12-1.fc34.remi                       @remi-modular
php-symfony-contracts.noarch                            1.1.10-2.fc34                            @fedora     
php-symfony-polyfill.noarch                             1.23.1-1.fc34.remi                       @remi       
php-symfony4-common.noarch                              4.4.32-1.fc34.remi                       @remi       
php-symfony4-console.noarch                             4.4.32-1.fc34.remi                       @remi       
php-symfony4-debug.noarch                               4.4.32-1.fc34.remi                       @remi       
php-symfony4-filesystem.noarch                          4.4.32-1.fc34.remi                       @remi       
php-symfony4-finder.noarch                              4.4.32-1.fc34.remi                       @remi       
php-symfony4-process.noarch                             4.4.32-1.fc34.remi                       @remi       
php-xml.x86_64                                          8.0.12-1.fc34.remi                       @remi-modular

Re: Instructions for Upgrading to Fedora 35

This is not "multiple version", but single version from modular repo wink

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: Instructions for Upgrading to Fedora 35

Thats odd, I followed the instructions for the multiple version of the wizard and installed the php 8.0 packages.

Re: Instructions for Upgrading to Fedora 35

Command for module (php-* packages):

    dnf module install php:remi-8.0

Is really different than the one for multiple versions (php80-php-* packages)

    dnf install php80

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: Instructions for Upgrading to Fedora 35

The wizard showed the following command: dnf --enablerepo=remi install php80

and that is the command I executed. If that is not how it should be, is there a way to "convert" to a multiple installation?

Re: Instructions for Upgrading to Fedora 35

Don't know what you mean by "convert".

You can always install as many versions as you want, beside the default system one.

Which version do you want as default ?
Which alternative versions do you want ?

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: Instructions for Upgrading to Fedora 35

Currently I just need php 8.0 but this will change in the future with the release of php 8.1.

My biggest concern currently is that the php stuff will break when I upgrade to fedora 35.
You mentioned that there is an option to make more resilient in case of upgrading fedora.
What is the next thing I need to do to make my installtion o fthe remi repo more robust?

Re: Instructions for Upgrading to Fedora 35

Again, try the upgrade

dnf should take care of needed work, if it doesn't this is probably some dnf issue (which may have workaround)

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: Instructions for Upgrading to Fedora 35

Okay, I will try :-).

Re: Instructions for Upgrading to Fedora 35

From a quick check on a fresh F34 VM, everything seems to work as expected (modular way)


Example

# dnf config-manager --set-enabled remi
# dnf config-manager --set-enabled remi-modular

# dnf module install php:remi-8.1

# dnf install composer

# dnf system-upgrade download --releasever=35
...
 php-PsrLog                                                           noarch                           1.1.4-2.fc35                                                   fedora                                           16 k
 php-cli                                                              x86_64                           8.1.0~RC5-1.fc35.remi                                          remi-modular                                    5.2 M
 php-common                                                           x86_64                           8.1.0~RC5-1.fc35.remi                                          remi-modular                                    814 k
 php-composer-ca-bundle                                               noarch                           1.3.0-1.fc35.remi                                              remi                                             16 k
 php-composer-metadata-minifier                                       noarch                           1.0.0-2.fc35                                                   fedora                                           10 k
 php-composer-semver3                                                 noarch                           3.2.6-1.fc35.remi                                              remi                                             29 k
 php-composer-spdx-licenses                                           noarch                           1.5.5-3.fc35                                                   fedora                                           21 k
 php-composer-xdebug-handler2                                         noarch                           2.0.2-1.fc35                                                   fedora                                           23 k
 php-fedora-autoloader                                                noarch                           1.0.1-6.fc35                                                   fedora                                           12 k
 php-fpm                                                              x86_64                           8.1.0~RC5-1.fc35.remi                                          remi-modular                                    1.8 M
 php-intl                                                             x86_64                           8.1.0~RC5-1.fc35.remi                                          remi-modular                                    212 k
 php-jsonlint                                                         noarch                           1.8.3-4.fc35                                                   fedora                                           19 k
 php-justinrainbow-json-schema5                                       noarch                           5.2.11-1.fc35                                                  fedora                                           42 k
 php-mbstring                                                         x86_64                           8.1.0~RC5-1.fc35.remi                                          remi-modular                                    516 k
 php-pecl-zip                                                         x86_64                           1.20.0-1.fc35.remi.8.1                                         remi-modular                                     69 k
 php-process                                                          x86_64                           8.1.0~RC5-1.fc35.remi                                          remi-modular                                     64 k
 php-psr-cache                                                        noarch                           1.0.1-12.fc35                                                  fedora                                           13 k
 php-psr-container                                                    noarch                           1.1.1-2.fc35                                                   fedora                                           11 k
 php-psr-event-dispatcher                                             noarch                           1.0.0-6.fc35                                                   fedora                                           11 k
 php-react-promise                                                    noarch                           2.8.0-4.fc35                                                   fedora                                           26 k
 php-seld-phar-utils                                                  noarch                           1.1.2-1.fc35                                                   fedora                                           12 k
 php-symfony-contracts                                                noarch                           1.1.10-3.fc35                                                  fedora                                           38 k
 php-symfony-polyfill                                                 noarch                           1.23.1-1.fc35                                                  fedora                                           46 k
 php-symfony4-common                                                  noarch                           4.4.32-1.fc35.remi                                             remi                                            156 k
 php-symfony4-console                                                 noarch                           4.4.32-1.fc35.remi                                             remi                                             91 k
 php-symfony4-debug                                                   noarch                           4.4.32-1.fc35.remi                                             remi                                             40 k
 php-symfony4-filesystem                                              noarch                           4.4.32-1.fc35.remi                                             remi                                             21 k
 php-symfony4-finder                                                  noarch                           4.4.32-1.fc35.remi                                             remi                                             28 k
 php-symfony4-process                                                 noarch                           4.4.32-1.fc35.remi                                             remi                                             32 k
 php-xml                                                              x86_64                           8.1.0~RC5-1.fc35.remi                                          remi-modular                                    201 k
...

Transaction Summary
============================================================================================================================================================================================================================
Install      50 Packages
Upgrade    1738 Packages
Remove        4 Packages
Downgrade    61 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: Instructions for Upgrading to Fedora 35

For me it could not upgrade. There where problems with the icu69 packages. I fully removed the repo before the upgrade and installed it after the successful update again and everything works fine now.