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

Tong Sun uddaa.xpt at spamgourmet.com
Tue May 29 03:28:32 UTC 2018


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-*
>
> It'll work if /var/lib/dpkg/available is being kept up to date, which
> apt doesn't do by default.  You can use "dselect update" in place of
> "apt update" to update the available file as well as doing the other
> index-update tasks.
>

Works like a charm. Thanks Colin!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-devel-discuss/attachments/20180528/8c1d70b1/attachment.html>


More information about the Ubuntu-devel-discuss mailing list