Steve: I think it does not happen with 14.04 because Apache is not restarted during the upgrade process. Not sure why but that's what my tests with 14.04 showed me.
My tests with 12.04 are not 100% reproducible which makes me wonder if there is a race condition in the postinst script of libapache2-mod-php5. Is there a chance that Apache is reloaded before ldconfig is completely finished? That would also explain why a simple restart of Apache solves the problem.
This is how I test:
# apt-get install libc6=2.15-0ubuntu10.13 libc-bin=2.15-0ubuntu10.13 libapache2-mod-php5=5.3.10-1ubuntu3 php5-common=5.3.10-1ubuntu3
# apt-get upgrade
In some cases Apache does not restart successfully, in some it does.
Steve: I think it does not happen with 14.04 because Apache is not restarted during the upgrade process. Not sure why but that's what my tests with 14.04 showed me. mod-php5. Is there a chance that Apache is reloaded before ldconfig is completely finished? That would also explain why a simple restart of Apache solves the problem. 15-0ubuntu10. 13 libc-bin= 2.15-0ubuntu10. 13 libapache2- mod-php5= 5.3.10- 1ubuntu3 php5-common= 5.3.10- 1ubuntu3
My tests with 12.04 are not 100% reproducible which makes me wonder if there is a race condition in the postinst script of libapache2-
This is how I test:
# apt-get install libc6=2.
# apt-get upgrade
In some cases Apache does not restart successfully, in some it does.