Make sure you don’t use apt versions of required software (wget, bz2 and ev. CURL) and all should be well. See also: