I have found very useful information please follow these steps to upgrade joomla.
1- CURL must be enabled, which was my originally error.
2- Go to the administrator panel and set the temp path to /tmp
3- Enable the Gzip
4- Upload and install. com_jupgrade-2.5.2 file.
enjoy!.