[indiana-discuss] en_US.UTF-8: unknown locale

Suresh Chandrasekharan Suresh.Chandrasekharan at Sun.COM
Wed May 6 08:43:04 PDT 2009


Hi Gerard,

You must have hit this issue with b101
http://defect.opensolaris.org/bz/show_bug.cgi?id=5630

"

Assuming this is duplicate of bug 6767074 (man command bug),
closing this bug. 6767074 was fixed in snv_104 SUNWdoc."


Pl. try installing SUNWdoc from snv_104 to see if this helps.

I have cc'ed the pkg-discuss your pkg fix issue for their comments

So pl. reinstall SUNWdoc and then reinstalll SUNWlang-enUS to see if 
that helps.

(If SUNWdoc is not reinstalled and if you invoke man as root, then the 
locale shared object will be deleted, you may encounter this issue again)

Regards,
Suresh

solarg wrote:
> Suresh Chandrasekharan wrote:
>>
>> Pl give
>>
>> $ cd /usr/lib/locale/en_US.UTF-8/
>> $ file en_US.UTF-8.so.3
>> en_US.UTF-8.so.3:    ELF 32-bit LSB dynamic lib 80386 Version 1, 
>> dynamically linked, not stripped
>> $ file methods_en_US.UTF-8.so.3
>> methods_en_US.UTF-8.so.3:    ELF 32-bit LSB dynamic lib 80386 Version 
>> 1, dynamically linked, not stripped
>>
>> and make sure that the architecture is right. I'm pretty sure that it 
>> will be wrong...
>>
>> Make sure to install the right packages.
>>
>
> i don't understand, i don't have the choice of architecture.
> And now, files have disappeared, and i'm unable to fix:
> henry at antigone:/usr/lib/locale/en_US.UTF-8# LC_ALL=C pfexec pkg fix 
> SUNWlang-enUS
> Verifying: pkg:/SUNWlang-enUS                                   ERROR
>         link: usr/lib/locale/en_US.UTF-8/32
>                 usr/lib/locale/en_US.UTF-8/32 is not symbolic link
>         link: usr/lib/locale/en_US.UTF-8/64
>                 usr/lib/locale/en_US.UTF-8/64 is not symbolic link
>         dir: usr/lib/locale/en_US.UTF-8/LC_COLLATE
>                 Directory does not exist
>         dir: usr/lib/locale/en_US.UTF-8/LC_CTYPE
>                 Directory does not exist
>         link: usr/lib/locale/en_US.UTF-8/LC_CTYPE/32
>                 usr/lib/locale/en_US.UTF-8/LC_CTYPE/32 is not symbolic 
> link
>         link: usr/lib/locale/en_US.UTF-8/LC_CTYPE/64
>                 usr/lib/locale/en_US.UTF-8/LC_CTYPE/64 is not symbolic 
> link
>         link: usr/lib/locale/en_US.UTF-8/LC_CTYPE/LCL_DEF
>                 usr/lib/locale/en_US.UTF-8/LC_CTYPE/LCL_DEF is not 
> symbolic link
>         dir: usr/lib/locale/en_US.UTF-8/LC_CTYPE/amd64
>                 Directory does not exist
>         link: usr/lib/locale/en_US.UTF-8/LC_CTYPE/amd64/wdresolve.so
>                 usr/lib/locale/en_US.UTF-8/LC_CTYPE/amd64/wdresolve.so 
> is not symbolic link
>         link: usr/lib/locale/en_US.UTF-8/LC_CTYPE/ldterm.dat
>                 usr/lib/locale/en_US.UTF-8/LC_CTYPE/ldterm.dat is not 
> symbolic link
>         link: usr/lib/locale/en_US.UTF-8/LC_CTYPE/wdresolve.so
>                 usr/lib/locale/en_US.UTF-8/LC_CTYPE/wdresolve.so is 
> not symbolic link
>         dir: usr/lib/locale/en_US.UTF-8/LC_MESSAGES
>                 Directory does not exist
>         dir: usr/lib/locale/en_US.UTF-8/LC_MONETARY
>                 Directory does not exist
>         dir: usr/lib/locale/en_US.UTF-8/LC_NUMERIC
>                 Directory does not exist
>         dir: usr/lib/locale/en_US.UTF-8/LC_TIME
>                 Directory does not exist
>         dir: usr/lib/locale/en_US.UTF-8/LO_LTYPE
>                 Directory does not exist
>         link: usr/lib/locale/en_US.UTF-8/LO_LTYPE/32
>                 usr/lib/locale/en_US.UTF-8/LO_LTYPE/32 is not symbolic 
> link
>         link: usr/lib/locale/en_US.UTF-8/LO_LTYPE/64
>                 usr/lib/locale/en_US.UTF-8/LO_LTYPE/64 is not symbolic 
> link
>         dir: usr/lib/locale/en_US.UTF-8/LO_LTYPE/amd64
>                 Directory does not exist
>         link: 
> usr/lib/locale/en_US.UTF-8/LO_LTYPE/amd64/en_US.UTF-8.layout.so.1
>
> usr/lib/locale/en_US.UTF-8/LO_LTYPE/amd64/en_US.UTF-8.layout.so.1 is 
> not symbolic link
>         link: usr/lib/locale/en_US.UTF-8/LO_LTYPE/en_US.UTF-8.layout.so.1
>
> usr/lib/locale/en_US.UTF-8/LO_LTYPE/en_US.UTF-8.layout.so.1 is not 
> symbolic link
>         dir: usr/lib/locale/en_US.UTF-8/amd64
>                 Directory does not exist
>         link: usr/lib/locale/en_US.UTF-8/amd64/methods_en_US.UTF-8.so.3
>
> usr/lib/locale/en_US.UTF-8/amd64/methods_en_US.UTF-8.so.3 is not 
> symbolic link
>         link: usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3
>                 usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3 is 
> not symbolic link
>         file: usr/lib/locale/en_US.UTF-8/amd64/en_US.UTF-8.so.3
>                 File does not exist
>         file: usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3
>                 File does not exist
>         file: usr/lib/locale/en_US.UTF-8/geo_map
>                 File does not exist
>         file: usr/lib/locale/en_US.UTF-8/locale_description
>                 File does not exist
>         file: usr/lib/locale/en_US.UTF-8/locale_map
>                 File does not exist
>         legacy: SUNWlang-enUS
>                 Missing directory var/sadm/pkg/SUNWlang-enUS
> Created ZFS snapshot: 2009-05-06-15:03:54
> Repairing: pkg:/SUNWlang-enUS
> DOWNLOAD                                    PKGS       FILES     XFER 
> (MB)
> Completed                                    1/1         6/6     
> 0.91/0.91
>
> PHASE                                        ACTIONS
> Update Phase                                   13/31 Action upgrade 
> failed for 'SUNWlang-enUS' (pkg:/SUNWlang-enUS):
>  KeyError: 'version'
> Traceback (most recent call last):
>   File "/usr/bin/pkg", line 2228, in ?
>     __ret = main_func()
>   File "/usr/bin/pkg", line 2191, in main_func
>     return fix_image(img, pargs)
>   File "/usr/bin/pkg", line 407, in fix_image
>     success = img.repair(repairs, progresstracker)
>   File "/usr/lib/python2.4/vendor-packages/pkg/client/image.py", line 
> 752, in repair
>     ip.execute()
>   File "/usr/lib/python2.4/vendor-packages/pkg/client/imageplan.py", 
> line 701, in execute
>     p.execute_update(src, dest)
>   File "/usr/lib/python2.4/vendor-packages/pkg/client/pkgplan.py", 
> line 289, in execute_update
>     dest.install(self, src)
>   File "/usr/lib/python2.4/vendor-packages/pkg/actions/legacy.py", 
> line 66, in install
>     svr4attrs = {
> KeyError: 'version'
>
>
> pkg: This is an internal error.  Please let the developers know about 
> this
> problem by filing a bug at http://defect.opensolaris.org and including 
> the
> above traceback and this message.  The version of pkg(5) is 
> '666742d60b75'.
>
>




More information about the indiana-discuss mailing list