Cut the vegetables into small pieces. Heat the oil in a saucepan and fry the vegetables in it. Sprinkle with sugar and caramelize a little. Add tomato paste and sweat a little. Add the tomatoes, season with vegetable stock and herbs. Simmer on a low flame for at least 45 minutes. The longer the better.
Season to taste with salt and pepper and pour into glasses that have been rinsed with hot water. Close, place on the lid and let cool. In summer you can of course also use fresh tomatoes.