Created attachment 624603 [details] upgrade.log Description of problem: yum update from an old instance, some packages failed to be installed and return errors. yum update again, the failed packages are installed successfully Version-Release number of selected component (if applicable): On devenv-stage_239 How reproducible: Always Steps to Reproduce: 1. Launch an old instance(devenv-stage_239), prepare data on it 2. Modify /etc/yum.repos.d/li.repo, replace 'stage' with 'candidate' in order to upgrade to latest devenv 3. yum -y update| tee -a upgrade.log Actual results: The following packages failed to be installed: Failed: mod-php-5.3-apache2-zend-server.x86_64 0:5.3.14-5 mod-php-5.3-apache2-zend-server.x86_64 0:5.3.14-7 php-5.3-fcgi-zend-server.x86_64 0:5.3.14-1 php-5.3-fcgi-zend-server.x86_64 0:5.3.14-3 php-5.3-imap-zend-server.x86_64 0:5.3.14-1 php-5.3-imap-zend-server.x86_64 0:5.3.14-3 php-5.3-ldap-zend-server.x86_64 0:5.3.14-1 php-5.3-ldap-zend-server.x86_64 0:5.3.14-3 php-5.3-pdo-mysql-zend-server.x86_64 0:5.3.14-1 php-5.3-pdo-mysql-zend-server.x86_64 0:5.3.14-3 php-5.3-pdo-pgsql-zend-server.x86_64 0:5.3.14-1 php-5.3-pdo-pgsql-zend-server.x86_64 0:5.3.14-3 php-5.3-zip-zend-server.x86_64 0:5.3.14-1 php-5.3-zip-zend-server.x86_64 0:5.3.14-3 zend-server-framework2.noarch 0:2.0.2-291 error messages are like: Updating : mod-php-5.3-apache2-zend-server-5.3.14-7.x86_64 1/308 error: unpacking of archive failed on file /usr/local/zend/etc/php.ini;5074fe1b: cpio: open ..... Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000] [14] unable to open database file' in /usr/local/zend/share/scripts/zs_jq_db_handler.php:15 Stack trace: #0 /usr/local/zend/share/scripts/zs_jq_db_handler.php(15): PDO->__construct('sqlite:/db/jobq...') #1 /usr/local/zend/share/scripts/zs_create_databases.php(680): JQDBHandler->__construct() #2 {main} thrown in /usr/local/zend/share/scripts/zs_jq_db_handler.php on line 15 X-Powered-By: PHP/5.3.14 ZendServer/5.0^M Content-type: text/html^M yum update again and they were installed successfully Expected results: Should be installed correctly Additional info: I can install the failed packages the second time I run 'yum update', but these packages always failed for the first time of 'yum update'. So maybe there should be a fix for this? Full log is attached.
Created attachment 627661 [details] Script to fix migration issues This script must be run before trying a yum update.
*** Bug 862933 has been marked as a duplicate of this bug. ***
Verify this bug with devel provided sh. 1.Launch devenv-stage_239. 2.Create some apps on it. 3.Run the zend_migration_fix.sh 4.Do upgrade. yum update -y All the packages updated successfully.