I've a Pogoplug Pro P01 on which I've installed Arch Linux ARM install using oxnas-install.sh script.
After I ran pacman -Syyfu, I got the following warning $this->bbcode_second_pass_code('', 'man: can't set the locale; make sure $LC_* and $LANG are correct')
After reading about locale, I commented en_US.UTF-8 in /etc/locale-gen and ran locale-gen. The above warning generated by man disappeared.
Later when I tried to install another package I got the following error:
$this->bbcode_second_pass_code('', 'error: error while reading package /var/cache/pacman/pkg/ca-certificates-20110421-3-any.pkg.tar.xz: Pathname in pax header can't be converted to current locale.
error: failed to commit transaction (invalid or corrupted package)
ca-certificates-20110421-3-any.pkg.tar.xz is invalid or corrupted
Errors occurred, no packages were upgraded.')
I googled and found that in order to fix this I've to set locale to UTF-8. However if I uncomment the line en_US.UTF-8 UTF-8 in /etc/locale.gen and then run locale-gen, I get the following error
$this->bbcode_second_pass_code('', '# locale-gen
Generating locales...
en_US.UTF-8...cannot map archive header: Invalid argument')
I googled the above error and the only relevant link was to a debian bug report which said that the problem had been fixed in a subsequent version of the same package. I also searched on this fourm but did not find other people facing such problem. Suggestions?