Chop the garlic and the pitted hot peppers. Pat the anchovy fillets dry and chop them.
Heat the oil. Sweat the garlic, pepperoni, anchovy fillets and half of the parsley in it. Add the canned tomatoes and tomato paste. Mash the tomatoes with a fork and season the sauce with salt, pepper and sugar. Let simmer for 20 minutes.
Cook the pasta in salted water. Cut the olives into slices and add to the sauce with the capers and the remaining parsley. Season again to taste and serve with the pasta.