Magento: ERROR: unable to unpack

Magento: ERROR: unable to unpack


The following error (or similar) is shown in Magento Connect Manager on installation/upgrade:

ERROR: unable to unpack downloader/pearlib/download/AW_Blog-1.0.21.tgz


There is a bug in current stable PEAR/Archive_Tar implementation resulting in impossibility to unpack archives made by certain software versions.


To fix it simply replace downloader/pearlib/php/Archive/Tar.php file with a patched version  or apply a patch from