git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

dpkg-query --load-avail not working?


The man page for `--load-avail` says that it will *"also load the available
file". *
This means it will work for uninstalled packages as well as the installed
ones, right?

The answer from
https://www.linuxquestions.org/questions/linux-newbie-8/dpkg-list-4175503904/
seems to concur with this:

If you want a list of ALL available packages.
> # dpkg-query --load-avail -l '*'


If so, then somehow dpkg-query --load-avail is not working:

$ dpkg-query --load-avail --list 'golang-github-*'
dpkg-query: no packages found matching golang-github-*

Anyone can help/confirm, etc? Thx.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-devel-discuss/attachments/20180527/ff7cd906/attachment.html>