Topic: Unable to update php or mysq

Hello, and thank you for the repo.

I like to update php and mysql with the rpm from your repo. Actually, when i try to uodate mysl , i can because yum don't found an update.

# yum update mysql
Loaded plugins: aliases, fastestmirror, merge-conf, priorities, security, versionlock
Loading mirror speeds from cached hostfile
 * addons: mirror.ovh.net
 * base: mirror.ovh.net
 * centosplus: mirror.ovh.net
 * contrib: mirror.ovh.net
 * epel: www.mirrorservice.org
 * extras: mirror.ovh.net
 * remi: rpms.famillecollet.com
 * rpmforge: ftp-stud.fht-esslingen.de
 * updates: mirror.ovh.net
remi                                                                                                                                  | 2.6 kB     00:00     
Excluding Packages from CentOS-5 - Addons
Finished
Excluding Packages from Centos 5 - i386 - ATrpms
Finished
Excluding Packages from CentOS-5 - Base
Finished
Reducing CentOS-5 Testing to included packages only
Finished
Excluding Packages from CentOS-5 - Plus
Finished
Excluding Packages from CentOS-5 - Extras
Finished
Excluding Packages from Red Hat Enterprise 5 - RPMforge.net - dag
Finished
Excluding Packages from CentOS-5 - Updates
Finished
733 packages excluded due to repository priority protections
Skipping security plugin, no data
Reading version lock configuration
Setting up Update Process
No Packages marked for Update

My version of mysql installed is 5.0.77 from epel.

Installed Packages
mysql.i386                                                                   5.0.77-4.el5_5.3                                                       installed
mysql-server.i386                                                            5.0.77-4.el5_5.3                                                       installed

But Remi rpm version is 5.1.3 .

What can be the reason remi mysql aren't found ? I test with : priority=1

# cat /etc/yum.repos.d/remi.repo 
[remi]
name=Les RPM de remi pour Enterprise Linux 5 - $basearch
baseurl=http://rpms.famillecollet.com/enterprise/5/remi/$basearch/
    http://iut-info.univ-reims.fr/remirpms/enterprise/5/remi/$basearch/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi
failovermethod=priority
priorities=1

[remi-test]
name=Les RPM de remi en test pour Enterprise Linux 5 - $basearch
baseurl=http://rpms.famillecollet.com//enterprise/5/test/$basearch/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi

Here is my exlude:

# grep exclude /etc/yum.repos.d/*
/etc/yum.repos.d/atrpms.repo:exclude=dovecot*
/etc/yum.repos.d/CentOS-Base.repo:exclude=postfix* dovecot* php* 
/etc/yum.repos.d/CentOS-Base.repo:exclude=postfix* dovecot* php*
/etc/yum.repos.d/CentOS-Base.repo:exclude=postfix* dovecot* php*
/etc/yum.repos.d/CentOS-Base.repo:exclude=postfix* dovecot* php*
/etc/yum.repos.d/CentOS-Base.repo:exclude=dovecot* php*
/etc/yum.repos.d/rpmforge.repo:exclude=dovecot*

I test with

yum --enablerepo remi-test --enablerepo remi update mysql

mais toujours pas de mise à jour.
I deactivate the exclude for php*

And for php-\*

# yum --enablerepo remi-test --enablerepo remi update php-\*
...
Error: Missing Dependency: php(api) = 20090626 is needed by package php-magickwand-1.0.8-4.el5.remi.i386 (remi)
Error: Missing Dependency: php(api) = 20090626 is needed by package php-pecl-imagick-3.0.0-1.el5.remi.i386 (remi)
Error: Missing Dependency: php(zend-abi) = 20090626 is needed by package php-magickwand-1.0.8-4.el5.remi.i386 (remi)
Error: Missing Dependency: php(zend-abi) = 20090626 is needed by package php-pecl-imagick-3.0.0-1.el5.remi.i386 (remi)

Thank's a lot for all help.
Merci beaucoup de tout coup de main smile

PS: i use php5 from testing, like see in this doc: http://wiki.centos.org/HowTos/PHP_5.1_To_5.2 maybe it's a big error ...
If there are a method to have php, mysql from remi/EPEL release (dovecot/postfix with mysql too), i can take a time and close server for some hour.

Re: Unable to update php or mysq

Try without the yum-prority plugin.

yum --noplugins --enablerepo=remi update mysql

+

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: Unable to update php or mysq

Remi wrote:

Try without the yum-prority plugin.

yum --noplugins --enablerepo=remi update mysql

+

Yes ,

It work !!

I had to put remi before epel or update ?

Re: Unable to update php or mysq

> I had to put remi before epel or update ?

I don't really understand the question.
remi need EPEL to work.
--enablerepo option is only required for remi which is not "enabled" by default (except if you change it)

+

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: Unable to update php or mysq

I just try to understand why i have to remove priority plugin.

Look at my priorities, it seems good enough smile

Thanks a lot

PS:
I have only dovecot in my versionlock
(i don't want dovecot2 from atrpms : i don't find how to configure postfix with dovecot2, search when i hav time ..)

Re: Unable to update php or mysq

This may be too late, but in your /etc/yum.repos.d/remi.repo file, try changing "priorities" to "priority"

Re: Unable to update php or mysq

lieutdan13 wrote:

This may be too late, but in your /etc/yum.repos.d/remi.repo file, try changing "priorities" to "priority"

You all right !!!

I look at my repo.d/*.conf and i correct to priority, and it's work good now. roll

I put too remi in priority=1.

Thanks a lot ....