The troubled British rocker was sentenced by an east London court.
He had been arrested by police investigating the death of heiress Robin Whitehead, who died from a suspected drug overdose last year.
The Babyshambles frontman - who has a history of drug use - had been due to perform a concert in Scotland Friday evening.