Eleven people were arrested on Tuesday for public violence and possession of stolen goods in Jouberton, outside Klerksdorp, police said.
They went on the rampage after evictions by the Matlosana municipality, said Lt-Col Lesego Metsi.
“Since this morning, the community members of the affected extensions gathered along the main streets and barricaded roads with stones and other objects,” said Metsi.
He said residents of informal settlements in the area began looting shops around 10am.
Two Pakistanis were injured in the attack.
Metsi said seven people were arrested for possession of goods thought to have been stolen from three businesses in the area. Four people were arrested for public violence.
They would be formally charges and would appear soon in the Klerksdorp Magistrate's Court.
He said the police continued to monitor the situation and urged residents “not to take their frustration and anger out on innocent residents and foreign nationals”.
“... We would like to urge all the parties to co-operate and resolve the situation amicably.” - Sapa