Topic: Fedora 29 wants to install php-common 7.2 after enabling remi-php73

Hi,

Fedora 29

I made a dnf upgrade that downgrade php 7.3 to php 7.2 (apcu conflict) and I'm trying to reinstall php7.3 from scratch as default system php version

(module version of php 7.3 is fine).

I can install php-common-7.3 with

    dnf install php-common --repo remi-php73

but

    dnf install php-common

installs php72 ... even with remi-php73 enabled=1

I've looked for package exclusion but seams to be normal
I've looked for repo priorities but can't found where it could be in f29

can you give me a pointer ?


here is the remi-php73 repo file
---------------

[remi-php73]
name=Remi's RPM repository - PHP 7.3 - Fedora $releasever - $basearch
baseurl=http://rpms.remirepo.net/fedora/$releasever/php73/$basearch/
#baseurl=http://remi.schlundtech.de/fedora/$releasever/remi/$basearch/
#mirrorlist=http://cdn.remirepo.net/fedora/$releasever/php73/mirror
# WARNING: If you enable this repository, you must also enable "remi"
enabled=1
gpgcheck=1
fastestmirror=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi-$releasever

[remi-php73-debuginfo]
name=Remi's PHP 7.3 RPM repository for Fedora $releasever - $basearch - debuginfo
baseurl=http://rpms.remirepo.net/fedora/$releasever/debug-php73/$basearch/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi-$releasever

Re: Fedora 29 wants to install php-common 7.2 after enabling remi-php73

Sorry, but not enough information

Please post full yum output.

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 quazardous 2019-01-04 07:40:04)

Re: Fedora 29 wants to install php-common 7.2 after enabling remi-php73

[root@carbon ~]# dnf install php-common --repo remi-php73
Dernière vérification de l’expiration des métadonnées effectuée il y a 1:49:27 le ven. 04 janv. 2019 06:48:31 CET.
Dépendances résolues.
======================================================================================================================================================
Paquet                             Architecture                   Version                                   Dépôt                              Taille
======================================================================================================================================================
Installation:
php-common                         x86_64                         7.3.0-1.fc29.remi                         remi-php73                         1.0 M
Installation des dépendances:
php-json                           x86_64                         7.3.0-1.fc29.remi                         remi-php73                          36 k

Résumé de la transaction
======================================================================================================================================================
Installer  2 Paquets

Taille totale des téléchargements : 1.1 M
Taille des paquets installés : 12 M
Voulez-vous continuer ? [o/N] :


-----------------------------------------

[root@carbon ~]# dnf install php-common
Dernière vérification de l’expiration des métadonnées effectuée il y a 1:50:20 le ven. 04 janv. 2019 06:48:39 CET.
Dépendances résolues.
======================================================================================================================================================
Paquet                              Architecture                    Version                                   Dépôt                            Taille
======================================================================================================================================================
Installation:
php-common                          x86_64                          7.2.13-2.fc29                             updates                          1.0 M

Résumé de la transaction
======================================================================================================================================================
Installer  1 Paquet

Taille totale des téléchargements : 1.0 M
Taille des paquets installés : 12 M
Voulez-vous continuer ? [o/N] :

Re: Fedora 29 wants to install php-common 7.2 after enabling remi-php73

Because remi-php73 is not enabled (dnf repolist to confirm)

See the wizard instructions.

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 29 wants to install php-common 7.2 after enabling remi-php73

[root@carbon ~]# dnf repolist all
Adobe Systems Incorporated                                                                                            2.6 kB/s | 2.9 kB     00:01    
Fedora Modular 29 - x86_64                                                                                             15 kB/s |  29 kB     00:01    
Fedora Modular 29 - x86_64 - Updates                                                                                   12 kB/s |  28 kB     00:02    
Fedora 29 - x86_64 - Updates                                                                                           11 kB/s |  27 kB     00:02    
Fedora 29 - x86_64                                                                                                     13 kB/s |  29 kB     00:02    
Remi's Modular repository - Fedora 29 - x86_64                                                                        3.2 kB/s | 3.5 kB     00:01    
Remi's RPM repository - PHP 7.3 - Fedora 29 - x86_64                                                                  2.8 kB/s | 3.0 kB     00:01    
Remi's RPM repository - Fedora 29 - x86_64                                                                            2.8 kB/s | 3.0 kB     00:01    
RPM Fusion for Fedora 29 - Free - Updates                                                                             4.5 kB/s | 9.7 kB     00:02    
RPM Fusion for Fedora 29 - Free                                                                                       8.2 kB/s |  10 kB     00:01    
RPM Fusion for Fedora 29 - Nonfree - Updates                                                                          7.8 kB/s | 9.9 kB     00:01    
RPM Fusion for Fedora 29 - Nonfree                                                                                    8.2 kB/s |  10 kB     00:01    
skype (stable)                                                                                                        2.2 kB/s | 2.9 kB     00:01    
id du dépôt                                            nom du dépôt                                                                     état
adobe-linux-x86_64                                     Adobe Systems Incorporated                                                       activé:      3
fedora                                                 Fedora 29 - x86_64                                                               activé: 58207
fedora-cisco-openh264                                  Fedora 29 openh264 (From Cisco) - x86_64                                         désactivé
fedora-cisco-openh264-debuginfo                        Fedora 29 openh264 (From Cisco) - x86_64 - Debug                                 désactivé
fedora-debuginfo                                       Fedora 29 - x86_64 - Debug                                                       désactivé
fedora-modular                                         Fedora Modular 29 - x86_64                                                       activé:      8
fedora-modular-debuginfo                               Fedora Modular 29 - x86_64 - Debug                                               désactivé
fedora-modular-source                                  Fedora Modular 29 - Source                                                       désactivé
fedora-source                                          Fedora 29 - Source                                                               désactivé
google-chrome                                          google-chrome                                                                    désactivé
phracek-PyCharm                                        Copr repo for PyCharm owned by phracek                                           désactivé
remi                                                   Remi's RPM repository - Fedora 29 - x86_64                                       activé:  2118
remi-debuginfo                                         Remi's RPM repository for Fedora 29 - x86_64 - debuginfo                         désactivé
remi-glpi91                                            Remi's RPM repository - GLPI 9.1 - Fedora 29 - x86_64                            désactivé
remi-glpi92                                            Remi's RPM repository - GLPI 9.2 - Fedora 29 - x86_64                            désactivé
remi-glpi93                                            Remi's RPM repository - GLPI 9.3 - Fedora 29 - x86_64                            désactivé
remi-glpi94                                            Remi's RPM repository - GLPI 9.4 - Fedora 29 - x86_64                            désactivé
remi-modular                                           Remi's Modular repository - Fedora 29 - x86_64                                   activé:      0
remi-modular-test                                      Remi's Modular testing repository - Fedora 29 - x86_64                           désactivé
remi-php73                                             Remi's RPM repository - PHP 7.3 - Fedora 29 - x86_64                             activé:      0
remi-php73-debuginfo                                   Remi's PHP 7.3 RPM repository for Fedora 29 - x86_64 - debuginfo                 désactivé
remi-php73-test                                        Remi's RPM repository - Testing - PHP 7.3 - Fedora 29 - x86_64                   désactivé
remi-php73-test-debuginfo                              Remi's PHP 7.3 test RPM repository for Fedora 29 - x86_64 - debuginfo            désactivé
remi-test                                              Remi's RPM repository - Testing - Fedora 29 - x86_64                             désactivé
remi-test-debuginfo                                    Remi's test RPM repository for Fedora 29 - x86_64 - debuginfo                    désactivé
rpmfusion-free                                         RPM Fusion for Fedora 29 - Free                                                  activé:    596
rpmfusion-free-debuginfo                               RPM Fusion for Fedora 29 - Free - Debug                                          désactivé
rpmfusion-free-source                                  RPM Fusion for Fedora 29 - Free - Source                                         désactivé
rpmfusion-free-updates                                 RPM Fusion for Fedora 29 - Free - Updates                                        activé:    153
rpmfusion-free-updates-debuginfo                       RPM Fusion for Fedora 29 - Free - Updates Debug                                  désactivé
rpmfusion-free-updates-source                          RPM Fusion for Fedora 29 - Free - Updates Source                                 désactivé
rpmfusion-free-updates-testing                         RPM Fusion for Fedora 29 - Free - Test Updates                                   désactivé
rpmfusion-free-updates-testing-debuginfo               RPM Fusion for Fedora 29 - Free - Test Updates Debug                             désactivé
rpmfusion-free-updates-testing-source                  RPM Fusion for Fedora 29 - Free - Test Updates Source                            désactivé
rpmfusion-nonfree                                      RPM Fusion for Fedora 29 - Nonfree                                               activé:    228
rpmfusion-nonfree-debuginfo                            RPM Fusion for Fedora 29 - Nonfree - Debug                                       désactivé
rpmfusion-nonfree-nvidia-driver                        RPM Fusion for Fedora 29 - Nonfree - NVIDIA Driver                               désactivé
rpmfusion-nonfree-nvidia-driver-debuginfo              RPM Fusion for Fedora 29 - Nonfree - NVIDIA Driver Debug                         désactivé
rpmfusion-nonfree-nvidia-driver-source                 RPM Fusion for Fedora 29 - Nonfree - NVIDIA Driver Source                        désactivé
rpmfusion-nonfree-source                               RPM Fusion for Fedora 29 - Nonfree - Source                                      désactivé
rpmfusion-nonfree-steam                                RPM Fusion for Fedora 29 - Nonfree - Steam                                       désactivé
rpmfusion-nonfree-steam-debuginfo                      RPM Fusion for Fedora 29 - Nonfree - Steam Debug                                 désactivé
rpmfusion-nonfree-steam-source                         RPM Fusion for Fedora 29 - Nonfree - Steam Source                                désactivé
rpmfusion-nonfree-updates                              RPM Fusion for Fedora 29 - Nonfree - Updates                                     activé:     40
rpmfusion-nonfree-updates-debuginfo                    RPM Fusion for Fedora 29 - Nonfree - Updates Debug                               désactivé
rpmfusion-nonfree-updates-source                       RPM Fusion for Fedora 29 - Nonfree - Updates Source                              désactivé
rpmfusion-nonfree-updates-testing                      RPM Fusion for Fedora 29 - Nonfree - Test Updates                                désactivé
rpmfusion-nonfree-updates-testing-debuginfo            RPM Fusion for Fedora 29 - Nonfree - Test Updates Debug                          désactivé
rpmfusion-nonfree-updates-testing-source               RPM Fusion for Fedora 29 - Nonfree - Test Updates Source                         désactivé
skype-stable                                           skype (stable)                                                                   activé:      5
updates                                                Fedora 29 - x86_64 - Updates                                                     activé: 15128
updates-debuginfo                                      Fedora 29 - x86_64 - Updates - Debug                                             désactivé
updates-modular                                        Fedora Modular 29 - x86_64 - Updates                                             activé:      8
updates-modular-debuginfo                              Fedora Modular 29 - x86_64 - Updates - Debug                                     désactivé
updates-modular-source                                 Fedora Modular 29 - Updates Source                                               désactivé
updates-source                                         Fedora 29 - Updates Source                                                       désactivé
updates-testing                                        Fedora 29 - x86_64 - Test Updates                                                désactivé
updates-testing-debuginfo                              Fedora 29 - x86_64 - Test Updates Debug                                          désactivé
updates-testing-modular                                Fedora Modular 29 - x86_64 - Test Updates                                        désactivé
updates-testing-modular-debuginfo                      Fedora Modular 29 - x86_64 - Test Updates Debug                                  désactivé
updates-testing-modular-source                         Fedora Modular 29 - Test Updates Source                                          désactivé
updates-testing-source                                 Fedora 29 - Test Updates Source                                                  désactivé
[root@carbon ~]#

Re: Fedora 29 wants to install php-common 7.2 after enabling remi-php73

activated but status = 0 ??

Re: Fedora 29 wants to install php-common 7.2 after enabling remi-php73

Sorry, I don't understand such dnf behavior... can be a dnf bug...

Do you use modules ?
If yes, perhaps you have to enable the remi-php:7.3 module

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 29 wants to install php-common 7.2 after enabling remi-php73

the status (état) number is the number of visible packages

--------------------------------------------------------

[root@carbon ~]# dnf repolist --repo=remi-php73
Dernière vérification de l’expiration des métadonnées effectuée il y a 0:05:05 le dim. 06 janv. 2019 10:47:45 CET.
id du dépôt                       nom du dépôt                                                               état
remi-php73                        Remi's RPM repository - PHP 7.3 - Fedora 29 - x86_64                       271

Re: Fedora 29 wants to install php-common 7.2 after enabling remi-php73

Indeed... I can reproduce, trying to understand...

BTW, please try

# dnf module enable php:remi-7.3

Last metadata expiration check: 0:00:22 ago on Mon Jan  7 12:20:54 2019.
Dependencies resolved.
=====================================================================================================================================================
 Package                            Arch                              Version                               Repository                          Size
=====================================================================================================================================================
Enabling module streams:
 php                                                                  remi-7.3                                                                      

Transaction Summary
=====================================================================================================================================================

Is this ok [y/N]: y
Complete!

Switching module streams does not alter installed packages (see 'module enable' in dnf(8) for details)

# dnf install php-cli
Last metadata expiration check: 0:00:36 ago on Mon Jan  7 12:20:54 2019.
Dependencies resolved.
=====================================================================================================================================================
 Package                           Arch                          Version                                   Repository                           Size
=====================================================================================================================================================
Installing:
 php-cli                           x86_64                        7.3.0-1.fc29.remi                         remi-modular                        4.3 M
Installing dependencies:
 php-common                        x86_64                        7.3.0-1.fc29.remi                         remi-modular                        1.0 M
 php-json                          x86_64                        7.3.0-1.fc29.remi                         remi-modular                         36 k

Transaction Summary
=====================================================================================================================================================
Install  3 Packages

Total download size: 5.4 M
Installed size: 27 M
Is this ok [y/N]: y
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 29 wants to install php-common 7.2 after enabling remi-php73

Other way:

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

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

# dnf install php-cli
Last metadata expiration check: 0:00:25 ago on Mon Jan  7 12:23:54 2019.
Dependencies resolved.
=====================================================================================================================================================
 Package                           Arch                          Version                                     Repository                         Size
=====================================================================================================================================================
Installing:
 php-cli                           x86_64                        7.3.0-1.fc29.remi                           remi-php73                        4.3 M
Installing dependencies:
 php-common                        x86_64                        7.3.0-1.fc29.remi                           remi-php73                        1.0 M
 php-json                          x86_64                        7.3.0-1.fc29.remi                           remi-php73                         36 k

Transaction Summary
=====================================================================================================================================================
Install  3 Packages

Total download size: 5.4 M
Installed size: 27 M
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 29 wants to install php-common 7.2 after enabling remi-php73

To summarize, it seems the modular repository breaks the old way to use my repository.

BTW, "modular" is really the new F29 thing, and probably better to use it that way.
Will try to contact some DNF guy to see if such behavior is expected

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 29 wants to install php-common 7.2 after enabling remi-php73

ok both ways are working thx a lot !

I was wondering if linux was turning windows...


-------------------------------------------------

[root@carbon ~]# dnf module enable php:remi-7.3
Dernière vérification de l’expiration des métadonnées effectuée il y a 0:01:41 le lun. 07 janv. 2019 12:49:56 CET.
Dépendances résolues.
=======================================================================================================================================
Paquet                          Architecture                   Version                          Dépôt                           Taille
=======================================================================================================================================
Enabling module streams:
php                                                            remi-7.3                                                             

Résumé de la transaction
=======================================================================================================================================

Voulez-vous continuer ? [o/N] : o
Terminé !

Changer les flux de modules ne modifie pas les paquets installés (voir « module enable » dans dnf(8) pour plus de détails)

-> dnf install phpMyAdmin -> php7.3 OK

dnf module disable php:remi-7.3

-> dnf update won't go back to php7.2


-------------------------------------------

second way


-> dnf install phpMyAdmin -> php7.2


dnf config-manager --set-disabled remi-modular

-> dnf update -> php7.3 OK

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


-> dnf update -> does not go back to php 7.2 either

Re: Fedora 29 wants to install php-common 7.2 after enabling remi-php73

I have updated the wizard instructions to reflect the need to disable the modular repo.

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