I've merged multiple PDFs that were generated with Latex. These PDFs contain page ranges, meaning "real page" 40 and "real page 41" are simple transitions - e.g. adding an item to a bullet list. So when going to page 41 in my PDF viewer I end up at "real page" 42.
Since multiple files have been merged these page ranges conflict themselves in my PDF viewer, see here (page 1 points to "real page" 260, 309, 338 etc.):
qpdf --linearize pages.pdf # or exiftool -all:all= pages.pdf
Both didn't work. Is there any way besides printing to PDF to get rid off this page metadata?