If you stick to these rules, your marmalade will turn out perfectly:
Before adding the pectin to the fruit puree, you have to mix it with a small amount of sugar. It's very important to have a constant temperature regime, otherwise the mixture won't cool down!
Make sure to add lemon juice, citric acid or tartaric acid to the mixture, otherwise the pectin won't start functioning.