Closed ZHOUYue67 closed 4 years ago
You have to unzip the locale file for some reason, I found.
@fpqc Yes. On a 'real' Ubuntu 16.10 machine, files under /usr/share/i18n/charmaps
are not required to be decompressed first to be used.
@MikeChou Someone, either Rolisoft or Therealkenc found exactly which failing syscall causes this.
I have the same error message: my /bin/gzip
was corrupted, reinstalling gzip
package fixed the issue.
i also have to recreate this file https://www.apt-browse.com/browse/ubuntu/trusty/main/all/locales/2.13+git20120306-12/file/usr/share/locales/install-language-pack for installing other packages(chmod 755), thanks for the gzip clue, in my case have to manually do it, re installing gzip didn't do the trick, regards!
Confirmed, issue is corrected by unzipping the locale and running locale-gen
locale-gen
had been broken for a long time. The direct cause was #1005 but since the bug was fixed now it raises another error:
localedef: ../sysdeps/unix/sysv/linux/spawni.c:360: __spawnix: Assertion `ec >= 0' failed.
@JackieKu could you file a new bug?
@fpqc Sure. #1878
/dupe #1005
Hi! We've identified this issue as a duplicate of another one that already exists in this repository. This specific instance is being closed in favor of tracking the concern over on the referenced thread.
Thanks for your report!
I know that Ubuntu 16.10 is not supported right now. I am just reporting this issue hoping it might help.
locale
command for example, the output is:more outputs provided at the end of this post
Prompt=normal
in/etc/update-manager/release-upgrades
do-release-upgrade
to upgrade to Ubuntu 16.10More outputs and details
sudo locale-gen
ls /usr/share/i18n/charmaps/
gzip
is already installed and installinglocales-all
does not help