Am 11.01.21 um 15:47 schrieb Nona Hansel:
Hi,

I'm trying to update findutils.  Some test are skipping because I
don't have zh_CN.GB18030 locale on my system. How can I get it?
pfexec pkg info -r doesn't work for me in this case.
Thank you in advance.
Nona

_______________________________________________
oi-dev mailing list
[email protected]
https://openindiana.org/mailman/listinfo/oi-dev
Hi,

it looks like locale/zh_cn-extra has the needed files:
╰─➤  pkg contents zh_cn-extra
PATH
usr
usr/lib
usr/lib/locale
usr/lib/locale/zh_CN.GB18030
usr/lib/locale/zh_CN.GB18030/LC_COLLATE
usr/lib/locale/zh_CN.GB18030/LC_COLLATE/LCL_DATA
usr/lib/locale/zh_CN.GB18030/LC_CTYPE
usr/lib/locale/zh_CN.GB18030/LC_CTYPE/LCL_DATA
usr/lib/locale/zh_CN.GB18030/LC_MESSAGES
usr/lib/locale/zh_CN.GB18030/LC_MESSAGES/LCL_DATA
usr/lib/locale/zh_CN.GB18030/LC_MONETARY
usr/lib/locale/zh_CN.GB18030/LC_MONETARY/LCL_DATA
usr/lib/locale/zh_CN.GB18030/LC_NUMERIC
usr/lib/locale/zh_CN.GB18030/LC_NUMERIC/LCL_DATA
usr/lib/locale/zh_CN.GB18030/LC_TIME
usr/lib/locale/zh_CN.GB18030/LC_TIME/LCL_DATA

What I did was
pkg list -a|grep locale\/zh_cn

and then grepping for GB18 in the contents of resulting packages. The
2nd grep found it
pkg contents locale/zh_cn | grep GB18
pkg contents locale/zh_cn-extra|grep GB18


Regards,
Andreas
_______________________________________________
oi-dev mailing list
[email protected]
https://openindiana.org/mailman/listinfo/oi-dev

Reply via email to