Привет
решил сегодня поставить ноду на Убунту 16
выполнил первую команду: sudo apt-get update && sudo apt-get -y upgrade и понеслись ошибки с LOCALE
Get:65
http://bg.archive.ubuntu.com/ubuntu xenial-updates/main amd64 ubuntu-standard amd64 1.361.1 [2608 B]
Get:66
http://bg.archive.ubuntu.com/ubuntu xenial-security/main amd64 linux-firmware all 1.157.14 [44.8 MB]
Get:67
http://bg.archive.ubuntu.com/ubuntu xenial-updates/main amd64 unattended-upgrades all 0.90ubuntu0.8 [32.4 kB]
Fetched 78.2 MB in 5s (14.7 MB/s)
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_US:",
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LANG = "en_US"
are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Extracting templates from packages: 100%
Preconfiguring packages ...
а после апгрейда убунты не стали устанавливаться переменные окружения:
alex@unassigned-hostname:~/sentinel$ virtualenv ./venv
Running virtualenv with interpreter /usr/bin/python2
New python executable in /home/alex/sentinel/venv/bin/python2
Also creating executable in /home/alex/sentinel/venv/bin/python
Installing setuptools, pkg_resources, pip, wheel...
Complete output from command /home/alex/sentinel/venv/bin/python2 - setuptools pkg_resources pip wheel:
Traceback (most recent call last):
File "
", line 24, in
File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/__init__.py", line 215, in main
File "/home/alex/sentinel/venv/lib/python2.7/locale.py", line 581, in setlocale
return _setlocale(category, locale)
locale.Error: unsupported locale setting
----------------------------------------
...Installing setuptools, pkg_resources, pip, wheel...done.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/virtualenv.py", line 2363, in
main()
File "/usr/lib/python3/dist-packages/virtualenv.py", line 719, in main
symlink=options.symlink)
File "/usr/lib/python3/dist-packages/virtualenv.py", line 988, in create_environment
download=download,
File "/usr/lib/python3/dist-packages/virtualenv.py", line 918, in install_wheel
call_subprocess(cmd, show_stdout=False, extra_env=env, stdin=SCRIPT)
File "/usr/lib/python3/dist-packages/virtualenv.py", line 812, in call_subprocess
% (cmd_desc, proc.returncode))
OSError: Command /home/alex/sentinel/venv/bin/python2 - setuptools pkg_resources pip wheel failed with error code 1
alex@unassigned-hostname:~/sentinel$ ls
CNAME COPYING LICENSE README.md _config.yml bin database lib requirements.txt sentinel.conf share test venv
alex@unassigned-hostname:~/sentinel$ ./venv/bin/pip install -r requirements.txt
bash: ./venv/bin/pip: No such file or directory
alex@unassigned-hostname:~/sentinel$
Походу после последнего обновления Убунты начался головняк с локалями и инструкция по установке не катит больше. Сейчас переставлю Убунту и не буду выполнять обновление, посмотрим чё будет.