These places are encouraging criminals rather than punishing them, which is why most of these thugs rioting and looting can care less about being arrested.
Yes, the only solution to these problems is proper punishement along with rehabilitation, if you reward the criminals with better lifestyle in so called youth centres, they will commit crimes more and more in the future.