Fwd: dpkg-query --load-avail not working?

2018-05-28 Thread Tong Sun
On Mon, May 28, 2018 at 6:27 AM, Colin Watson wrote: > On Sun, May 27, 2018 at 03:42:26PM -0400, Tong Sun wrote: > > 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-* > >

Re: dpkg-query --load-avail not working?

2018-05-28 Thread Colin Watson
On Sun, May 27, 2018 at 03:42:26PM -0400, Tong Sun wrote: > 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-* It'll work if /var/lib/dpkg/available is being kept up to date, w

dpkg-query --load-avail not working?

2018-05-27 Thread Tong Sun
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 y