wordpress Unpacking the update… Could not create directory. Installation Failed code example
Example: unpacking the package... could not create directory. wordpress
sudo find /var/www/wordpress/ -type d -exec chmod 755 {} \;
sudo find /var/www/wordpress/ -type f -exec chmod 644 {} \;