Hi Mike, Yes, the issue exists as: http://defect.opensolaris.org/bz/show_bug.cgi?id=18892
Thanks, Takeshi On 2011年11月14日 14:46, Mike Gerdts wrote:
In something that I read in the past week, it said that pkg installs a file if all variants match the image and if any facet matches. That is, variants use AND, facets use OR. Assuming that is correct, it seems as though this file (and ~1100 others for various other languages) have facets that don't really work as intended. $ pkg contents -m pkg:/system/[email protected] | \ grep usr/share/man/ja_JP.UTF-8/man1/cksum.1 | pkgfmt file 0c6e2def7dad4898c79e2b9fba7db7adaec02c85 \ path=usr/share/man/ja_JP.UTF-8/man1/cksum.1 owner=root group=bin \ mode=0444 chash=59afefe3bd0a39ede6585c43d12eb3d3cf207e4a pkg.csize=3115 \ pkg.size=7146 facet.doc.man=true facet.locale.ja_JP=true The intent would seem to be "if you want man pages AND you want the ja_JP locale, you get this file." However, it says "if you want man pages OR you want the ja_JP locale, you get this file. Put another way, I can't remove non-English man pages from a system while retaining the English ones. Perhaps a better way to handle this would be file 0c6e2def7dad4898c79e2b9fba7db7adaec02c85 \ path=usr/share/man/ja_JP.UTF-8/man1/cksum.1 owner=root group=bin \ mode=0444 chash=59afefe3bd0a39ede6585c43d12eb3d3cf207e4a pkg.csize=3115 \ pkg.size=7146 facet.doc.man.locale.ja_JP=true Then, if I want English man pages but no others, I could do: # pkg change-facet facet.doc.man=true facet.doc.man.locale=false And when I pick up Japanese but still don't speak French or Russian or ... # pkg change-facet facet.doc.man.locale.ja_JP=true Or perhaps I've misunderstood something along the way.
_______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
