RHEL 7 and php-mysqlnd package issue


  • Developer

    Hi,

    I have troubles to update the version of FOG under RHEL 7 and php-mysql package. Unitl now I could update the version with problems, the last time (Fryday) but today is impossible to me update the version, the reason php-mysql package

    fog_error_6369.log file

    Complementos cargados:product-id, rhnplugin, search-disabled-repos,
                        : subscription-manager
    This system is receiving updates from RHN Classic or Red Hat Satellite.
    No packages marked for update
    httpd-2.4.6-40.el7.x86_64
    php-5.6.18-1.el7.remi.x86_64
    php-cli-5.6.18-1.el7.remi.x86_64
    php-common-5.6.18-1.el7.remi.x86_64
    php-gd-5.6.18-1.el7.remi.x86_64
    mariadb-5.5.44-2.el7.x86_64
    mariadb-server-5.5.44-2.el7.x86_64
    tftp-server-5.2-12.el7.x86_64
    nfs-utils-1.3.0-0.21.el7_2.x86_64
    vsftpd-3.0.2-10.el7.x86_64
    net-tools-2.0-0.17.20131004git.el7.x86_64
    wget-1.14-10.el7_0.1.x86_64
    xinetd-2.3.15-12.el7.x86_64
    tar-1.26-29.el7.x86_64
    gzip-1.5-8.el7.x86_64
    make-3.82-21.el7.x86_64
    m4-1.4.16-10.el7.x86_64
    gcc-4.8.5-4.el7.x86_64
    gcc-c++-4.8.5-4.el7.x86_64
    lftp-4.4.8-7.el7.x86_64
    Complementos cargados:product-id, rhnplugin, search-disabled-repos,
                        : subscription-manager
    This system is receiving updates from RHN Classic or Red Hat Satellite.
    Paquetes instalados
    php-mysqlnd.x86_64                 5.6.18-1.el7.remi                 @remi-php56
    Paquetes disponibles
    php-mysql.x86_64                   5.4.45-4.el7.remi                 remi       
    php-mysqlnd-5.6.18-1.el7.remi.x86_64
    el paquete php-mysql no está instalado
    

    I see that the developer team changed the functions.sh file and these changes doesn’t work fine

    svn info ../lib/common/functions.sh 
    Ruta: /root/fog/lib/common/functions.sh
    Nombre: functions.sh
    Working Copy Root Path: /root/fog
    URL: https://svn.code.sf.net/p/freeghost/code/trunk/lib/common/functions.sh
    Raíz del repositorio: https://svn.code.sf.net/p/freeghost/code
    UUID del repositorio: 71f96598-fa45-0410-b640-bcd6f8691b32
    Revisión: 4845
    Tipo de nodo: archivo
    Agendado: normal
    Autor del último cambio: masterzune
    Revisión del último cambio: 4844
    Fecha de último cambio: 2016-02-22 12:55:47 +0100 (lun 22 de feb de 2016)
    Texto actualizado por última vez: 2016-02-22 13:57:08 +0100 (lun 22 de feb de 2016)
    Suma de verificación: e33ea422a6558980c40cd961145133a2e0e1fa8b
    

    The diif with the versioni that worked ;)

    svn diff --revision 4807:4844 ../lib/common/functions.sh
    Index: ../lib/common/functions.sh
    ===================================================================
    --- ../lib/common/functions.sh  (revisión: 4807)
    +++ ../lib/common/functions.sh  (revisión: 4844)
    @@ -588,6 +588,15 @@
                         fi
                     done
                     ;;
    +            php${php_ver}-mysqlnd)
    +                for phpmysql in $(echo php${php_ver}-mysqlnd php${php_ver}-mysql); do
    +                    eval $packagelist $phpmysql >>$workingdir/error_logs/fog_error_${version}.log 2>&1
    +                    if ]; do
             [[ $cnt -eq 0 ]] && echo "Failed init_32.xz"
    +        let cnt+=1
             dots "Attempting to redownload init_32.xz"
    -        curl --silent -ko "${webdirdest}/service/ipxe/init_32.xz" https://fogproject.org/init_32.xz >/dev/null 2>&1```

  • Developer

    Yeah!! Works fine


  • Senior Developer

    @Fernando-Gietz I already found and fixed it.


Log in to reply
 

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.