Subscribe to this blog

Follow by Email

Error when upgrading Wordpress from 3.4.2 to 4.0

Just a couple minutes ago I's trying to upgrade our "ancient" wordpress blog which is still running on a Ubuntu 10.04 server from version 3.4.2 to the latest version, 4.0. It wasn't that easy. This error showed up after I press the "Upgrade" button:

The package could not be installed.: PCLZIP_ERR_BAD_FORMAT (-10)...

What's up man?

Okey, I did these following to fix that:

1. Make sure the wordpress directory has the correct owner:

$ sudo chown -R www-data:www-data /var/www/wordpress

2. Then temporary change permission of the wordpress folder like following: