Package: apt (src:apt) Version: 1.2.1 (from Alioth git tag) When attempting a search for a package with Apt using this command,
apt search foo-that-does-not-exist Well, obviously that "foo-that-does-not-exist" is not available from the repository, Apt throws this back at me. root [ base-editors@staging ] # apt search foo-that-does-not-exist Sorting... Done Full Text Search... Done root [ base-editors@staging ] # But that is it. I am writing this feature request to suggest that we add a message saying "'foo-that-does-not-exist' is not available from your repository configuration" or something similar. Even better if Apt can suggest a package (or multiple candidates) with (a) similar name(s) as well. But as of now, not printing an error informing the user of the invalid query is quite far from ideal. Best Regards, Jeff Bai, developer from AOSC