Hello! Using apt `2.3.9ubuntu0.1` (impish) and earlier, I’m getting the exit code 100 for both, non-existent package, and non-existent version: ``` $ apt-cache show badpackage=badversion; echo $? N: Unable to locate package badpackage E: No packages found 100 $ apt-cache show bash=badversion; echo $? E: Version 'badversion' for 'bash' was not found E: No packages found 100 ``` But using apt version `2.4.13` (jammy), I’m getting exit code 0 for a non-existent version: ``` $ apt-cache show badpackage=badversion; echo $? N: Unable to locate package badpackage E: No packages found 100 $ apt-cache show bash=badversion; echo $? N: Version 'badversion' for 'bash' was not found N: No packages found 0 ``` Is this an intended change in behaviour? Why would we consider package not found an error, but version not found a success? Best regards, Ewa |