WordPress: Solution for “Image could not be processed. Please go back and try again.”

This is a rather cryptical error message WordPress gives when trying to upload a header image and it fails.

The solution is to make sure your server has php(5)-gd installed.

Ubuntu:

apt-get install php5-gd

Red Hat:

yum install php-gd

Ubuntu: apt-get update gives 404 Not Found error

If you recieve “404 Not found” during a apt-get update / apt-get upgrade, the problem can be one of two things:

1)  Your Ubuntu installation is no longer supported.
You can check this by comparing the output of the command:
against the list of Ubuntu releases here:
https://wiki.ubuntu.com/Releases (Notice “End of Life” date)

If your release has reached end of life, you can do upgrade to a new release by following the guide here:
http://www.ubuntu.com/desktop/get-ubuntu/upgrade

2) Temporary problems
The mirror(s) you are using can have temporary problems, in such case you should simply try again later.