x11/diagnostic/dpyinfo manifest has bad character encoding
pkg info ## fails with exception
pkg: 'ascii' codec can't encode character '\u2212' in position 28: ordinal not in range(128)
from file in: /var/pkg/publisher/openindiana.org/pkg/
less decodes this as:
set name=pkg.summary value="xdpyinfo <E2><88><92> display information utility for X"
Ascii set uses: dash==hyphen==minus
Some word processors may change -- to unicode hyphen "smart character"
Perhaps this is what happened here?
Updated by Andreas Wacknitz 10 months ago
When have you updated your OI installion last? We had this kind of problem in the past but it has been fixed with a pkg update.
pkg info userland-incorporation
should give you the information. In my environment I cannot reproduce your problem.
Updated by matt farnsworth 10 months ago
I tried to update again. I got 1 install and 429 updates. The problem remains.
I had to hack the pkg engine to get update to work, because of a server problem at the pkg.openindiana.org site. The server may respond 400 Bad Request to a valid request. I have inspected the requests with tcpdump. The specific file associated with the failure varies.
The hack is contrary to http protocol specifications and not recommended, but does force update to work...
if respcode == 400:
ex.retryable = True