dpkg --install does take a value, the package to install. And running just that
dpkg --install without a value produces the expected error
dpkg: error: --install needs at least one package archive file argument
But given that the error message is literally nonsense, then what is causing the problem? The end result is that the build procedure fails, the package built is not installed, and the build log leaves just this as a clue to the error.
Things I've checked:
- Passing a file which doesn't exist gives the correct error message "No such file or directory"
- Running as non-root gives "requested operation requires superuser privilege"
--install=package.debdoesn't fix the problem (the
--helpis ambiguous whether you need an = sign for values, and it appears this is correct. Some arguments do, others don't).