Peel and finely dice the onions. Peel and slice the garlic. Dice bacon. Wash thyme, dab dry and pluck the leaves from the stalk. Cook the pasta in boiling salted water for ten minutes. In the meantime, skip the bacon in a pan.
Add onions, garlic and bay leaf and fry. Stir in tomato paste, dust with flour and sauté briefly. Deglaze with the canned tomatoes, add ketchup and bring to the boil. Add 3/4 of the thyme, stir in and season with salt, pepper, paprika, sugar and cayenne pepper. Drain the noodles, rinse them, arrange them in a bowl, spread the sauce over them and serve sprinkled with the remaining thyme