The switch --footer-center, is not support using unpatched qt, and will be ignored.
Your PDF is still made. That is the problem. The footer with page numbers is silently gone, the header from its file is gone, the table of contents is gone — and the program calls it a success.
Marqius

Where you see this line
You fixed the first error — Package 'wkhtmltopdf' has no installation candidate — by pinning your runner or server to Ubuntu 24.04, or by installing Ubuntu's own wkhtmltopdf package. The install works. The program runs. Then this appears in the log:
The switch --footer-center, is not support using unpatched qt, and will be ignored.And the PDF comes out with no footer.
If you are reading this before checking your PDFs: check your PDFs. Every document made since the switch is missing these pieces. The line is the only warning you get.
What is dropped, silently
Tested by hand on Ubuntu 24.04 with Ubuntu's own package:
What you asked for | What you get |
|---|---|
| the warning line, and no footer |
| the warning line, and no header |
| unsupported in the unpatched build; check the exit code and whether a contents page was produced |
A render can exit successfully even when a footer option is ignored. A test that only checks the exit code can miss it. The invoice your customer receives has no page numbers.
Why it happens
wkhtmltopdf exists in two builds. The one from the project's own releases is built with a patched Qt, which is what draws headers, footers and tables of contents outside the page. The one Ubuntu ships in its repository is built without the patch, because the patch cannot go into Debian and Ubuntu's packaging rules.
The project's own last Linux build with the patch is from May 2023, made for Ubuntu 22.04. There is none for 24.04 or 26.04. So on current Ubuntu you can have the distro's package (no footers) or the 2023 package (no support). That is the whole choice, and the warning line is the distro package telling you which side you picked.
The fix
Install Marqius to use the same footer and header options on current systems:
sudo curl -fsSLo /etc/apt/sources.list.d/marqius.sources https://packages.marqius.com/apt/marqius.sources
sudo apt update && sudo apt install marqius-wkhtmltopdf
sudo marqius-wkhtmltopdf installmarqius-wkhtmltopdf install gives it the names wkhtmltopdf and wkhtmltoimage, so your commands, your libraries and your templates do not change. Undo it with sudo marqius-wkhtmltopdf install --undo.
In GitHub Actions, one step:
- uses: marqiushq/setup-marqius-wkhtmltopdf@v1
with:
wkhtmltopdf-names: truemarqius-wkhtmltopdf is built from scratch on the foundation of that command line — the same options and templates — as one statically linked file. Footers with page numbers, headers from files and tables of contents work as they did in the patched builds.
Check what you already have
If documents have been printed on an unpatched build, compare. Make one PDF with a maintained build and check it against one made before:
marqius-wkhtmltopdf compare old.pdf new.pdfIt gives a verdict and lists each difference with its page and its kind: text, number, date, page break, font, spacing. Missing footers and contents pages show up as what they are.
Sources
Reader questions
Is the PDF still valid otherwise?
Yes. The pages, text and images are fine. Only the pieces drawn outside the page — headers, footers with page numbers, tables of contents — are left out.
Does pinning Ubuntu 24.04 avoid this?
No. Ubuntu 24.04's package is the unpatched build; that is where this line comes from. Pinning only avoids the missing-package error.
What about Debian?
The same: Debian's package is built without the patch, and Debian 13 ships no wkhtmltopdf at all. The apt repository above covers Debian 12 and 13 too.
What does it cost?
There are two licences. The Community licence is free: for personal projects, for teaching and learning, and for open-source projects, including their CI test runs and documentation builds. The commercial licence is for businesses.
Who makes it?
Marqius is commercial software from Simple AI LLC. It is independent of the wkhtmltopdf project.