First roast the finely chopped onion in a little oil. Then stir in the sugar and let it caramelize.
Add the cabbage and deglaze with vinegar and vegetable stock. Mix everything well, season with salt and caraway seeds, cover and let simmer for about 15 minutes. Then stir in the tomato paste and paprika powder well and cook for another 10 minutes. If necessary, season with salt or a little vinegar.