I am attempting to create a package to install sabnzbdplus on a NAS and what the issue is while testing the installed package which is referencing a "unsupported locale setting". The output looks like this:
Code: Select all
[=======> ] 95%[WARNING] Command "chroot /opt/devine/showcase-98d933c /etc/rc.local start" exited with code 1 and the following output: Starting SABnzbd+ binary newsgrabber: failed!
Traceback (most recent call last):
File "/usr/bin/sabnzbdplus", line 66, in <module>
import sabnzbd
File "/usr/share/sabnzbdplus/sabnzbd/__init__.py", line 85, in <module>
import sabnzbd.api
File "/usr/share/sabnzbdplus/sabnzbd/api.py", line 29, in <module>
locale.setlocale(locale.LC_ALL, "")
File "/usr/lib/python2.7/locale.py", line 547, in setlocale
return _setlocale(category, locale)
locale.Error: unsupported locale setting
[INFO] Progress: [================================================================>] 100%
[ERROR] Error starting the package com.mycompany.showcase: Error while launching 'rc.local'
Code: Select all
sudo apt-get install language-pack-en language-pack-en-base manpages
Code: Select all
E: Unable to locate package language-pack-en
Code: Select all
root@devine-VirtualBox:/# locale -a
C
C.UTF-8
POSIX
Code: Select all
root@devine-VirtualBox:/# locale
LANG=en_US.UTF-8
LANGUAGE=en_US
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=C
any help with understanding this greatly appreciated
thanks