I realize this has come up repeatedly before. My use case does not have any explicit driver selection and is as simple as it can possibly be, so none of the prior answers I've found seem applicable, but it still triggers this warning. The input file is:
\documentclass[11pt]{report}
\usepackage{hyperref}
\begin{document}
\chapter{Chapter}
\end{document}
I'm using texlive 2018.20190227-2 as packaged for Debian 10.2 (installed a few days ago). Running pdflatex on the sample above generates the error:
! Package hyperref Error: Wrong DVI mode driver option `ps2pdf', (hyperref)
because pdfTeX or LuaTeX is running in PDF mode.
Complete log is at https://controlc.com/50fc47f0
Running pdflatex on a Debian 9 system with texlive 2016.2017012 installed doesn't suffer this problem. I wondered if hyperref.cfg from the listings-ext package had some bearing on this, but it's identical between the two environments and I'm at a loss. Is there some other way I should be invoking pdflatex, or some environment parameters I can pass in to get around this?