You are not doing anything wrong.
Stetch-Backports does not have
pandoc. The version of
pandoc you are installing is coming from your main Stable (Stretch) repository. Here is a list of all available versions of
pandoc in the Debian Repos.
I would advise against just simply adding the Buster repos to your system to avoid creating FrankenDebian. Buster is in the middle of a full freeze and should be set to be released as the next Debian Stable in a few months.
Please consider what features that
pandoc 2.2.1 has that you feel you are missing in
pandoc 1.17.2. Debian back ports security fixes so unless you are encountering a bug or are missing a new feature it may not be necessary to upgrade.
If you require the newer version of
pandoc this leaves your options as:
- Waiting for Debian Buster to release and fully upgrading your system, getting the new package at that time.
- Upgrading to Buster now to get the package.
- Asking for a backported package to be uploaded (by filing a bug,
However, these tasks are outside the scope of your current question.