Comment 2 for bug 1075260

Daniel Hartwig (wigs) wrote :

> […] or an error message detailing that the argument passed is invalid
> due to the extra set of quotations.

Not really possible for APT to check the validity of another programs options. However, it can check that the exit status of this call to dpkg is 0 and issue an error or warning otherwise.