Page 1 of 1

Opkg (gpkg) error?

Posted: Sat Feb 11, 2023 5:17 am
by Kenderice
Hi.
I have a problem.
I installed gargoyle on an x86 machine with 16GB SSD storage.

If I issue the terminal command "opkg list", it lists a bunch of plugins.
However, if I want to narrow the list of results to "opkg list **" (entering something between the two stars), then there are no results.

Is this a bug or is this not the way to use this command?
Thanks.

Re: Opkg (gpkg) error?

Posted: Sat Feb 11, 2023 6:37 am
by Lantis
Call everything via gpkg (opkg is just a symlink to it anyway).
The correct pattern is:
gpkg list -r <pattern>

where <pattern> is a valid regex (// is not required).

e.g.

Code: Select all

root@Gargoyle:~# gpkg list -r ubus.*
libubus20220601 - 2022-06-01-2bebf93c-1
ubus - 2022-06-01-2bebf93c-1
ubusd - 2022-06-01-2bebf93c-1

Re: Opkg (gpkg) error?

Posted: Sat Feb 11, 2023 8:42 am
by Kenderice
Thanks.