Remove the outer leaves from the cabbage, cut the cabbage in half, then quarter it, cut out the stalk, and cut the quarters (if necessary, cut them in half again, i.e., into eighths) crosswise into small pieces.
Cut the onion into small pieces.
Heat oil in a big pan and sauté the onion until translucent.
Next, add the sugar and let it caramelize a bit.
Now come the caraway seeds and cabbage. Stir.
Cover and let steam, until the cabbage turns slightly brown. This can take up to an hour. Stir occasionally. Don't worry if there will be any liquid. It comes from the cabbage, in the end everything will be perfect.
Sometime after about 30 minutes stir in the salt, vegetable stock powder, and vinegar. And keep on stirring occasionally.
Cook the pasta according to the instructions on the package, minus one minute: remove the pasta from the boiling water a minute earlier, as it might absorb some liquid from the cabbage. Strain and mix with the cabbage.
Season with salt & pepper and sprinkle with finely chopped parsley.