Bug#1064036: dpkg: wrong dpkg-query exit status on syntax error?

2024-02-15 Thread Christoph Anton Mitterer
Hey Guillem. On Fri, 2024-02-16 at 05:26 +0100, Guillem Jover wrote: > > Thanks! Well rather: thank you, for your constant efforts to DPKG and the whole ecosystem. > > At least it seems to make it impossible to definitely find out > > whether a package > > is not installed (respectively not

Bug#1064036: dpkg: wrong dpkg-query exit status on syntax error?

2024-02-15 Thread Christoph Anton Mitterer
Package: dpkg Version: 1.22.4 Severity: normal Hey. dpkg-query manpage says: EXIT STATUS 0 The requested query was successfully performed. 1 The requested query failed either fully or partially, due to no file or package being found (except for

Bug#1064036: dpkg: wrong dpkg-query exit status on syntax error?

2024-02-15 Thread Guillem Jover
Hi! On Fri, 2024-02-16 at 04:37:47 +0100, Christoph Anton Mitterer wrote: > Package: dpkg > Version: 1.22.4 > Severity: normal > dpkg-query manpage says: > EXIT STATUS >0 The requested query was successfully performed. > >1 The requested query failed either fully or