Can't update httpd

yum --disablerepo="*" --enablerepo=“virtualmin” update

Loaded plugins: fastestmirror, priorities, protectbase, security

Determining fastest mirrors

virtualmin | 1.2 kB 00:00

virtualmin/primary | 30 kB 00:00

virtualmin: [################################################################################################################################################## ] 96/1000 packages excluded due to repository protections

Setting up Update Process

Resolving Dependencies

–> Running transaction check

—> Package httpd.x86_64 1:2.2.15-28.el6.vm.2 will be updated

—> Package httpd.x86_64 1:2.2.15-29.el6.vm will be an update

–> Processing Dependency: httpd-tools = 2.2.15-29.el6.vm for package: 1:httpd-2.2.15-29.el6.vm.x86_64

—> Package httpd-tools.x86_64 1:2.2.15-28.el6.vm.2 will be updated

—> Package httpd-tools.x86_64 1:2.2.15-29.el6.vm will be an update

—> Package mod_ssl.x86_64 2:2.2.15-28.el6.vm.2 will be updated

—> Package mod_ssl.x86_64 2:2.2.15-29.el6.vm will be an update

–> Finished Dependency Resolution

Error: Package: 1:httpd-2.2.15-29.el6.vm.x86_64 (virtualmin)

Requires: httpd-tools = 2.2.15-29.el6.vm

Removing: 1:httpd-tools-2.2.15-28.el6.vm.2.x86_64 (@virtualmin)

httpd-tools = 1:2.2.15-28.el6.vm.2

Updated By: 1:httpd-tools-2.2.15-29.el6.vm.x86_64 (virtualmin)

httpd-tools = 1:2.2.15-29.el6.vm

Available: httpd-tools-2.2.15-15.el6.i386 (virtualmin)

httpd-tools = 2.2.15-15.el6

Available: 1:httpd-tools-2.2.15-5.el6.vm.x86_64 (virtualmin)

httpd-tools = 1:2.2.15-5.el6.vm

Available: 1:httpd-tools-2.2.15-9.el6.2.vm.x86_64 (virtualmin)

httpd-tools = 1:2.2.15-9.el6.2.vm

Available: 1:httpd-tools-2.2.15-15.el6.x86_64 (virtualmin)

httpd-tools = 1:2.2.15-15.el6

Available: 1:httpd-tools-2.2.15-15.el6.vm.x86_64 (virtualmin)

httpd-tools = 1:2.2.15-15.el6.vm

Available: 1:httpd-tools-2.2.15-15.el6.vm.1.x86_64 (virtualmin)

httpd-tools = 1:2.2.15-15.el6.vm.1

Available: 1:httpd-tools-2.2.15-28.el6.vm.x86_64 (virtualmin)

httpd-tools = 1:2.2.15-28.el6.vm

Available: 1:httpd-tools-2.2.15-28.el6.vm.1.x86_64 (virtualmin)

httpd-tools = 1:2.2.15-28.el6.vm.1

You could try using --skip-broken to work around the problem

You could try running: rpm -Va --nofiles --nodigest

please help me … i have the above problem appeared today

Hi

I also have the same problem with 3 updates that appeared today. httpd, httpd-tools & mod_ssl.

Regards

Dingo

I also have the same problem too. The 3 updates are httpd, httpd-tools and mod_ssl.

Greetings

Schnuecks

Same here.

Package Description Version
httpd Apache HTTP Server 2.2.15-29.el6.vm
mod_ssl SSL/TLS module for the Apache HTTP Server 2.2.15-29.el6.vm

Yep also get the same error message today with the two new updates

[code]
Installing package(s) with command yum -y install httpd …

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile

  • base: mirror.bytemark.co.uk
  • extras: centos.hyve.com
  • rpmforge: ftp.nluug.nl
  • updates: mirrors.coreix.net
    Setting up Install Process
    Resolving Dependencies
    –> Running transaction check
    —> Package httpd.x86_64 1:2.2.15-28.el6.vm.2 will be updated
    –> Processing Dependency: httpd = 1:2.2.15-28.el6.vm.2 for package: 2:mod_ssl-2.2.15-28.el6.vm.2.x86_64
    –> Processing Dependency: httpd = 1:2.2.15-28.el6.vm.2 for package: 1:httpd-devel-2.2.15-28.el6.vm.2.x86_64
    —> Package httpd.x86_64 1:2.2.15-29.el6.vm will be an update
    –> Processing Dependency: httpd-tools = 2.2.15-29.el6.vm for package: 1:httpd-2.2.15-29.el6.vm.x86_64
    –> Running transaction check
    —> Package httpd.x86_64 1:2.2.15-29.el6.vm will be an update
    –> Processing Dependency: httpd-tools = 2.2.15-29.el6.vm for package: 1:httpd-2.2.15-29.el6.vm.x86_64
    —> Package httpd-devel.x86_64 1:2.2.15-28.el6.vm.2 will be updated
    —> Package httpd-devel.x86_64 1:2.2.15-29.el6.vm will be an update
    —> Package mod_ssl.x86_64 2:2.2.15-28.el6.vm.2 will be updated
    —> Package mod_ssl.x86_64 2:2.2.15-29.el6.vm will be an update
    –> Finished Dependency Resolution
    Error: Package: 1:httpd-2.2.15-29.el6.vm.x86_64 (virtualmin)
    Requires: httpd-tools = 2.2.15-29.el6.vm
    Installed: 1:httpd-tools-2.2.15-28.el6.vm.2.x86_64 (@virtualmin)
    httpd-tools = 1:2.2.15-28.el6.vm.2
    Available: httpd-tools-2.2.15-15.el6.i386 (virtualmin)
    httpd-tools = 2.2.15-15.el6
    Available: httpd-tools-2.2.15-26.el6.centos.x86_64 (base)
    httpd-tools = 2.2.15-26.el6.centos
    Available: httpd-tools-2.2.15-28.el6.centos.x86_64 (updates)
    httpd-tools = 2.2.15-28.el6.centos
    Available: httpd-tools-2.2.15-29.el6.centos.x86_64 (updates)
    httpd-tools = 2.2.15-29.el6.centos
    Available: 1:httpd-tools-2.2.15-5.el6.vm.x86_64 (virtualmin)
    httpd-tools = 1:2.2.15-5.el6.vm
    Available: 1:httpd-tools-2.2.15-9.el6.2.vm.x86_64 (virtualmin)
    httpd-tools = 1:2.2.15-9.el6.2.vm
    Available: 1:httpd-tools-2.2.15-15.el6.x86_64 (virtualmin)
    httpd-tools = 1:2.2.15-15.el6
    Available: 1:httpd-tools-2.2.15-15.el6.vm.x86_64 (virtualmin)
    httpd-tools = 1:2.2.15-15.el6.vm
    Available: 1:httpd-tools-2.2.15-15.el6.vm.1.x86_64 (virtualmin)
    httpd-tools = 1:2.2.15-15.el6.vm.1
    Available: 1:httpd-tools-2.2.15-28.el6.vm.x86_64 (virtualmin)
    httpd-tools = 1:2.2.15-28.el6.vm
    Available: 1:httpd-tools-2.2.15-28.el6.vm.1.x86_64 (virtualmin)
    httpd-tools = 1:2.2.15-28.el6.vm.1
    Available: 1:httpd-tools-2.2.15-29.el6.vm.x86_64 (virtualmin)
    httpd-tools = 1:2.2.15-29.el6.vm
    You could try using --skip-broken to work around the problem
    You could try running: rpm -Va --nofiles --nodigest

… install failed![/code]

And then

Now updating mod_ssl ..

    Installing package(s) with command yum -y install mod_ssl ..

    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
     * base: mirror.bytemark.co.uk
     * extras: centos.hyve.com
     * rpmforge: ftp.nluug.nl
     * updates: mirrors.coreix.net
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package mod_ssl.x86_64 2:2.2.15-28.el6.vm.2 will be updated
    ---> Package mod_ssl.x86_64 2:2.2.15-29.el6.vm will be an update
    --> Processing Dependency: httpd = 1:2.2.15-29.el6.vm for package: 2:mod_ssl-2.2.15-29.el6.vm.x86_64
    --> Running transaction check
    ---> Package httpd.x86_64 1:2.2.15-28.el6.vm.2 will be updated
    --> Processing Dependency: httpd = 1:2.2.15-28.el6.vm.2 for package: 1:httpd-devel-2.2.15-28.el6.vm.2.x86_64
    ---> Package httpd.x86_64 1:2.2.15-29.el6.vm will be an update
    --> Processing Dependency: httpd-tools = 2.2.15-29.el6.vm for package: 1:httpd-2.2.15-29.el6.vm.x86_64
    --> Running transaction check
    ---> Package httpd.x86_64 1:2.2.15-29.el6.vm will be an update
    --> Processing Dependency: httpd-tools = 2.2.15-29.el6.vm for package: 1:httpd-2.2.15-29.el6.vm.x86_64
    ---> Package httpd-devel.x86_64 1:2.2.15-28.el6.vm.2 will be updated
    ---> Package httpd-devel.x86_64 1:2.2.15-29.el6.vm will be an update
    --> Finished Dependency Resolution
    Error: Package: 1:httpd-2.2.15-29.el6.vm.x86_64 (virtualmin)
               Requires: httpd-tools = 2.2.15-29.el6.vm
               Installed: 1:httpd-tools-2.2.15-28.el6.vm.2.x86_64 (@virtualmin)
                   httpd-tools = 1:2.2.15-28.el6.vm.2
               Available: httpd-tools-2.2.15-15.el6.i386 (virtualmin)
                   httpd-tools = 2.2.15-15.el6
               Available: httpd-tools-2.2.15-26.el6.centos.x86_64 (base)
                   httpd-tools = 2.2.15-26.el6.centos
               Available: httpd-tools-2.2.15-28.el6.centos.x86_64 (updates)
                   httpd-tools = 2.2.15-28.el6.centos
               Available: httpd-tools-2.2.15-29.el6.centos.x86_64 (updates)
                   httpd-tools = 2.2.15-29.el6.centos
               Available: 1:httpd-tools-2.2.15-5.el6.vm.x86_64 (virtualmin)
                   httpd-tools = 1:2.2.15-5.el6.vm
               Available: 1:httpd-tools-2.2.15-9.el6.2.vm.x86_64 (virtualmin)
                   httpd-tools = 1:2.2.15-9.el6.2.vm
               Available: 1:httpd-tools-2.2.15-15.el6.x86_64 (virtualmin)
                   httpd-tools = 1:2.2.15-15.el6
               Available: 1:httpd-tools-2.2.15-15.el6.vm.x86_64 (virtualmin)
                   httpd-tools = 1:2.2.15-15.el6.vm
               Available: 1:httpd-tools-2.2.15-15.el6.vm.1.x86_64 (virtualmin)
                   httpd-tools = 1:2.2.15-15.el6.vm.1
               Available: 1:httpd-tools-2.2.15-28.el6.vm.x86_64 (virtualmin)
                   httpd-tools = 1:2.2.15-28.el6.vm
               Available: 1:httpd-tools-2.2.15-28.el6.vm.1.x86_64 (virtualmin)
                   httpd-tools = 1:2.2.15-28.el6.vm.1
               Available: 1:httpd-tools-2.2.15-29.el6.vm.x86_64 (virtualmin)
                   httpd-tools = 1:2.2.15-29.el6.vm
     You could try using --skip-broken to work around the problem
     You could try running: rpm -Va --nofiles --nodigest

    .. install failed!

Yeah, there’s a problem with the Apache packages – I’ve notified Joe so that he can look into that. It should be fixed shortly!

-Eric

hi, i’m receiving the same issue on centos 6 64bit. is there a way to install an old working virtualmin script? i was going crazy before i’ve read this thread. thank you so much

Hi, it is now ok for the updates but I can’t start apache!

[Sun Aug 25 17:16:54 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Aug 25 17:16:54 2013] [error] Server should be SSL-aware but has no certificate configured [Hint: SSLCertificateFile] (/etc/httpd/conf/httpd.conf:1379)

Please help!
[I disabled port 443 and apache is able to start]

Howdy,

The issue should be corrected now – be sure to run yum clean all prior to attempting the upgrade or installation again, as yum has incorrect dependency info in it’s metadata.

-Eric

Andreychek.

Did this also fix the “not being able to restart Apache” problem from szehau.
Reluctant to update anything if there is a chance of breakage.

We haven’t been able to reproduce an issue that prevents Apache from starting.

The update worked properly on all the systems we attempted it on, including the virtualmin.com server.

If anyone else sees that issue, please let us know so we can perform further review. Be sure to mention what distro/version you’re using in that report.

The Apache package is identical to what CentOS provides, except with suexec compiled to use /home rather than /var/www.

However, if there’s any concern about that, there’s no harm in waiting a day, or trying it first on a test server, to make sure nothing unusual is going on.

-Eric

You’re right, it works fine on a test server. Thanks :slight_smile:

All fine here too. Many thanks.

Regards

Dingo

Updating works fine again :slight_smile:

I’m not sure why but it seems that my SSL settings for VirtualServer *:443 gone after the update. I can enable SSL and start apache after I have added the default settings back

<VirtualHost *:443>
DocumentRoot /var/www/html
<Directory “/var/www/html”>
allow from all
Options +Indexes

SSLEngine on
SSLProtocol +SSLv3 +TLSv1
SSLCertificateFile /etc/pki/tls/certs/localhost.crt
SSLCertificateKeyFile /etc/pki/tls/private/localhost.key

It works fine now :slight_smile:

after upgrade PHP not work, only work with one virtual host ?

please help me to fix this problem ?

That sounds like a PHP issue, possibly related to having third party repositories enabled… could you start a new Forum thread for that issue, and in that new thread, include the output of the command rpm -qa | grep php-.

Thanks!

-Eric

Hello, I have the same problem with the last update of httpd (august 2015)

Linux 2.6.32-042stab085.20 on i686
CentOS Linux 6.7
Virtualmin version 4.18
httpd Apache HTTP Server New version 2.2.15-47.el6.vm
httpd-devel Development interfaces for the Apache HTTP server New version 2.2.15-47.el6.vm
httpd-tools Tools for use with the Apache HTTP Server New version 2.2.15-47.el6.vm V
mod_ssl SSL/TLS module for the Apache HTTP Server New version 2.2.15-47.el6.vm

#yum update
Complementos cargados:fastestmirror
Configurando el proceso de actualización
Loading mirror speeds from cached hostfile

  • base: mirror.cc.columbia.edu
  • extras: mirrors.lga7.us.voxel.net
  • updates: mirror.ash.fastserv.com
    Resolviendo dependencias
    –> Ejecutando prueba de transacción
    —> Package httpd.i686 1:2.2.15-39.el6.vm will be actualizado
    —> Package httpd.i686 1:2.2.15-47.el6.vm will be an update
    –> Procesando dependencias: httpd-tools = 2.2.15-47.el6.vm para el paquete: 1:httpd-2.2.15-47.el6.vm.i686
    —> Package httpd-devel.i686 1:2.2.15-39.el6.vm will be actualizado
    —> Package httpd-devel.i686 1:2.2.15-47.el6.vm will be an update
    —> Package httpd-tools.i686 1:2.2.15-39.el6.vm will be actualizado
    —> Package httpd-tools.i686 1:2.2.15-47.el6.vm will be an update
    —> Package mod_ssl.i686 2:2.2.15-39.el6.vm will be actualizado
    —> Package mod_ssl.i686 2:2.2.15-47.el6.vm will be an update
    –> Resolución de dependencias finalizada
    Error: Paquete: 1:httpd-2.2.15-47.el6.vm.i686 (virtualmin)
    Necesita: httpd-tools = 2.2.15-47.el6.vm
    Eliminando: 1:httpd-tools-2.2.15-39.el6.vm.i686 (@virtualmin)
    httpd-tools = 1:2.2.15-39.el6.vm
    Actualizado por: 1:httpd-tools-2.2.15-47.el6.vm.i686 (virtualmin)
    httpd-tools = 1:2.2.15-47.el6.vm
    Disponible: httpd-tools-2.2.15-45.el6.centos.i686 (base)
    httpd-tools = 2.2.15-45.el6.centos
    Disponible: httpd-tools-2.2.15-47.el6.centos.i686 (updates)
    httpd-tools = 2.2.15-47.el6.centos
    Disponible: 1:httpd-tools-2.2.15-9.el6.2.vm.i686 (virtualmin)
    httpd-tools = 1:2.2.15-9.el6.2.vm
    Disponible: 1:httpd-tools-2.2.15-9.sl6.vm.i386 (virtualmin)
    httpd-tools = 1:2.2.15-9.sl6.vm
    Disponible: 1:httpd-tools-2.2.15-15.el6.vm.i386 (virtualmin)
    httpd-tools = 1:2.2.15-15.el6.vm
    Disponible: 1:httpd-tools-2.2.15-15.el6.vm.1.i686 (virtualmin)
    httpd-tools = 1:2.2.15-15.el6.vm.1
    Disponible: 1:httpd-tools-2.2.15-28.el6.vm.i686 (virtualmin)
    httpd-tools = 1:2.2.15-28.el6.vm
    Disponible: 1:httpd-tools-2.2.15-28.el6.vm.1.i686 (virtualmin)
    httpd-tools = 1:2.2.15-28.el6.vm.1
    Disponible: 1:httpd-tools-2.2.15-29.el6.vm.i686 (virtualmin)
    httpd-tools = 1:2.2.15-29.el6.vm
    Disponible: 1:httpd-tools-2.2.15-29.el6.vm.1.i686 (virtualmin)
    httpd-tools = 1:2.2.15-29.el6.vm.1
    Disponible: 1:httpd-tools-2.2.15-30.el6.vm.i686 (virtualmin)
    httpd-tools = 1:2.2.15-30.el6.vm
    Disponible: 1:httpd-tools-2.2.15-31.el6.centos.vm.i686 (virtualmin)
    httpd-tools = 1:2.2.15-31.el6.centos.vm
    Podría intentar utilizar el comando --skip-broken para sortear el problema
    Podría intentar ejecutar: rpm- Va --nofiles --nodigest