ImportError: No module named 'django'

686 views
Skip to first unread message

Alvaro Mendez

unread,
Mar 5, 2017, 4:09:57 PM3/5/17
to OpenWISP
Hi everyone,

First of all thanks in advance for your help.

i have run ansible to install openwisp2 on mi vps with ubuntu installed  and have this error:

TASK [openwisp.openwisp2 : settings.py] ****************************************

ok: [localhost] => {"changed": false, "gid": 33, "group": "www-data", "mode": "0644", "owner": "root", "path": "/opt/openwisp2/openwisp2/settings.py", "size": 4670, "state": "file", "uid": 0}


TASK [openwisp.openwisp2 : migrate] ********************************************

fatal: [localhost]: FAILED! => {"changed": false, "cmd": "./manage.py migrate --noinput", "failed": true, "msg": "\n:stderr: Traceback (most recent call last):\n  File \"./manage.py\", line 8, in <module>\n    from django.core.management import execute_from_command_line\nImportError: No module named 'django'\n", "path": "/opt/openwisp2/env/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin", "state": "absent", "syspath": ["/tmp/ansible_W4qkmg", "/tmp/ansible_W4qkmg/ansible_modlib.zip", "/tmp/ansible_W4qkmg/ansible_modlib.zip", "/usr/lib/python2.7", "/usr/lib/python2.7/plat-x86_64-linux-gnu", "/usr/lib/python2.7/lib-tk", "/usr/lib/python2.7/lib-old", "/usr/lib/python2.7/lib-dynload", "/usr/local/lib/python2.7/dist-packages", "/usr/lib/python2.7/dist-packages"]}

to retry, use: --limit @/root/openwisp2-ansible-playbook/playbook.retry


PLAY RECAP ********************************************************************* 

localhost                  : ok=24   changed=1    unreachable=0    failed=1   



Can you help me please? thanks.

best regards.

Federico Capoano

unread,
Mar 6, 2017, 4:13:26 AM3/6/17
to OpenWISP
Hi Alvaro,

this is strange, I need to ask you some questions to understand what's going wrong:
  • how did you launch ansible-playbook, can you paste the entire command?
  • what ubuntu version are you using on the target server?
  • on what target machine are you trying to install on? Is it a VM, a linux container or your own laptop?
  • what version of ansible are you using? Check it out with ansible --version
Federico

Alvaro Mendez

unread,
Mar 6, 2017, 6:35:14 AM3/6/17
to Federico Capoano, OpenWISP
Hello Federico, thanks for your time, here is the information you ask:


  • how did you launch ansible-playbook, can you paste the entire command?

as root i run:

ansible-playbook -i hosts playbook.yml -u tabako -k --ask-sudo-pass -vvv

  • what ubuntu version are you using on the target server?

root@s132:~# cat /etc/issue
Ubuntu 15.10 \n \l

root@s132:~# uname -a
Linux s132 4.2.0-042stab113.21 #1 SMP Wed Mar 23 11:05:25 MSK 2016 x86_64 x86_64 x86_64 GNU/Linux


  • on what target machine are you trying to install on? Is it a VM, a linux container or your own laptop?

It is a VM on an godaddy VPS.

  • what version of ansible are you using? Check it out with ansible --version

root@s132:~# ansible --version
ansible 2.2.0.0
  config file = /etc/ansible/ansible.cfg
  configured module search path = Default w/o overrides


Also here is other information:

root@s132:~# python
Python 2.7.10 (default, Oct 14 2015, 16:09:02)
[GCC 5.2.1 20151010] on linux2
Type "help", "copyright", "credits" or "license" for more information.


root@s132:~# django-admin

Type 'django-admin help <subcommand>' for help on a specific subcommand.

Available subcommands:

[django]
    check
    compilemessages
    createcachetable
    dbshell
    diffsettings
    dumpdata
    flush
    inspectdb
    loaddata
    makemessages
    makemigrations
    migrate
    runserver
    sendtestemail
    shell
    showmigrations
    sqlflush
    sqlmigrate
    sqlsequencereset
    squashmigrations
    startapp
    startproject
    test
    testserver
Note that only Django core commands are listed as settings are not properly configured (error: Requested setting INSTALLED_APP                                          S, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.co                                          nfigure() before accessing settings.).

root@s132:~/openwisp2-ansible-playbook# more hosts
[openwisp2]
localhost  ansible_ssh_host=132.148.88.35


root@s132:~/openwisp2-ansible-playbook# more playbook.yml
- hosts: openwisp2
  become: "{{ become | default('yes') }}"
  roles:
    - openwisp.openwisp2
  vars:
    openwisp2_shared_secret: tee456yt%$#


Thanks in advance for your help....



--
You received this message because you are subscribed to a topic in the Google Groups "OpenWISP" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/openwisp/y0rNUXUidu0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to openwisp+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
        Alvaro Mendez
ame...@opensolutions.cl
          8-9047532

Federico Capoano

unread,
Mar 6, 2017, 8:17:17 AM3/6/17
to OpenWISP
See below:


On Monday, March 6, 2017 at 12:35:14 PM UTC+1, Alvaro Mendez wrote:
Hello Federico, thanks for your time, here is the information you ask:

  • how did you launch ansible-playbook, can you paste the entire command?

as root i run:

ansible-playbook -i hosts playbook.yml -u tabako -k --ask-sudo-pass -vvv


Looks good.
 
  • what ubuntu version are you using on the target server?

root@s132:~# cat /etc/issue
Ubuntu 15.10 \n \l

 
I don't remember if I tried Ubuntu 15 or not, but since Ubuntu 14 and Ubuntu 16 surely work, it should work for Ubuntu 15 too.

root@s132:~# uname -a
Linux s132 4.2.0-042stab113.21 #1 SMP Wed Mar 23 11:05:25 MSK 2016 x86_64 x86_64 x86_64 GNU/Linux


  • on what target machine are you trying to install on? Is it a VM, a linux container or your own laptop?

It is a VM on an godaddy VPS.

  • what version of ansible are you using? Check it out with ansible --version


Good
 

root@s132:~# ansible --version
ansible 2.2.0.0
  config file = /etc/ansible/ansible.cfg
  configured module search path = Default w/o overrides



The ansible version is ok
 

Also here is other information:

root@s132:~# python
Python 2.7.10 (default, Oct 14 2015, 16:09:02)
[GCC 5.2.1 20151010] on linux2
Type "help", "copyright", "credits" or "license" for more information.



Python version is ok, check if the system has also python3, if it does, ansible-openwisp2 will be used using python3.
 

root@s132:~# django-admin

Type 'django-admin help <subcommand>' for help on a specific subcommand.


[cut]

This is fine but as a side not you should know that django is installed in a separate virtualenv, which is the part not currently working for you at the moment. 
 

root@s132:~/openwisp2-ansible-playbook# more hosts
[openwisp2]
localhost  ansible_ssh_host=132.148.88.35


This doesn't look right.

It should be something like:

[openwisp2]
132.148.88.35

If you want to run ansible locally you can then use the --connection local flag although that's not the best way to run ansible.

Could you try running ansible remotely from your own workstation and to edit the hostfile as suggested?

Try also removing the /opt/openwisp2 directory on the server, so it will be recreated.
 

root@s132:~/openwisp2-ansible-playbook# more playbook.yml
- hosts: openwisp2
  become: "{{ become | default('yes') }}"
  roles:
    - openwisp.openwisp2
  vars:
    openwisp2_shared_secret: tee456yt%$#

 
This also looks good.

Try the suggested changes and let me know!

Federico

Alvaro Mendez

unread,
Mar 6, 2017, 12:30:11 PM3/6/17
to Federico Capoano, OpenWISP
Dear Federico,

I run the installation as you said (from a vm in my laptop), but:

root@crushmind:~/openwisp2-ansible-playbook# ansible-playbook -i hosts playbook.yml -u tabako -k --ask-sudo-pass
SSH password:
SUDO password[defaults to SSH password]:

PLAY ***************************************************************************

TASK [setup] *******************************************************************
ok: [132.148.88.35]

TASK [openwisp.openwisp2 : include] ********************************************
included: /etc/ansible/roles/openwisp.openwisp2/tasks/apt.yml for 132.148.88.35

TASK [openwisp.openwisp2 : Update APT package cache] ***************************
ok: [132.148.88.35]

TASK [openwisp.openwisp2 : Install system packages] ****************************
ok: [132.148.88.35] => (item=[u'sudo', u'python-software-properties', u'build-essential', u'sqlite3', u'supervisor', u'nginx', u'openssl', u'libssl-dev', u'libffi-dev', u'python-dev'])

TASK [openwisp.openwisp2 : Install acl if acting as non-root user] *************
ok: [132.148.88.35]

TASK [openwisp.openwisp2 : ensure supervisor is started] ***********************
ok: [132.148.88.35]

TASK [openwisp.openwisp2 : Install python2 packages] ***************************
skipping: [132.148.88.35] => (item=[])

TASK [openwisp.openwisp2 : Install python3 packages] ***************************
ok: [132.148.88.35] => (item=[u'python3', u'python3-pip', u'python3-dev', u'python-virtualenv'])

TASK [openwisp.openwisp2 : Install python wheel (optional, allowed to fail)] ***
ok: [132.148.88.35] => (item=[u'python-wheel', u'python3-wheel'])

TASK [openwisp.openwisp2 : Install python3-virtualenv] *************************
skipping: [132.148.88.35] => (item=[])

TASK [openwisp.openwisp2 : Install git if using development version of any openwisp module] ***
skipping: [132.148.88.35]

TASK [openwisp.openwisp2 : include] ********************************************
included: /etc/ansible/roles/openwisp.openwisp2/tasks/pip.yml for 132.148.88.35

TASK [openwisp.openwisp2 : Update pip & related tools] *************************
changed: [132.148.88.35] => (item=pip)
changed: [132.148.88.35] => (item=setuptools)
changed: [132.148.88.35] => (item=wheel)

TASK [openwisp.openwisp2 : Install stable version of django-netjsonconfig] *****
failed: [132.148.88.35] => (item=django-netjsonconfig) => {"cmd": "/opt/openwisp2/env/bin/pip install -U django-netjsonconfig", "failed": true, "item": "django-netjsonconfig", "msg": "stdout: Collecting django-netjsonconfig\n  Using cached django_netjsonconfig-0.5.3.post1-py2.py3-none-any.whl\nCollecting django-sortedm2m<1.4,>=1.3.2 (from django-netjsonconfig)\n  Using cached django-sortedm2m-1.3.3.tar.gz\nCollecting django<1.11,>=1.9 (from django-netjsonconfig)\n  Using cached Django-1.10.6-py2.py3-none-any.whl\nCollecting jsonfield (from django-netjsonconfig)\n  Using cached jsonfield-2.0.0-py2.py3-none-any.whl\nCollecting netjsonconfig<0.6.0,>=0.5.4 (from django-netjsonconfig)\nCollecting django-model-utils (from django-netjsonconfig)\nRequirement already up-to-date: six in /opt/openwisp2/env/lib/python3.4/site-packages (from django-netjsonconfig)\nCollecting django-reversion<2.1,>=2.0.6 (from django-netjsonconfig)\n  Using cached django_reversion-2.0.8-py2.py3-none-any.whl\nCollecting django-x509<0.3.0,>=0.2.0 (from django-netjsonconfig)\n  Using cached django_x509-0.2-py2.py3-none-any.whl\nCollecting jinja2 (from netjsonconfig<0.6.0,>=0.5.4->django-netjsonconfig)\n  Using cached Jinja2-2.9.5-py2.py3-none-any.whl\nCollecting jsonschema (from netjsonconfig<0.6.0,>=0.5.4->django-netjsonconfig)\n  Using cached jsonschema-2.6.0-py2.py3-none-any.whl\nCollecting py2-ipaddress (from netjsonconfig<0.6.0,>=0.5.4->django-netjsonconfig)\n  Using cached py2-ipaddress-3.4.1.tar.gz\n    Complete output from command python setup.py egg_info:\n    py2-ipaddress: For Python 3.x, please use the official ipaddress module.\n    \n    ----------------------------------------\n\n:stderr: Command \"python setup.py egg_info\" failed with error code 1 in /tmp/pip-build-zqjakwwh/py2-ipaddress/\n"}

PLAY RECAP *********************************************************************
132.148.88.35              : ok=10   changed=1    unreachable=0    failed=1


root@crushmind:~/openwisp2-ansible-playbook# cat hosts
[openwisp2]
132.148.88.35
root@crushmind:~/openwisp2-ansible-playbook# cat playbook.yml

- hosts: openwisp2
  become: "{{ become | default('yes') }}"
  roles:
    - openwisp.openwisp2
  vars:
    openwisp2_shared_secret: 354R$543##


Best regards,
Alvaro


--
You received this message because you are subscribed to a topic in the Google Groups "OpenWISP" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/openwisp/y0rNUXUidu0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to openwisp+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Alvaro Mendez

unread,
Mar 6, 2017, 12:46:37 PM3/6/17
to Federico Capoano, OpenWISP
running command direct to server (command who fails):

root@s132:~# /opt/openwisp2/env/bin/pip install -U django-netjsonconfig
Collecting django-netjsonconfig
  Using cached django_netjsonconfig-0.5.3.post1-py2.py3-none-any.whl
Requirement already up-to-date: six in /opt/openwisp2/env/lib/python3.4/site-pac                                      kages (from django-netjsonconfig)
Collecting django-model-utils (from django-netjsonconfig)

Collecting netjsonconfig<0.6.0,>=0.5.4 (from django-netjsonconfig)
Collecting django-x509<0.3.0,>=0.2.0 (from django-netjsonconfig)
  Using cached django_x509-0.2-py2.py3-none-any.whl
Collecting jsonfield (from django-netjsonconfig)
  Using cached jsonfield-2.0.0-py2.py3-none-any.whl

Collecting django<1.11,>=1.9 (from django-netjsonconfig)
  Using cached Django-1.10.6-py2.py3-none-any.whl

Collecting django-reversion<2.1,>=2.0.6 (from django-netjsonconfig)
  Using cached django_reversion-2.0.8-py2.py3-none-any.whl

Collecting django-sortedm2m<1.4,>=1.3.2 (from django-netjsonconfig)
  Using cached django-sortedm2m-1.3.3.tar.gz

Collecting jinja2 (from netjsonconfig<0.6.0,>=0.5.4->django-netjsonconfig)
  Using cached Jinja2-2.9.5-py2.py3-none-any.whl

Collecting py2-ipaddress (from netjsonconfig<0.6.0,>=0.5.4->django-netjsonconfig                                      )
  Using cached py2-ipaddress-3.4.1.tar.gz

    Complete output from command python setup.py egg_info:
    py2-ipaddress: For Python 3.x, please use the official ipaddress module.

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-ex                                      38g4ud/py2-ipaddress/

Federico Capoano

unread,
Mar 6, 2017, 1:15:41 PM3/6/17
to OpenWISP
It's really weird. The virualenv is built with python3 but something believes it's running python2.

Was this a fresh VM?

Try adding:

openwisp2_python: python2.7

To your playbook vars section.

Then delete again /opt/openwisp2, run the playbook again and let me know.

Federico

Alvaro Mendez

unread,
Mar 6, 2017, 2:08:03 PM3/6/17
to Federico Capoano, OpenWISP
Dear Federico,

Now the installation run like a charm (but, dont work as spected):


root@crushmind:~/openwisp2-ansible-playbook# ansible-playbook -i hosts playbook.yml -u tabako -k --ask-sudo-pass
SSH password:
SUDO password[defaults to SSH password]:

PLAY ***************************************************************************

TASK [setup] *******************************************************************
ok: [132.148.88.35]

TASK [openwisp.openwisp2 : include] ********************************************
included: /etc/ansible/roles/openwisp.openwisp2/tasks/apt.yml for 132.148.88.35

TASK [openwisp.openwisp2 : Update APT package cache] ***************************
ok: [132.148.88.35]

TASK [openwisp.openwisp2 : Install system packages] ****************************
ok: [132.148.88.35] => (item=[u'sudo', u'python-software-properties', u'build-essential', u'sqlite3', u'supervisor', u'nginx', u'openssl', u'libssl-dev', u'libffi-dev', u'python-dev'])

TASK [openwisp.openwisp2 : Install acl if acting as non-root user] *************
ok: [132.148.88.35]

TASK [openwisp.openwisp2 : ensure supervisor is started] ***********************
ok: [132.148.88.35]

TASK [openwisp.openwisp2 : Install python2 packages] ***************************
ok: [132.148.88.35] => (item=[u'python-pip', u'python-dev', u'python-virtualenv'])

TASK [openwisp.openwisp2 : Install python3 packages] ***************************

skipping: [132.148.88.35] => (item=[])

TASK [openwisp.openwisp2 : Install python wheel (optional, allowed to fail)] ***
ok: [132.148.88.35] => (item=[u'python-wheel', u'python3-wheel'])

TASK [openwisp.openwisp2 : Install python3-virtualenv] *************************
skipping: [132.148.88.35] => (item=[])

TASK [openwisp.openwisp2 : Install git if using development version of any openwisp module] ***
skipping: [132.148.88.35]

TASK [openwisp.openwisp2 : include] ********************************************
included: /etc/ansible/roles/openwisp.openwisp2/tasks/pip.yml for 132.148.88.35

TASK [openwisp.openwisp2 : Update pip & related tools] *************************
changed: [132.148.88.35] => (item=pip)
changed: [132.148.88.35] => (item=setuptools)
ok: [132.148.88.35] => (item=wheel)


TASK [openwisp.openwisp2 : Install stable version of django-netjsonconfig] *****
ok: [132.148.88.35] => (item=django-netjsonconfig)

TASK [openwisp.openwisp2 : Install development version of django-netjsonconfig]
skipping: [132.148.88.35] => (item=git+git://github.com/openwisp/django-netjsonconfig#egg=django-netjsonconfig)

TASK [openwisp.openwisp2 : Install development version of netjsonconfig] *******
skipping: [132.148.88.35] => (item=git+git://github.com/openwisp/netjsonconfig#egg=netjsonconfig)

TASK [openwisp.openwisp2 : Install extra django apps] **************************
ok: [132.148.88.35] => (item=django_extensions)

TASK [openwisp.openwisp2 : Install uwsgi] **************************************
ok: [132.148.88.35] => (item=uwsgi)

TASK [openwisp.openwisp2 : Install psycopg2] ***********************************
skipping: [132.148.88.35]

TASK [openwisp.openwisp2 : Install MySQL-python] *******************************
skipping: [132.148.88.35]

TASK [openwisp.openwisp2 : Install raven (sentry client)] **********************

skipping: [132.148.88.35]

TASK [openwisp.openwisp2 : include] ********************************************
included: /etc/ansible/roles/openwisp.openwisp2/tasks/django.yml for 132.148.88.35

TASK [openwisp.openwisp2 : create /opt/openwisp2] ******************************
changed: [132.148.88.35]

TASK [openwisp.openwisp2 : create "/opt/openwisp2/openwisp2"] ******************
changed: [132.148.88.35]

TASK [openwisp.openwisp2 : create "/opt/openwisp2/log"] ************************
changed: [132.148.88.35]

TASK [openwisp.openwisp2 : manage.py] ******************************************
changed: [132.148.88.35]

TASK [openwisp.openwisp2 : __init__.py] ****************************************
changed: [132.148.88.35]

TASK [openwisp.openwisp2 : urls.py] ********************************************
changed: [132.148.88.35]

TASK [openwisp.openwisp2 : wsgi.py] ********************************************
changed: [132.148.88.35]

TASK [openwisp.openwisp2 : include] ********************************************
included: /etc/ansible/roles/openwisp.openwisp2/tasks/django_secret_key.yml for 132.148.88.35

TASK [openwisp.openwisp2 : upload generate_django_secret_key.py script] ********
changed: [132.148.88.35]

TASK [openwisp.openwisp2 : generate new django SECRET_KEY] *********************
changed: [132.148.88.35]

TASK [openwisp.openwisp2 : get django SECRET_KEY] ******************************
ok: [132.148.88.35]

TASK [openwisp.openwisp2 : set permission to secret key file] ******************
changed: [132.148.88.35]

TASK [openwisp.openwisp2 : set secret_key fact] ********************************
ok: [132.148.88.35]

TASK [openwisp.openwisp2 : settings.py] ****************************************
changed: [132.148.88.35]

TASK [openwisp.openwisp2 : migrate] ********************************************
changed: [132.148.88.35]

TASK [openwisp.openwisp2 : set permissions to sqlite db] ***********************
changed: [132.148.88.35]

TASK [openwisp.openwisp2 : collectstatic] **************************************
ok: [132.148.88.35]

TASK [openwisp.openwisp2 : create_superuser.py] ********************************
changed: [132.148.88.35]

TASK [openwisp.openwisp2 : create superuser (only if no superuser is present)] *
changed: [132.148.88.35]

TASK [openwisp.openwisp2 : include] ********************************************
included: /etc/ansible/roles/openwisp.openwisp2/tasks/supervisor.yml for 132.148.88.35

TASK [openwisp.openwisp2 : uwsgi.ini] ******************************************
changed: [132.148.88.35]

TASK [openwisp.openwisp2 : supervisor uwsgi] ***********************************

ok: [132.148.88.35]

TASK [openwisp.openwisp2 : include] ********************************************
included: /etc/ansible/roles/openwisp.openwisp2/tasks/nginx.yml for 132.148.88.35

TASK [openwisp.openwisp2 : create "/opt/openwisp2/public_html"] ****************
changed: [132.148.88.35]

TASK [openwisp.openwisp2 : create "/opt/openwisp2/ssl"] ************************
changed: [132.148.88.35]

TASK [openwisp.openwisp2 : create SSL cert if not exists yet] ******************
changed: [132.148.88.35]

TASK [openwisp.openwisp2 : nginx site available] *******************************
changed: [132.148.88.35]

TASK [openwisp.openwisp2 : nginx site enabled] *********************************
changed: [132.148.88.35]

RUNNING HANDLER [openwisp.openwisp2 : reload supervisor] ***********************
changed: [132.148.88.35]

RUNNING HANDLER [openwisp.openwisp2 : restart nginx] ***************************
changed: [132.148.88.35]

PLAY RECAP *********************************************************************
132.148.88.35              : ok=44   changed=24   unreachable=0    failed=0





then i open my browser, go to /admin and nothing!

in the server the directory public_html is empty:

root@s132:/opt/openwisp2/public_html# ls -la
total 8
drwxr-xr-x 2 root root     4096 Mar  6 12:02 .
drwxrwxr-x 8 root www-data 4096 Mar  6 12:02 ..


root@s132:/opt/openwisp2# du -h
32K     ./openwisp2
12K     ./ssl
4.0K    ./env/local
16K     ./env/lib/python2.7/distutils
52K     ./env/lib/python2.7/site-packages/setuptools-34.3.1.dist-info
64K     ./env/lib/python2.7/site-packages/pip-9.0.1.dist-info
64K     ./env/lib/python2.7/site-packages/pip/compat
28K     ./env/lib/python2.7/site-packages/pip/_vendor/cachecontrol/caches
152K    ./env/lib/python2.7/site-packages/pip/_vendor/cachecontrol
88K     ./env/lib/python2.7/site-packages/pip/_vendor/colorama
224K    ./env/lib/python2.7/site-packages/pip/_vendor/pkg_resources
1.3M    ./env/lib/python2.7/site-packages/pip/_vendor/requests/packages/chardet
84K     ./env/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/contrib
20K     ./env/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/packages/ssl_match_hostname
124K    ./env/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/packages
132K    ./env/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util
600K    ./env/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3
1.9M    ./env/lib/python2.7/site-packages/pip/_vendor/requests/packages
2.6M    ./env/lib/python2.7/site-packages/pip/_vendor/requests
48K     ./env/lib/python2.7/site-packages/pip/_vendor/progress
164K    ./env/lib/python2.7/site-packages/pip/_vendor/packaging
304K    ./env/lib/python2.7/site-packages/pip/_vendor/distlib/_backport
1.4M    ./env/lib/python2.7/site-packages/pip/_vendor/distlib
132K    ./env/lib/python2.7/site-packages/pip/_vendor/html5lib/treebuilders
88K     ./env/lib/python2.7/site-packages/pip/_vendor/html5lib/treewalkers
124K    ./env/lib/python2.7/site-packages/pip/_vendor/html5lib/filters
36K     ./env/lib/python2.7/site-packages/pip/_vendor/html5lib/_trie
28K     ./env/lib/python2.7/site-packages/pip/_vendor/html5lib/treeadapters
1.1M    ./env/lib/python2.7/site-packages/pip/_vendor/html5lib
84K     ./env/lib/python2.7/site-packages/pip/_vendor/webencodings
84K     ./env/lib/python2.7/site-packages/pip/_vendor/lockfile
6.7M    ./env/lib/python2.7/site-packages/pip/_vendor
196K    ./env/lib/python2.7/site-packages/pip/req
20K     ./env/lib/python2.7/site-packages/pip/models
28K     ./env/lib/python2.7/site-packages/pip/operations
200K    ./env/lib/python2.7/site-packages/pip/utils
108K    ./env/lib/python2.7/site-packages/pip/vcs
180K    ./env/lib/python2.7/site-packages/pip/commands
7.8M    ./env/lib/python2.7/site-packages/pip
224K    ./env/lib/python2.7/site-packages/pkg_resources
32K     ./env/lib/python2.7/site-packages/pyparsing-2.2.0.dist-info
548K    ./env/lib/python2.7/site-packages/setuptools/command
1.5M    ./env/lib/python2.7/site-packages/setuptools
11M     ./env/lib/python2.7/site-packages
11M     ./env/lib/python2.7
2.9M    ./env/lib/python-wheels
14M     ./env/lib
3.4M    ./env/bin
4.0K    ./env/include
17M     ./env
12K     ./log
4.0K    ./public_html
16K     ./static/django-netjsonconfig/css
176K    ./static/django-netjsonconfig/js
196K    ./static/django-netjsonconfig
68K     ./static/ui/openwisp/images
72K     ./static/ui/openwisp
76K     ./static/ui
60K     ./static/sortedm2m
8.0K    ./static/django_extensions/css
48K     ./static/django_extensions/js
8.0K    ./static/django_extensions/img
68K     ./static/django_extensions
68K     ./static/admin/css
200K    ./static/admin/js/vendor/xregexp
348K    ./static/admin/js/vendor/jquery
552K    ./static/admin/js/vendor
36K     ./static/admin/js/admin
716K    ./static/admin/js
12K     ./static/admin/img/gis
92K     ./static/admin/img
264K    ./static/admin/fonts
1.2M    ./static/admin
8.0K    ./static/django-x509/css
12K     ./static/django-x509
1.6M    ./static
19M     .


i feel so close!!!! hahaha please your help and like always thanks in advance for your time...

best regards,
Alvaro

--
You received this message because you are subscribed to a topic in the Google Groups "OpenWISP" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/openwisp/y0rNUXUidu0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to openwisp+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Federico Capoano

unread,
Mar 6, 2017, 2:13:51 PM3/6/17
to Alvaro Mendez, OpenWISP
Try running manually these two commands:

service nginx restart
supervisorctl reload

Does the situation change?

If not, I'm afraid the only way I can do some debugging is to get in. I'd like to understand if this is a general issue that happens on ubuntu 15 or not.

Federico

To unsubscribe from this group and all its topics, send an email to openwisp+u...@googlegroups.com.

Federico Capoano

unread,
Mar 7, 2017, 4:57:14 AM3/7/17
to OpenWISP
Update for the mailing list. In this last problem uwsgi was not installed in the correct location.
I had to fix this manually, the fix was:

sudo pip uninstall uwsgi
cd
/opt/openwisp
source env
/bin/activate
pip install uwsgi
supervisorctl reload

I couldn't understand if that's a generalised issue that happens for Ubuntu 15 or not. Anyway, I share this here so that if it happens again we know how to fix it. If anyone can test the playbook on a clean Ubuntu 15 VM and let me know if the issue can be replicated please let me know.

Federico


On Monday, March 6, 2017 at 8:13:51 PM UTC+1, Federico Capoano wrote:
Try running manually these two commands:

service nginx restart
supervisorctl reload

Does the situation change?

If not, I'm afraid the only way I can do some debugging is to get in. I'd like to understand if this is a general issue that happens on ubuntu 15 or not.

Federico

Alvaro Mendez

unread,
Mar 7, 2017, 6:56:53 AM3/7/17
to Federico Capoano, OpenWISP
Ok, so i destroyed my ubuntu 15 vm and regenerate a new one, then i run ansible and this is the result:

root@crushmind:~/openwisp2-ansible-playbook# !an
ansible-playbook -i hosts playbook.yml -u tabako -k --ask-sudo-pass -vvv
Using /etc/ansible/ansible.cfg as config file

SSH password:
SUDO password[defaults to SSH password]:
1 plays in playbook.yml


PLAY ***************************************************************************

TASK [setup] *******************************************************************
<132.148.88.35> ESTABLISH SSH CONNECTION FOR USER: tabako
<132.148.88.35> SSH: EXEC sshpass -d14 ssh -C -q -o ControlMaster=auto -o ControlPersist=60s -o User=tabako -o ConnectTimeou                                            t=10 -o ControlPath=/root/.ansible/cp/ansible-ssh-%h-%p-%r -tt 132.148.88.35 '( umask 22 && mkdir -p "$( echo $HOME/.ansible                                            /tmp/ansible-tmp-1488887325.29-197156068716764 )" && echo "$( echo $HOME/.ansible/tmp/ansible-tmp-1488887325.29-197156068716                                            764 )" )'
<132.148.88.35> PUT /tmp/tmpNwsWZ5 TO /home/tabako/.ansible/tmp/ansible-tmp-1488887325.29-197156068716764/setup
<132.148.88.35> SSH: EXEC sshpass -d14 sftp -b - -C -o ControlMaster=auto -o ControlPersist=60s -o User=tabako -o ConnectTim                                            eout=10 -o ControlPath=/root/.ansible/cp/ansible-ssh-%h-%p-%r '[132.148.88.35]'
<132.148.88.35> ESTABLISH SSH CONNECTION FOR USER: tabako
<132.148.88.35> SSH: EXEC sshpass -d14 ssh -C -q -o ControlMaster=auto -o ControlPersist=60s -o User=tabako -o ConnectTimeou                                            t=10 -o ControlPath=/root/.ansible/cp/ansible-ssh-%h-%p-%r -tt 132.148.88.35 '/bin/sh -c '"'"'sudo -H -S  -p "[sudo via ansi                                            ble, key=rfvauploncwwwchtkjkqwwbgpwidddbp] password: " -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-rfvauploncwww                                            chtkjkqwwbgpwidddbp; LANG=es_CL.UTF-8 LC_ALL=es_CL.UTF-8 LC_MESSAGES=es_CL.UTF-8 /usr/bin/python /home/tabako/.ansible/tmp/a                                            nsible-tmp-1488887325.29-197156068716764/setup; rm -rf "/home/tabako/.ansible/tmp/ansible-tmp-1488887325.29-197156068716764/                                            " > /dev/null 2>&1'"'"'"'"'"'"'"'"''"'"''

ok: [132.148.88.35]

TASK [openwisp.openwisp2 : include] ********************************************
task path: /etc/ansible/roles/openwisp.openwisp2/tasks/main.yml:3

included: /etc/ansible/roles/openwisp.openwisp2/tasks/apt.yml for 132.148.88.35

TASK [openwisp.openwisp2 : Update APT package cache] ***************************
task path: /etc/ansible/roles/openwisp.openwisp2/tasks/apt.yml:1
<132.148.88.35> ESTABLISH SSH CONNECTION FOR USER: tabako
<132.148.88.35> SSH: EXEC sshpass -d14 ssh -C -q -o ControlMaster=auto -o ControlPersist=60s -o User=tabako -o ConnectTimeou                                            t=10 -o ControlPath=/root/.ansible/cp/ansible-ssh-%h-%p-%r -tt 132.148.88.35 '( umask 22 && mkdir -p "$( echo $HOME/.ansible                                            /tmp/ansible-tmp-1488887331.06-100567626890855 )" && echo "$( echo $HOME/.ansible/tmp/ansible-tmp-1488887331.06-100567626890                                            855 )" )'
<132.148.88.35> PUT /tmp/tmpF29IZ8 TO /home/tabako/.ansible/tmp/ansible-tmp-1488887331.06-100567626890855/apt
<132.148.88.35> SSH: EXEC sshpass -d14 sftp -b - -C -o ControlMaster=auto -o ControlPersist=60s -o User=tabako -o ConnectTim                                            eout=10 -o ControlPath=/root/.ansible/cp/ansible-ssh-%h-%p-%r '[132.148.88.35]'
<132.148.88.35> ESTABLISH SSH CONNECTION FOR USER: tabako
<132.148.88.35> SSH: EXEC sshpass -d14 ssh -C -q -o ControlMaster=auto -o ControlPersist=60s -o User=tabako -o ConnectTimeou                                            t=10 -o ControlPath=/root/.ansible/cp/ansible-ssh-%h-%p-%r -tt 132.148.88.35 '/bin/sh -c '"'"'sudo -H -S  -p "[sudo via ansi                                            ble, key=rtikoxnoilexpnzkrcrifrpbifcrdrnu] password: " -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-rtikoxnoilexp                                            nzkrcrifrpbifcrdrnu; LANG=es_CL.UTF-8 LC_ALL=es_CL.UTF-8 LC_MESSAGES=es_CL.UTF-8 /usr/bin/python /home/tabako/.ansible/tmp/a                                            nsible-tmp-1488887331.06-100567626890855/apt; rm -rf "/home/tabako/.ansible/tmp/ansible-tmp-1488887331.06-100567626890855/"                                             > /dev/null 2>&1'"'"'"'"'"'"'"'"''"'"''
ok: [132.148.88.35] => {"cache_update_time": 1488887347, "cache_updated": true, "changed": false, "invocation": {"module_arg                                            s": {"cache_valid_time": null, "deb": null, "default_release": null, "dpkg_options": "force-confdef,force-confold", "force":                                             false, "install_recommends": null, "package": null, "purge": false, "state": "present", "update_cache": true, "upgrade": nu                                            ll}, "module_name": "apt"}}


TASK [openwisp.openwisp2 : Install system packages] ****************************
task path: /etc/ansible/roles/openwisp.openwisp2/tasks/apt.yml:4
<132.148.88.35> ESTABLISH SSH CONNECTION FOR USER: tabako
<132.148.88.35> SSH: EXEC sshpass -d14 ssh -C -q -o ControlMaster=auto -o ControlPersist=60s -o User=tabako -o ConnectTimeou                                            t=10 -o ControlPath=/root/.ansible/cp/ansible-ssh-%h-%p-%r -tt 132.148.88.35 '( umask 22 && mkdir -p "$( echo $HOME/.ansible                                            /tmp/ansible-tmp-1488887351.21-180386861300567 )" && echo "$( echo $HOME/.ansible/tmp/ansible-tmp-1488887351.21-180386861300                                            567 )" )'
<132.148.88.35> PUT /tmp/tmp1nTesO TO /home/tabako/.ansible/tmp/ansible-tmp-1488887351.21-180386861300567/apt
<132.148.88.35> SSH: EXEC sshpass -d14 sftp -b - -C -o ControlMaster=auto -o ControlPersist=60s -o User=tabako -o ConnectTim                                            eout=10 -o ControlPath=/root/.ansible/cp/ansible-ssh-%h-%p-%r '[132.148.88.35]'
<132.148.88.35> ESTABLISH SSH CONNECTION FOR USER: tabako
<132.148.88.35> SSH: EXEC sshpass -d14 ssh -C -q -o ControlMaster=auto -o ControlPersist=60s -o User=tabako -o ConnectTimeou                                            t=10 -o ControlPath=/root/.ansible/cp/ansible-ssh-%h-%p-%r -tt 132.148.88.35 '/bin/sh -c '"'"'sudo -H -S  -p "[sudo via ansi                                            ble, key=bnranbneybyxbmsykkahevynmioopjqi] password: " -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-bnranbneybyxb                                            msykkahevynmioopjqi; LANG=es_CL.UTF-8 LC_ALL=es_CL.UTF-8 LC_MESSAGES=es_CL.UTF-8 /usr/bin/python /home/tabako/.ansible/tmp/a                                            nsible-tmp-1488887351.21-180386861300567/apt; rm -rf "/home/tabako/.ansible/tmp/ansible-tmp-1488887351.21-180386861300567/"                                             > /dev/null 2>&1'"'"'"'"'"'"'"'"''"'"''
failed: [132.148.88.35] => (item=[u'sudo', u'python-software-properties', u'build-essential', u'sqlite3', u'supervisor', u'n                                            ginx', u'openssl', u'libssl-dev', u'libffi-dev', u'python-dev']) => {"cache_update_time": 0, "cache_updated": false, "failed                                            ": true, "invocation": {"module_args": {"cache_valid_time": null, "deb": null, "default_release": null, "dpkg_options": "for                                            ce-confdef,force-confold", "force": false, "install_recommends": null, "name": ["sudo", "python-software-properties", "build                                            -essential", "sqlite3", "supervisor", "nginx", "openssl", "libssl-dev", "libffi-dev", "python-dev"], "package": ["sudo", "py                                            thon-software-properties", "build-essential", "sqlite3", "supervisor", "nginx", "openssl", "libssl-dev", "libffi-dev", "pyth                                            on-dev"], "purge": false, "state": "latest", "update_cache": false, "upgrade": null}, "module_name": "apt"}, "item": ["sudo"                                            , "python-software-properties", "build-essential", "sqlite3", "supervisor", "nginx", "openssl", "libssl-dev", "libffi-dev",                                             "python-dev"], "msg": "'/usr/bin/apt-get -y -o \"Dpkg::Options::=--force-confdef\" -o \"Dpkg::Options::=--force-confold\"                                               install 'python-software-properties' 'build-essential' 'sqlite3' 'supervisor' 'nginx' 'libssl-dev' 'libffi-dev' 'python-dev'                                            ' failed: \rExtracting templates from packages: 45%\rExtracting templates from packages: 90%\rExtracting templates from pack                                            ages: 100%\nE: Sub-process /usr/bin/dpkg returned an error code (1)\n", "stderr": "\rExtracting templates from packages: 45%                                            \rExtracting templates from packages: 90%\rExtracting templates from packages: 100%\nE: Sub-process /usr/bin/dpkg returned a                                            n error code (1)\n", "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nThe fol                                            lowing extra packages will be installed:\n  cpp cpp-5 dpkg-dev fakeroot g++ g++-5 gcc gcc-5 libalgorithm-diff-perl\n  libalg                                            orithm-diff-xs-perl libalgorithm-merge-perl libasan2 libatomic1\n  libc-dev-bin libc6-dev libcc1-0 libcilkrts5 libcurl3-gnut                                            ls libexpat1-dev\n  libfakeroot libgcc-5-dev libgd3 libisl13 libitm1 libjbig0 libjpeg-turbo8\n  libjpeg8 liblsan0 libmpc3 li                                            bmpx0 libpython-dev libpython2.7-dev\n  libquadmath0 librtmp1 libssl-doc libstdc++-5-dev libtiff5 libtsan0 libubsan0\n  libv                                            px2 libx11-6 libx11-data libxau6 libxcb1 libxdmcp6 libxpm4 libxslt1.1\n  linux-libc-dev manpages-dev nginx-common nginx-core                                             python-meld3\n  python-pkg-resources python-pycurl python2.7-dev python3-apt\n  unattended-upgrades zlib1g-dev\nSuggested p                                            ackages:\n  cpp-doc gcc-5-locales debian-keyring g++-multilib g++-5-multilib gcc-5-doc\n  libstdc++6-5-dbg gcc-multilib auto                                            conf automake libtool flex bison gdb\n  gcc-doc gcc-5-multilib libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg\n  libasa                                            n2-dbg liblsan0-dbg libtsan0-dbg libubsan0-dbg libcilkrts5-dbg\n  libmpx0-dbg libquadmath0-dbg glibc-doc libgd-tools libstdc                                            ++-5-doc fcgiwrap\n  nginx-doc python-setuptools libcurl4-gnutls-dev python-pycurl-dbg\n  python-pycurl-doc python3-apt-dbg                                             python-apt-doc sqlite3-doc\nThe following NEW packages will be installed:\n  build-essential cpp cpp-5 dpkg-dev fakeroot g++                                             g++-5 gcc gcc-5\n  libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl\n  libasan2 libatomic1 libc-dev                                            -bin libc6-dev libcc1-0 libcilkrts5\n  libcurl3-gnutls libexpat1-dev libfakeroot libffi-dev libgcc-5-dev libgd3\n  libisl13                                             libitm1 libjbig0 libjpeg-turbo8 libjpeg8 liblsan0 libmpc3 libmpx0\n  libpython-dev libpython2.7-dev libquadmath0 librtmp1 li                                            bssl-dev libssl-doc\n  libstdc++-5-dev libtiff5 libtsan0 libubsan0 libvpx2 libx11-6 libx11-data\n  libxau6 libxcb1 libxdmcp6                                             libxpm4 libxslt1.1 linux-libc-dev manpages-dev\n  nginx nginx-common nginx-core python-dev python-meld3 python-pkg-resource                                            s\n  python-pycurl python-software-properties python2.7-dev python3-apt sqlite3\n  supervisor unattended-upgrades zlib1g-dev                                            \n0 upgraded, 66 newly installed, 0 to remove and 0 not upgraded.\nNeed to get 72.7 MB of archives.\nAfter this operation, 1                                            95 MB of additional disk space will be used.\nGet:1 http://archive.ubuntu.com/ubuntu/ wily/main libxau6 amd64 1:1.0.8-1 [837                                            6 B]\nGet:2 http://archive.ubuntu.com/ubuntu/ wily/main libxdmcp6 amd64 1:1.1.2-1 [11.2 kB]\nGet:3 http://archive.ubuntu.com                                            /ubuntu/ wily/main libisl13 amd64 0.14-2 [456 kB]\nGet:4 http://archive.ubuntu.com/ubuntu/ wily/main libjpeg-turbo8 amd64 1.                                            3.0-0ubuntu2 [104 kB]\nGet:5 http://archive.ubuntu.com/ubuntu/ wily/main libxcb1 amd64 1.11-0ubuntu1 [40.1 kB]\nGet:6 http:/                                            /archive.ubuntu.com/ubuntu/ wily/main libx11-data all 2:1.6.3-1ubuntu2 [113 kB]\nGet:7 http://archive.ubuntu.com/ubuntu/ wil                                            y/main libx11-6 amd64 2:1.6.3-1ubuntu2 [571 kB]\nGet:8 http://archive.ubuntu.com/ubuntu/ wily/main libxpm4 amd64 1:3.5.11-1                                             [33.1 kB]\nGet:9 http://archive.ubuntu.com/ubuntu/ wily/main libxslt1.1 amd64 1.1.28-2build2 [147 kB]\nGet:10 http://archive                                            .ubuntu.com/ubuntu/ wily/main libjbig0 amd64 2.1-3.1 [26.6 kB]\nGet:11 http://archive.ubuntu.com/ubuntu/ wily/main libmpc3 a                                            md64 1.0.3-1 [39.7 kB]\nGet:12 http://archive.ubuntu.com/ubuntu/ wily/main librtmp1 amd64 2.4+20150115.gita107cef-1build1 [5                                            4.7 kB]\nGet:13 http://archive.ubuntu.com/ubuntu/ wily-updates/main libcurl3-gnutls amd64 7.43.0-1ubuntu2.1 [183 kB]\nGet:14                                             http://archive.ubuntu.com/ubuntu/ wily-updates/main python3-apt amd64 1.0.1ubuntu0.1 [141 kB]\nGet:15 http://archive.ubuntu                                            .com/ubuntu/ wily-updates/main libc-dev-bin amd64 2.21-0ubuntu4.3 [68.5 kB]\nGet:16 http://archive.ubuntu.com/ubuntu/ wily-u                                            pdates/main linux-libc-dev amd64 4.2.0-42.49 [832 kB]\nGet:17 http://archive.ubuntu.com/ubuntu/ wily-updates/main libc6-dev                                             amd64 2.21-0ubuntu4.3 [1958 kB]\nGet:18 http://archive.ubuntu.com/ubuntu/ wily/main cpp-5 amd64 5.2.1-22ubuntu2 [5962 kB]\nG                                            et:19 http://archive.ubuntu.com/ubuntu/ wily/main cpp amd64 4:5.2.1-3ubuntu1 [27.4 kB]\nGet:20 http://archive.ubuntu.com/ubu                                            ntu/ wily/main libcc1-0 amd64 5.2.1-22ubuntu2 [31.0 kB]\nGet:21 http://archive.ubuntu.com/ubuntu/ wily/main libitm1 amd64 5.                                            2.1-22ubuntu2 [27.4 kB]\nGet:22 http://archive.ubuntu.com/ubuntu/ wily/main libatomic1 amd64 5.2.1-22ubuntu2 [8950 B]\nGet:2                                            3 http://archive.ubuntu.com/ubuntu/ wily/main libasan2 amd64 5.2.1-22ubuntu2 [269 kB]\nGet:24 http://archive.ubuntu.com/ubun                                            tu/ wily/main liblsan0 amd64 5.2.1-22ubuntu2 [110 kB]\nGet:25 http://archive.ubuntu.com/ubuntu/ wily/main libtsan0 amd64 5.2                                            .1-22ubuntu2 [249 kB]\nGet:26 http://archive.ubuntu.com/ubuntu/ wily/main libubsan0 amd64 5.2.1-22ubuntu2 [100 kB]\nGet:27 h                                            ttp://archive.ubuntu.com/ubuntu/ wily/main libcilkrts5 amd64 5.2.1-22ubuntu2 [40.0 kB]\nGet:28 http://archive.ubuntu.com/ubu                                            ntu/ wily/main libmpx0 amd64 5.2.1-22ubuntu2 [9822 B]\nGet:29 http://archive.ubuntu.com/ubuntu/ wily/main libquadmath0 amd64                                             5.2.1-22ubuntu2 [131 kB]\nGet:30 http://archive.ubuntu.com/ubuntu/ wily/main libgcc-5-dev amd64 5.2.1-22ubuntu2 [2228 kB]\n                                            Get:31 http://archive.ubuntu.com/ubuntu/ wily/main gcc-5 amd64 5.2.1-22ubuntu2 [6708 kB]\nGet:32 http://archive.ubuntu.com/u                                            buntu/ wily/main gcc amd64 4:5.2.1-3ubuntu1 [5204 B]\nGet:33 http://archive.ubuntu.com/ubuntu/ wily/main libstdc++-5-dev amd                                            64 5.2.1-22ubuntu2 [1423 kB]\nGet:34 http://archive.ubuntu.com/ubuntu/ wily/main g++-5 amd64 5.2.1-22ubuntu2 [15.3 MB]\nGet:                                            35 http://archive.ubuntu.com/ubuntu/ wily/main g++ amd64 4:5.2.1-3ubuntu1 [1506 B]\nGet:36 http://archive.ubuntu.com/ubuntu/                                             wily-updates/main dpkg-dev all 1.18.2ubuntu5.1 [583 kB]\nGet:37 http://archive.ubuntu.com/ubuntu/ wily/main build-essential                                             amd64 12.1ubuntu2 [4758 B]\nGet:38 http://archive.ubuntu.com/ubuntu/ wily/main libfakeroot amd64 1.20.2-1ubuntu1 [25.5 kB]\                                            nGet:39 http://archive.ubuntu.com/ubuntu/ wily/main fakeroot amd64 1.20.2-1ubuntu1 [61.8 kB]\nGet:40 http://archive.ubuntu.c                                            om/ubuntu/ wily/main libalgorithm-diff-perl all 1.19.03-1 [47.6 kB]\nGet:41 http://archive.ubuntu.com/ubuntu/ wily/main liba                                            lgorithm-diff-xs-perl amd64 0.04-3build1 [11.8 kB]\nGet:42 http://archive.ubuntu.com/ubuntu/ wily/main libalgorithm-merge-pe                                            rl all 0.08-2 [12.7 kB]\nGet:43 http://archive.ubuntu.com/ubuntu/ wily-updates/main libexpat1-dev amd64 2.1.0-7ubuntu0.15.10                                            .2 [116 kB]\nGet:44 http://archive.ubuntu.com/ubuntu/ wily/main libjpeg8 amd64 8c-2ubuntu8 [2194 B]\nGet:45 http://archive.u                                            buntu.com/ubuntu/ wily-updates/main libtiff5 amd64 4.0.3-12.3ubuntu2.1 [145 kB]\nGet:46 http://archive.ubuntu.com/ubuntu/ wi                                            ly/main libvpx2 amd64 1.4.0-4 [688 kB]\nGet:47 http://archive.ubuntu.com/ubuntu/ wily-updates/main libgd3 amd64 2.1.1-4ubunt                                            u0.15.10.2 [125 kB]\nGet:48 http://archive.ubuntu.com/ubuntu/ wily/main libpython2.7-dev amd64 2.7.10-4ubuntu1 [27.7 MB]\nGe                                            t:49 http://archive.ubuntu.com/ubuntu/ wily/main libpython-dev amd64 2.7.9-1 [7836 B]\nGet:50 http://archive.ubuntu.com/ubun                                            tu/ wily/main zlib1g-dev amd64 1:1.2.8.dfsg-2ubuntu4 [168 kB]\nGet:51 http://archive.ubuntu.com/ubuntu/ wily-updates/main li                                            bssl-dev amd64 1.0.2d-0ubuntu1.5 [1344 kB]\nGet:52 http://archive.ubuntu.com/ubuntu/ wily-updates/main libssl-doc all 1.0.2d                                            -0ubuntu1.5 [1070 kB]\nGet:53 http://archive.ubuntu.com/ubuntu/ wily/main manpages-dev all 3.74-1ubuntu1 [1865 kB]\nGet:54 h                                            ttp://archive.ubuntu.com/ubuntu/ wily-updates/main nginx-common all 1.9.3-1ubuntu1.2 [26.7 kB]\nGet:55 http://archive.ubuntu                                            .com/ubuntu/ wily-updates/main nginx-core amd64 1.9.3-1ubuntu1.2 [382 kB]\nGet:56 http://archive.ubuntu.com/ubuntu/ wily-upd                                            ates/main nginx all 1.9.3-1ubuntu1.2 [3484 B]\nGet:57 http://archive.ubuntu.com/ubuntu/ wily/main python2.7-dev amd64 2.7.10                                            -4ubuntu1 [270 kB]\nGet:58 http://archive.ubuntu.com/ubuntu/ wily/main python-dev amd64 2.7.9-1 [1220 B]\nGet:59 http://arch                                            ive.ubuntu.com/ubuntu/ wily/main python-pkg-resources all 18.4-1 [70.7 kB]\nGet:60 http://archive.ubuntu.com/ubuntu/ wily/ma                                            in python-pycurl amd64 7.19.5.1-1ubuntu2 [36.0 kB]\nGet:61 http://archive.ubuntu.com/ubuntu/ wily-updates/main unattended-up                                            grades all 0.86.2ubuntu1.1 [30.2 kB]\nGet:62 http://archive.ubuntu.com/ubuntu/ wily-updates/universe python-software-propert                                            ies all 0.96.13.1 [19.9 kB]\nGet:63 http://archive.ubuntu.com/ubuntu/ wily/main sqlite3 amd64 3.8.11.1-1 [36.2 kB]\nGet:64 h                                            ttp://archive.ubuntu.com/ubuntu/ wily/main libffi-dev amd64 3.2.1-3 [162 kB]\nGet:65 http://archive.ubuntu.com/ubuntu/ wily/                                            universe python-meld3 amd64 1.0.2-1 [30.8 kB]\nGet:66 http://archive.ubuntu.com/ubuntu/ wily/universe supervisor all 3.0r1-1                                             [244 kB]\nPreconfiguring packages ...\nFetched 72.7 MB in 27s (2685 kB/s)\nSelecting previously unselected package libxau6:                                            amd64.\r\n(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading d                                            atabase ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\                                            r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading databa                                            se ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Rea                                            ding database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 26647 files and director                                            ies currently installed.)\r\nPreparing to unpack .../libxau6_1%3a1.0.8-1_amd64.deb ...\r\nUnpacking libxau6:amd64 (1:1.0.8-1                                            ) ...\r\nSelecting previously unselected package libxdmcp6:amd64.\r\nPreparing to unpack .../libxdmcp6_1%3a1.1.2-1_amd64.deb                                             ...\r\nUnpacking libxdmcp6:amd64 (1:1.1.2-1) ...\r\nSelecting previously unselected package libisl13:amd64.\r\nPreparing to                                             unpack .../libisl13_0.14-2_amd64.deb ...\r\nUnpacking libisl13:amd64 (0.14-2) ...\r\nSelecting previously unselected packag                                            e libjpeg-turbo8:amd64.\r\nPreparing to unpack .../libjpeg-turbo8_1.3.0-0ubuntu2_amd64.deb ...\r\nUnpacking libjpeg-turbo8:a                                            md64 (1.3.0-0ubuntu2) ...\r\nSelecting previously unselected package libxcb1:amd64.\r\nPreparing to unpack .../libxcb1_1.11-                                            0ubuntu1_amd64.deb ...\r\nUnpacking libxcb1:amd64 (1.11-0ubuntu1) ...\r\nSelecting previously unselected package libx11-data                                            .\r\nPreparing to unpack .../libx11-data_2%3a1.6.3-1ubuntu2_all.deb ...\r\nUnpacking libx11-data (2:1.6.3-1ubuntu2) ...\r\nS                                            electing previously unselected package libx11-6:amd64.\r\nPreparing to unpack .../libx11-6_2%3a1.6.3-1ubuntu2_amd64.deb ...\                                            r\nUnpacking libx11-6:amd64 (2:1.6.3-1ubuntu2) ...\r\nSelecting previously unselected package libxpm4:amd64.\r\nPreparing to                                             unpack .../libxpm4_1%3a3.5.11-1_amd64.deb ...\r\nUnpacking libxpm4:amd64 (1:3.5.11-1) ...\r\nSelecting previously unselecte                                            d package libxslt1.1:amd64.\r\nPreparing to unpack .../libxslt1.1_1.1.28-2build2_amd64.deb ...\r\nUnpacking libxslt1.1:amd64                                             (1.1.28-2build2) ...\r\nSelecting previously unselected package libjbig0:amd64.\r\nPreparing to unpack .../libjbig0_2.1-3.1                                            _amd64.deb ...\r\nUnpacking libjbig0:amd64 (2.1-3.1) ...\r\nSelecting previously unselected package libmpc3:amd64.\r\nPrepar                                            ing to unpack .../libmpc3_1.0.3-1_amd64.deb ...\r\nUnpacking libmpc3:amd64 (1.0.3-1) ...\r\nSelecting previously unselected                                             package librtmp1:amd64.\r\nPreparing to unpack .../librtmp1_2.4+20150115.gita107cef-1build1_amd64.deb ...\r\nUnpacking librt                                            mp1:amd64 (2.4+20150115.gita107cef-1build1) ...\r\nSelecting previously unselected package libcurl3-gnutls:amd64.\r\nPrepari                                            ng to unpack .../libcurl3-gnutls_7.43.0-1ubuntu2.1_amd64.deb ...\r\nUnpacking libcurl3-gnutls:amd64 (7.43.0-1ubuntu2.1) ...\                                            r\nSelecting previously unselected package python3-apt.\r\nPreparing to unpack .../python3-apt_1.0.1ubuntu0.1_amd64.deb ...\                                            r\nUnpacking python3-apt (1.0.1ubuntu0.1) ...\r\nSelecting previously unselected package libc-dev-bin.\r\nPreparing to unpac                                            k .../libc-dev-bin_2.21-0ubuntu4.3_amd64.deb ...\r\nUnpacking libc-dev-bin (2.21-0ubuntu4.3) ...\r\nSelecting previously uns                                            elected package linux-libc-dev:amd64.\r\nPreparing to unpack .../linux-libc-dev_4.2.0-42.49_amd64.deb ...\r\nUnpacking linux                                            -libc-dev:amd64 (4.2.0-42.49) ...\r\nSelecting previously unselected package libc6-dev:amd64.\r\nPreparing to unpack .../lib                                            c6-dev_2.21-0ubuntu4.3_amd64.deb ...\r\nUnpacking libc6-dev:amd64 (2.21-0ubuntu4.3) ...\r\nSelecting previously unselected p                                            ackage cpp-5.\r\nPreparing to unpack .../cpp-5_5.2.1-22ubuntu2_amd64.deb ...\r\nUnpacking cpp-5 (5.2.1-22ubuntu2) ...\r\nSel                                            ecting previously unselected package cpp.\r\nPreparing to unpack .../cpp_4%3a5.2.1-3ubuntu1_amd64.deb ...\r\nUnpacking cpp (                                            4:5.2.1-3ubuntu1) ...\r\nSelecting previously unselected package libcc1-0:amd64.\r\nPreparing to unpack .../libcc1-0_5.2.1-2                                            2ubuntu2_amd64.deb ...\r\nUnpacking libcc1-0:amd64 (5.2.1-22ubuntu2) ...\r\nSelecting previously unselected package libitm1:                                            amd64.\r\nPreparing to unpack .../libitm1_5.2.1-22ubuntu2_amd64.deb ...\r\nUnpacking libitm1:amd64 (5.2.1-22ubuntu2) ...\r\n                                            Selecting previously unselected package libatomic1:amd64.\r\nPreparing to unpack .../libatomic1_5.2.1-22ubuntu2_amd64.deb ..                                            .\r\nUnpacking libatomic1:amd64 (5.2.1-22ubuntu2) ...\r\nSelecting previously unselected package libasan2:amd64.\r\nPreparin                                            g to unpack .../libasan2_5.2.1-22ubuntu2_amd64.deb ...\r\nUnpacking libasan2:amd64 (5.2.1-22ubuntu2) ...\r\nSelecting previo                                            usly unselected package liblsan0:amd64.\r\nPreparing to unpack .../liblsan0_5.2.1-22ubuntu2_amd64.deb ...\r\nUnpacking libls                                            an0:amd64 (5.2.1-22ubuntu2) ...\r\nSelecting previously unselected package libtsan0:amd64.\r\nPreparing to unpack .../libtsa                                            n0_5.2.1-22ubuntu2_amd64.deb ...\r\nUnpacking libtsan0:amd64 (5.2.1-22ubuntu2) ...\r\nSelecting previously unselected packag                                            e libubsan0:amd64.\r\nPreparing to unpack .../libubsan0_5.2.1-22ubuntu2_amd64.deb ...\r\nUnpacking libubsan0:amd64 (5.2.1-22                                            ubuntu2) ...\r\nSelecting previously unselected package libcilkrts5:amd64.\r\nPreparing to unpack .../libcilkrts5_5.2.1-22ub                                            untu2_amd64.deb ...\r\nUnpacking libcilkrts5:amd64 (5.2.1-22ubuntu2) ...\r\nSelecting previously unselected package libmpx0:                                            amd64.\r\nPreparing to unpack .../libmpx0_5.2.1-22ubuntu2_amd64.deb ...\r\nUnpacking libmpx0:amd64 (5.2.1-22ubuntu2) ...\r\n                                            Selecting previously unselected package libquadmath0:amd64.\r\nPreparing to unpack .../libquadmath0_5.2.1-22ubuntu2_amd64.de                                            b ...\r\nUnpacking libquadmath0:amd64 (5.2.1-22ubuntu2) ...\r\nSelecting previously unselected package libgcc-5-dev:amd64.\r                                            \nPreparing to unpack .../libgcc-5-dev_5.2.1-22ubuntu2_amd64.deb ...\r\nUnpacking libgcc-5-dev:amd64 (5.2.1-22ubuntu2) ...\r                                            \nSelecting previously unselected package gcc-5.\r\nPreparing to unpack .../gcc-5_5.2.1-22ubuntu2_amd64.deb ...\r\nUnpacking                                             gcc-5 (5.2.1-22ubuntu2) ...\r\nSelecting previously unselected package gcc.\r\nPreparing to unpack .../gcc_4%3a5.2.1-3ubunt                                            u1_amd64.deb ...\r\nUnpacking gcc (4:5.2.1-3ubuntu1) ...\r\nSelecting previously unselected package libstdc++-5-dev:amd64.\r                                            \nPreparing to unpack .../libstdc++-5-dev_5.2.1-22ubuntu2_amd64.deb ...\r\nUnpacking libstdc++-5-dev:amd64 (5.2.1-22ubuntu2)                                             ...\r\nSelecting previously unselected package g++-5.\r\nPreparing to unpack .../g++-5_5.2.1-22ubuntu2_amd64.deb ...\r\nUnp                                            acking g++-5 (5.2.1-22ubuntu2) ...\r\nSelecting previously unselected package g++.\r\nPreparing to unpack .../g++_4%3a5.2.1-                                            3ubuntu1_amd64.deb ...\r\nUnpacking g++ (4:5.2.1-3ubuntu1) ...\r\nSelecting previously unselected package dpkg-dev.\r\nPrepa                                            ring to unpack .../dpkg-dev_1.18.2ubuntu5.1_all.deb ...\r\nUnpacking dpkg-dev (1.18.2ubuntu5.1) ...\r\nSelecting previously                                             unselected package build-essential.\r\nPreparing to unpack .../build-essential_12.1ubuntu2_amd64.deb ...\r\nUnpacking build-                                            essential (12.1ubuntu2) ...\r\nSelecting previously unselected package libfakeroot:amd64.\r\nPreparing to unpack .../libfake                                            root_1.20.2-1ubuntu1_amd64.deb ...\r\nUnpacking libfakeroot:amd64 (1.20.2-1ubuntu1) ...\r\nSelecting previously unselected p                                            ackage fakeroot.\r\nPreparing to unpack .../fakeroot_1.20.2-1ubuntu1_amd64.deb ...\r\nUnpacking fakeroot (1.20.2-1ubuntu1) .                                            ..\r\nSelecting previously unselected package libalgorithm-diff-perl.\r\nPreparing to unpack .../libalgorithm-diff-perl_1.19                                            .03-1_all.deb ...\r\nUnpacking libalgorithm-diff-perl (1.19.03-1) ...\r\nSelecting previously unselected package libalgorith                                            m-diff-xs-perl.\r\nPreparing to unpack .../libalgorithm-diff-xs-perl_0.04-3build1_amd64.deb ...\r\nUnpacking libalgorithm-di                                            ff-xs-perl (0.04-3build1) ...\r\nSelecting previously unselected package libalgorithm-merge-perl.\r\nPreparing to unpack ...                                            /libalgorithm-merge-perl_0.08-2_all.deb ...\r\nUnpacking libalgorithm-merge-perl (0.08-2) ...\r\nSelecting previously unsele                                            cted package libexpat1-dev:amd64.\r\nPreparing to unpack .../libexpat1-dev_2.1.0-7ubuntu0.15.10.2_amd64.deb ...\r\nUnpacking                                             libexpat1-dev:amd64 (2.1.0-7ubuntu0.15.10.2) ...\r\nSelecting previously unselected package libjpeg8:amd64.\r\nPreparing to                                             unpack .../libjpeg8_8c-2ubuntu8_amd64.deb ...\r\nUnpacking libjpeg8:amd64 (8c-2ubuntu8) ...\r\nSelecting previously unselec                                            ted package libtiff5:amd64.\r\nPreparing to unpack .../libtiff5_4.0.3-12.3ubuntu2.1_amd64.deb ...\r\nUnpacking libtiff5:amd6                                            4 (4.0.3-12.3ubuntu2.1) ...\r\nSelecting previously unselected package libvpx2:amd64.\r\nPreparing to unpack .../libvpx2_1.4                                            .0-4_amd64.deb ...\r\nUnpacking libvpx2:amd64 (1.4.0-4) ...\r\nSelecting previously unselected package libgd3:amd64.\r\nPrep                                            aring to unpack .../libgd3_2.1.1-4ubuntu0.15.10.2_amd64.deb ...\r\nUnpacking libgd3:amd64 (2.1.1-4ubuntu0.15.10.2) ...\r\nSe                                            lecting previously unselected package libpython2.7-dev:amd64.\r\nPreparing to unpack .../libpython2.7-dev_2.7.10-4ubuntu1_am                                            d64.deb ...\r\nUnpacking libpython2.7-dev:amd64 (2.7.10-4ubuntu1) ...\r\nSelecting previously unselected package libpython-d                                            ev:amd64.\r\nPreparing to unpack .../libpython-dev_2.7.9-1_amd64.deb ...\r\nUnpacking libpython-dev:amd64 (2.7.9-1) ...\r\nS                                            electing previously unselected package zlib1g-dev:amd64.\r\nPreparing to unpack .../zlib1g-dev_1%3a1.2.8.dfsg-2ubuntu4_amd64                                            .deb ...\r\nUnpacking zlib1g-dev:amd64 (1:1.2.8.dfsg-2ubuntu4) ...\r\nSelecting previously unselected package libssl-dev:amd                                            64.\r\nPreparing to unpack .../libssl-dev_1.0.2d-0ubuntu1.5_amd64.deb ...\r\nUnpacking libssl-dev:amd64 (1.0.2d-0ubuntu1.5)                                             ...\r\nSelecting previously unselected package libssl-doc.\r\nPreparing to unpack .../libssl-doc_1.0.2d-0ubuntu1.5_all.deb .                                            ..\r\nUnpacking libssl-doc (1.0.2d-0ubuntu1.5) ...\r\nSelecting previously unselected package manpages-dev.\r\nPreparing to                                             unpack .../manpages-dev_3.74-1ubuntu1_all.deb ...\r\nUnpacking manpages-dev (3.74-1ubuntu1) ...\r\nSelecting previously unse                                            lected package nginx-common.\r\nPreparing to unpack .../nginx-common_1.9.3-1ubuntu1.2_all.deb ...\r\nUnpacking nginx-common                                             (1.9.3-1ubuntu1.2) ...\r\nSelecting previously unselected package nginx-core.\r\nPreparing to unpack .../nginx-core_1.9.3-1u                                            buntu1.2_amd64.deb ...\r\nUnpacking nginx-core (1.9.3-1ubuntu1.2) ...\r\nSelecting previously unselected package nginx.\r\nP                                            reparing to unpack .../nginx_1.9.3-1ubuntu1.2_all.deb ...\r\nUnpacking nginx (1.9.3-1ubuntu1.2) ...\r\nSelecting previously                                             unselected package python2.7-dev.\r\nPreparing to unpack .../python2.7-dev_2.7.10-4ubuntu1_amd64.deb ...\r\nUnpacking python                                            2.7-dev (2.7.10-4ubuntu1) ...\r\nSelecting previously unselected package python-dev.\r\nPreparing to unpack .../python-dev_2                                            .7.9-1_amd64.deb ...\r\nUnpacking python-dev (2.7.9-1) ...\r\nSelecting previously unselected package python-pkg-resources.\                                            r\nPreparing to unpack .../python-pkg-resources_18.4-1_all.deb ...\r\nUnpacking python-pkg-resources (18.4-1) ...\r\nSelecti                                            ng previously unselected package python-pycurl.\r\nPreparing to unpack .../python-pycurl_7.19.5.1-1ubuntu2_amd64.deb ...\r\n                                            Unpacking python-pycurl (7.19.5.1-1ubuntu2) ...\r\nSelecting previously unselected package unattended-upgrades.\r\nPreparing                                             to unpack .../unattended-upgrades_0.86.2ubuntu1.1_all.deb ...\r\nUnpacking unattended-upgrades (0.86.2ubuntu1.1) ...\r\nSel                                            ecting previously unselected package python-software-properties.\r\nPreparing to unpack .../python-software-properties_0.96.                                            13.1_all.deb ...\r\nUnpacking python-software-properties (0.96.13.1) ...\r\nSelecting previously unselected package sqlite3.                                            \r\nPreparing to unpack .../sqlite3_3.8.11.1-1_amd64.deb ...\r\nUnpacking sqlite3 (3.8.11.1-1) ...\r\nSelecting previously u                                            nselected package libffi-dev:amd64.\r\nPreparing to unpack .../libffi-dev_3.2.1-3_amd64.deb ...\r\nUnpacking libffi-dev:amd6                                            4 (3.2.1-3) ...\r\nSelecting previously unselected package python-meld3.\r\nPreparing to unpack .../python-meld3_1.0.2-1_amd                                            64.deb ...\r\nUnpacking python-meld3 (1.0.2-1) ...\r\nSelecting previously unselected package supervisor.\r\nPreparing to un                                            pack .../supervisor_3.0r1-1_all.deb ...\r\nUnpacking supervisor (3.0r1-1) ...\r\nProcessing triggers for man-db (2.7.4-1) ..                                            .\r\nProcessing triggers for systemd (225-1ubuntu9.1) ...\r\nProcessing triggers for install-info (6.0.0.dfsg.1-3) ...\r\nSe                                            tting up libxau6:amd64 (1:1.0.8-1) ...\r\nSetting up libxdmcp6:amd64 (1:1.1.2-1) ...\r\nSetting up libisl13:amd64 (0.14-2) .                                            ..\r\nSetting up libjpeg-turbo8:amd64 (1.3.0-0ubuntu2) ...\r\nSetting up libxcb1:amd64 (1.11-0ubuntu1) ...\r\nSetting up lib                                            x11-data (2:1.6.3-1ubuntu2) ...\r\nSetting up libx11-6:amd64 (2:1.6.3-1ubuntu2) ...\r\nSetting up libxpm4:amd64 (1:3.5.11-1)                                             ...\r\nSetting up libxslt1.1:amd64 (1.1.28-2build2) ...\r\nSetting up libjbig0:amd64 (2.1-3.1) ...\r\nSetting up libmpc3:am                                            d64 (1.0.3-1) ...\r\nSetting up librtmp1:amd64 (2.4+20150115.gita107cef-1build1) ...\r\nSetting up libcurl3-gnutls:amd64 (7.                                            43.0-1ubuntu2.1) ...\r\nSetting up python3-apt (1.0.1ubuntu0.1) ...\r\nSetting up libc-dev-bin (2.21-0ubuntu4.3) ...\r\nSett                                            ing up linux-libc-dev:amd64 (4.2.0-42.49) ...\r\nSetting up libc6-dev:amd64 (2.21-0ubuntu4.3) ...\r\nSetting up cpp-5 (5.2.1                                            -22ubuntu2) ...\r\nSetting up cpp (4:5.2.1-3ubuntu1) ...\r\nSetting up libcc1-0:amd64 (5.2.1-22ubuntu2) ...\r\nSetting up li                                            bitm1:amd64 (5.2.1-22ubuntu2) ...\r\nSetting up libatomic1:amd64 (5.2.1-22ubuntu2) ...\r\nSetting up libasan2:amd64 (5.2.1-2                                            2ubuntu2) ...\r\nSetting up liblsan0:amd64 (5.2.1-22ubuntu2) ...\r\nSetting up libtsan0:amd64 (5.2.1-22ubuntu2) ...\r\nSetti                                            ng up libubsan0:amd64 (5.2.1-22ubuntu2) ...\r\nSetting up libcilkrts5:amd64 (5.2.1-22ubuntu2) ...\r\nSetting up libmpx0:amd6                                            4 (5.2.1-22ubuntu2) ...\r\nSetting up libquadmath0:amd64 (5.2.1-22ubuntu2) ...\r\nSetting up libgcc-5-dev:amd64 (5.2.1-22ubu                                            ntu2) ...\r\nSetting up gcc-5 (5.2.1-22ubuntu2) ...\r\nSetting up gcc (4:5.2.1-3ubuntu1) ...\r\nSetting up libstdc++-5-dev:a                                            md64 (5.2.1-22ubuntu2) ...\r\nSetting up g++-5 (5.2.1-22ubuntu2) ...\r\nSetting up g++ (4:5.2.1-3ubuntu1) ...\r\nupdate-alte                                            rnatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode\r\nSetting up dpkg-dev (1.18.2ubuntu5.1) ...\r\nSett                                            ing up build-essential (12.1ubuntu2) ...\r\nSetting up libfakeroot:amd64 (1.20.2-1ubuntu1) ...\r\nSetting up fakeroot (1.20.                                            2-1ubuntu1) ...\r\nupdate-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode\r\                                            nSetting up libalgorithm-diff-perl (1.19.03-1) ...\r\nSetting up libalgorithm-diff-xs-perl (0.04-3build1) ...\r\nSetting up                                             libalgorithm-merge-perl (0.08-2) ...\r\nSetting up libexpat1-dev:amd64 (2.1.0-7ubuntu0.15.10.2) ...\r\nSetting up libjpeg8:a                                            md64 (8c-2ubuntu8) ...\r\nSetting up libtiff5:amd64 (4.0.3-12.3ubuntu2.1) ...\r\nSetting up libvpx2:amd64 (1.4.0-4) ...\r\nS                                            etting up libgd3:amd64 (2.1.1-4ubuntu0.15.10.2) ...\r\nSetting up libpython2.7-dev:amd64 (2.7.10-4ubuntu1) ...\r\nSetting up                                             libpython-dev:amd64 (2.7.9-1) ...\r\nSetting up zlib1g-dev:amd64 (1:1.2.8.dfsg-2ubuntu4) ...\r\nSetting up libssl-dev:amd64                                             (1.0.2d-0ubuntu1.5) ...\r\nSetting up libssl-doc (1.0.2d-0ubuntu1.5) ...\r\nSetting up manpages-dev (3.74-1ubuntu1) ...\r\n                                            Setting up nginx-common (1.9.3-1ubuntu1.2) ...\r\nSetting up nginx-core (1.9.3-1ubuntu1.2) ...\r\nJob for nginx.service fail                                            ed because the control process exited with error code. See \"systemctl status nginx.service\" and \"journalctl -xe\" for det                                            ails.\r\ninvoke-rc.d: initscript nginx, action \"start\" failed.\r\ndpkg: error processing package nginx-core (--configure):                                            \r\n subprocess installed post-installation script returned error exit status 1\r\ndpkg: dependency problems prevent configu                                            ration of nginx:\r\n nginx depends on nginx-core (>= 1.9.3-1ubuntu1.2) | nginx-full (>= 1.9.3-1ubuntu1.2) | nginx-light (>=                                             1.9.3-1ubuntu1.2) | nginx-extras (>= 1.9.3-1ubuntu1.2); however:\r\n  Package nginx-core is not configured yet.\r\n  Package                                             nginx-full is not installed.\r\n  Package nginx-light is not installed.\r\n  Package nginx-extras is not installed.\r\n ngi                                            nx depends on nginx-core (<< 1.9.3-1ubuntu1.2.1~) | nginx-full (<< 1.9.3-1ubuntu1.2.1~) | nginx-light (<< 1.9.3-1ubuntu1.2.1                                            ~) | nginx-extras (<< 1.9.3-1ubuntu1.2.1~); however:\r\n  Package nginx-core is not configured yet.\r\n  Package nginx-full                                             is not installed.\r\n  Package nginx-light is not installed.\r\n  Package nginx-extras is not installed.\r\n\r\ndpkg: error                                             processing package nginx (--configure):\r\n dependency problems - leaving unconfigured\r\nSetting up python2.7-dev (2.7.10-4                                            ubuntu1) ...\r\nSetting up python-dev (2.7.9-1) ...\r\nSetting up python-pkg-resources (18.4-1) ...\r\nSetting up python-pyc                                            url (7.19.5.1-1ubuntu2) ...\r\nSetting up unattended-upgrades (0.86.2ubuntu1.1) ...\r\nupdate-rc.d: warning: start and stop                                             actions are no longer supported; falling back to defaults\r\nSetting up python-software-properties (0.96.13.1) ...\r\nSettin                                            g up sqlite3 (3.8.11.1-1) ...\r\nSetting up libffi-dev:amd64 (3.2.1-3) ...\r\nSetting up python-meld3 (1.0.2-1) ...\r\nSetti                                            ng up supervisor (3.0r1-1) ...\r\nProcessing triggers for libc-bin (2.21-0ubuntu4.3) ...\r\nProcessing triggers for systemd                                             (225-1ubuntu9.1) ...\r\nErrors were encountered while processing:\r\n nginx-core\r\n nginx\r\n", "stdout_lines": ["Reading p                                            ackage lists...", "Building dependency tree...", "Reading state information...", "The following extra packages will be insta                                            lled:", "  cpp cpp-5 dpkg-dev fakeroot g++ g++-5 gcc gcc-5 libalgorithm-diff-perl", "  libalgorithm-diff-xs-perl libalgorith                                            m-merge-perl libasan2 libatomic1", "  libc-dev-bin libc6-dev libcc1-0 libcilkrts5 libcurl3-gnutls libexpat1-dev", "  libfake                                            root libgcc-5-dev libgd3 libisl13 libitm1 libjbig0 libjpeg-turbo8", "  libjpeg8 liblsan0 libmpc3 libmpx0 libpython-dev libpy                                            thon2.7-dev", "  libquadmath0 librtmp1 libssl-doc libstdc++-5-dev libtiff5 libtsan0 libubsan0", "  libvpx2 libx11-6 libx11-d                                            ata libxau6 libxcb1 libxdmcp6 libxpm4 libxslt1.1", "  linux-libc-dev manpages-dev nginx-common nginx-core python-meld3", "                                              python-pkg-resources python-pycurl python2.7-dev python3-apt", "  unattended-upgrades zlib1g-dev", "Suggested packages:", "                                              cpp-doc gcc-5-locales debian-keyring g++-multilib g++-5-multilib gcc-5-doc", "  libstdc++6-5-dbg gcc-multilib autoconf auto                                            make libtool flex bison gdb", "  gcc-doc gcc-5-multilib libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg", "  libasan2-db                                            g liblsan0-dbg libtsan0-dbg libubsan0-dbg libcilkrts5-dbg", "  libmpx0-dbg libquadmath0-dbg glibc-doc libgd-tools libstdc++-                                            5-doc fcgiwrap", "  nginx-doc python-setuptools libcurl4-gnutls-dev python-pycurl-dbg", "  python-pycurl-doc python3-apt-dbg                                             python-apt-doc sqlite3-doc", "The following NEW packages will be installed:", "  build-essential cpp cpp-5 dpkg-dev fakeroo                                            t g++ g++-5 gcc gcc-5", "  libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl", "  libasan2 libatomic1                                             libc-dev-bin libc6-dev libcc1-0 libcilkrts5", "  libcurl3-gnutls libexpat1-dev libfakeroot libffi-dev libgcc-5-dev libgd3",                                             "  libisl13 libitm1 libjbig0 libjpeg-turbo8 libjpeg8 liblsan0 libmpc3 libmpx0", "  libpython-dev libpython2.7-dev libquadma                                            th0 librtmp1 libssl-dev libssl-doc", "  libstdc++-5-dev libtiff5 libtsan0 libubsan0 libvpx2 libx11-6 libx11-data", "  libxau                                            6 libxcb1 libxdmcp6 libxpm4 libxslt1.1 linux-libc-dev manpages-dev", "  nginx nginx-common nginx-core python-dev python-meld                                            3 python-pkg-resources", "  python-pycurl python-software-properties python2.7-dev python3-apt sqlite3", "  supervisor unatt                                            ended-upgrades zlib1g-dev", "0 upgraded, 66 newly installed, 0 to remove and 0 not upgraded.", "Need to get 72.7 MB of archi                                            ves.", "After this operation, 195 MB of additional disk space will be used.", "Get:1 http://archive.ubuntu.com/ubuntu/ wily/                                            main libxau6 amd64 1:1.0.8-1 [8376 B]", "Get:2 http://archive.ubuntu.com/ubuntu/ wily/main libxdmcp6 amd64 1:1.1.2-1 [11.2 k                                            B]", "Get:3 http://archive.ubuntu.com/ubuntu/ wily/main libisl13 amd64 0.14-2 [456 kB]", "Get:4 http://archive.ubuntu.com/ub                                            untu/ wily/main libjpeg-turbo8 amd64 1.3.0-0ubuntu2 [104 kB]", "Get:5 http://archive.ubuntu.com/ubuntu/ wily/main libxcb1 am                                            d64 1.11-0ubuntu1 [40.1 kB]", "Get:6 http://archive.ubuntu.com/ubuntu/ wily/main libx11-data all 2:1.6.3-1ubuntu2 [113 kB]",                                             "Get:7 http://archive.ubuntu.com/ubuntu/ wily/main libx11-6 amd64 2:1.6.3-1ubuntu2 [571 kB]", "Get:8 http://archive.ubuntu.                                            com/ubuntu/ wily/main libxpm4 amd64 1:3.5.11-1 [33.1 kB]", "Get:9 http://archive.ubuntu.com/ubuntu/ wily/main libxslt1.1 amd                                            64 1.1.28-2build2 [147 kB]", "Get:10 http://archive.ubuntu.com/ubuntu/ wily/main libjbig0 amd64 2.1-3.1 [26.6 kB]", "Get:11                                             http://archive.ubuntu.com/ubuntu/ wily/main libmpc3 amd64 1.0.3-1 [39.7 kB]", "Get:12 http://archive.ubuntu.com/ubuntu/ wily                                            /main librtmp1 amd64 2.4+20150115.gita107cef-1build1 [54.7 kB]", "Get:13 http://archive.ubuntu.com/ubuntu/ wily-updates/main                                             libcurl3-gnutls amd64 7.43.0-1ubuntu2.1 [183 kB]", "Get:14 http://archive.ubuntu.com/ubuntu/ wily-updates/main python3-apt                                             amd64 1.0.1ubuntu0.1 [141 kB]", "Get:15 http://archive.ubuntu.com/ubuntu/ wily-updates/main libc-dev-bin amd64 2.21-0ubuntu4                                            .3 [68.5 kB]", "Get:16 http://archive.ubuntu.com/ubuntu/ wily-updates/main linux-libc-dev amd64 4.2.0-42.49 [832 kB]", "Get:                                            17 http://archive.ubuntu.com/ubuntu/ wily-updates/main libc6-dev amd64 2.21-0ubuntu4.3 [1958 kB]", "Get:18 http://archive.ub                                            untu.com/ubuntu/ wily/main cpp-5 amd64 5.2.1-22ubuntu2 [5962 kB]", "Get:19 http://archive.ubuntu.com/ubuntu/ wily/main cpp a                                            md64 4:5.2.1-3ubuntu1 [27.4 kB]", "Get:20 http://archive.ubuntu.com/ubuntu/ wily/main libcc1-0 amd64 5.2.1-22ubuntu2 [31.0 k                                            B]", "Get:21 http://archive.ubuntu.com/ubuntu/ wily/main libitm1 amd64 5.2.1-22ubuntu2 [27.4 kB]", "Get:22 http://archive.ub                                            untu.com/ubuntu/ wily/main libatomic1 amd64 5.2.1-22ubuntu2 [8950 B]", "Get:23 http://archive.ubuntu.com/ubuntu/ wily/main l                                            ibasan2 amd64 5.2.1-22ubuntu2 [269 kB]", "Get:24 http://archive.ubuntu.com/ubuntu/ wily/main liblsan0 amd64 5.2.1-22ubuntu2                                             [110 kB]", "Get:25 http://archive.ubuntu.com/ubuntu/ wily/main libtsan0 amd64 5.2.1-22ubuntu2 [249 kB]", "Get:26 http://arch                                            ive.ubuntu.com/ubuntu/ wily/main libubsan0 amd64 5.2.1-22ubuntu2 [100 kB]", "Get:27 http://archive.ubuntu.com/ubuntu/ wily/m                                            ain libcilkrts5 amd64 5.2.1-22ubuntu2 [40.0 kB]", "Get:28 http://archive.ubuntu.com/ubuntu/ wily/main libmpx0 amd64 5.2.1-22                                            ubuntu2 [9822 B]", "Get:29 http://archive.ubuntu.com/ubuntu/ wily/main libquadmath0 amd64 5.2.1-22ubuntu2 [131 kB]", "Get:30                                             http://archive.ubuntu.com/ubuntu/ wily/main libgcc-5-dev amd64 5.2.1-22ubuntu2 [2228 kB]", "Get:31 http://archive.ubuntu.co                                            m/ubuntu/ wily/main gcc-5 amd64 5.2.1-22ubuntu2 [6708 kB]", "Get:32 http://archive.ubuntu.com/ubuntu/ wily/main gcc amd64 4:                                            5.2.1-3ubuntu1 [5204 B]", "Get:33 http://archive.ubuntu.com/ubuntu/ wily/main libstdc++-5-dev amd64 5.2.1-22ubuntu2 [1423 kB                                            ]", "Get:34 http://archive.ubuntu.com/ubuntu/ wily/main g++-5 amd64 5.2.1-22ubuntu2 [15.3 MB]", "Get:35 http://archive.ubunt                                            u.com/ubuntu/ wily/main g++ amd64 4:5.2.1-3ubuntu1 [1506 B]", "Get:36 http://archive.ubuntu.com/ubuntu/ wily-updates/main dp                                            kg-dev all 1.18.2ubuntu5.1 [583 kB]", "Get:37 http://archive.ubuntu.com/ubuntu/ wily/main build-essential amd64 12.1ubuntu2                                             [4758 B]", "Get:38 http://archive.ubuntu.com/ubuntu/ wily/main libfakeroot amd64 1.20.2-1ubuntu1 [25.5 kB]", "Get:39 http://                                            archive.ubuntu.com/ubuntu/ wily/main fakeroot amd64 1.20.2-1ubuntu1 [61.8 kB]", "Get:40 http://archive.ubuntu.com/ubuntu/ wi                                            ly/main libalgorithm-diff-perl all 1.19.03-1 [47.6 kB]", "Get:41 http://archive.ubuntu.com/ubuntu/ wily/main libalgorithm-di                                            ff-xs-perl amd64 0.04-3build1 [11.8 kB]", "Get:42 http://archive.ubuntu.com/ubuntu/ wily/main libalgorithm-merge-perl all 0.                                            08-2 [12.7 kB]", "Get:43 http://archive.ubuntu.com/ubuntu/ wily-updates/main libexpat1-dev amd64 2.1.0-7ubuntu0.15.10.2 [116                                             kB]", "Get:44 http://archive.ubuntu.com/ubuntu/ wily/main libjpeg8 amd64 8c-2ubuntu8 [2194 B]", "Get:45 http://archive.ubun                                            tu.com/ubuntu/ wily-updates/main libtiff5 amd64 4.0.3-12.3ubuntu2.1 [145 kB]", "Get:46 http://archive.ubuntu.com/ubuntu/ wil                                            y/main libvpx2 amd64 1.4.0-4 [688 kB]", "Get:47 http://archive.ubuntu.com/ubuntu/ wily-updates/main libgd3 amd64 2.1.1-4ubun                                            tu0.15.10.2 [125 kB]", "Get:48 http://archive.ubuntu.com/ubuntu/ wily/main libpython2.7-dev amd64 2.7.10-4ubuntu1 [27.7 MB]"                                            , "Get:49 http://archive.ubuntu.com/ubuntu/ wily/main libpython-dev amd64 2.7.9-1 [7836 B]", "Get:50 http://archive.ubuntu.c                                            om/ubuntu/ wily/main zlib1g-dev amd64 1:1.2.8.dfsg-2ubuntu4 [168 kB]", "Get:51 http://archive.ubuntu.com/ubuntu/ wily-update                                            s/main libssl-dev amd64 1.0.2d-0ubuntu1.5 [1344 kB]", "Get:52 http://archive.ubuntu.com/ubuntu/ wily-updates/main libssl-doc                                             all 1.0.2d-0ubuntu1.5 [1070 kB]", "Get:53 http://archive.ubuntu.com/ubuntu/ wily/main manpages-dev all 3.74-1ubuntu1 [1865                                             kB]", "Get:54 http://archive.ubuntu.com/ubuntu/ wily-updates/main nginx-common all 1.9.3-1ubuntu1.2 [26.7 kB]", "Get:55 http                                            ://archive.ubuntu.com/ubuntu/ wily-updates/main nginx-core amd64 1.9.3-1ubuntu1.2 [382 kB]", "Get:56 http://archive.ubuntu.c                                            om/ubuntu/ wily-updates/main nginx all 1.9.3-1ubuntu1.2 [3484 B]", "Get:57 http://archive.ubuntu.com/ubuntu/ wily/main pytho                                            n2.7-dev amd64 2.7.10-4ubuntu1 [270 kB]", "Get:58 http://archive.ubuntu.com/ubuntu/ wily/main python-dev amd64 2.7.9-1 [1220                                             B]", "Get:59 http://archive.ubuntu.com/ubuntu/ wily/main python-pkg-resources all 18.4-1 [70.7 kB]", "Get:60 http://archive                                            .ubuntu.com/ubuntu/ wily/main python-pycurl amd64 7.19.5.1-1ubuntu2 [36.0 kB]", "Get:61 http://archive.ubuntu.com/ubuntu/ wi                                            ly-updates/main unattended-upgrades all 0.86.2ubuntu1.1 [30.2 kB]", "Get:62 http://archive.ubuntu.com/ubuntu/ wily-updates/u                                            niverse python-software-properties all 0.96.13.1 [19.9 kB]", "Get:63 http://archive.ubuntu.com/ubuntu/ wily/main sqlite3 amd                                            64 3.8.11.1-1 [36.2 kB]", "Get:64 http://archive.ubuntu.com/ubuntu/ wily/main libffi-dev amd64 3.2.1-3 [162 kB]", "Get:65 ht                                            tp://archive.ubuntu.com/ubuntu/ wily/universe python-meld3 amd64 1.0.2-1 [30.8 kB]", "Get:66 http://archive.ubuntu.com/ubunt                                            u/ wily/universe supervisor all 3.0r1-1 [244 kB]", "Preconfiguring packages ...", "Fetched 72.7 MB in 27s (2685 kB/s)", "Sel                                            ecting previously unselected package libxau6:amd64.", "(Reading database ... ", "(Reading database ... 5%", "(Reading databa                                            se ... 10%", "(Reading database ... 15%", "(Reading database ... 20%", "(Reading database ... 25%", "(Reading database ... 3                                            0%", "(Reading database ... 35%", "(Reading database ... 40%", "(Reading database ... 45%", "(Reading database ... 50%", "(R                                            eading database ... 55%", "(Reading database ... 60%", "(Reading database ... 65%", "(Reading database ... 70%", "(Reading d                                            atabase ... 75%", "(Reading database ... 80%", "(Reading database ... 85%", "(Reading database ... 90%", "(Reading database                                             ... 95%", "(Reading database ... 100%", "(Reading database ... 26647 files and directories currently installed.)", "Preparin                                            g to unpack .../libxau6_1%3a1.0.8-1_amd64.deb ...", "Unpacking libxau6:amd64 (1:1.0.8-1) ...", "Selecting previously unselec                                            ted package libxdmcp6:amd64.", "Preparing to unpack .../libxdmcp6_1%3a1.1.2-1_amd64.deb ...", "Unpacking libxdmcp6:amd64 (1:                                            1.1.2-1) ...", "Selecting previously unselected package libisl13:amd64.", "Preparing to unpack .../libisl13_0.14-2_amd64.deb                                             ...", "Unpacking libisl13:amd64 (0.14-2) ...", "Selecting previously unselected package libjpeg-turbo8:amd64.", "Preparing                                             to unpack .../libjpeg-turbo8_1.3.0-0ubuntu2_amd64.deb ...", "Unpacking libjpeg-turbo8:amd64 (1.3.0-0ubuntu2) ...", "Selectin                                            g previously unselected package libxcb1:amd64.", "Preparing to unpack .../libxcb1_1.11-0ubuntu1_amd64.deb ...", "Unpacking l                                            ibxcb1:amd64 (1.11-0ubuntu1) ...", "Selecting previously unselected package libx11-data.", "Preparing to unpack .../libx11-d                                            ata_2%3a1.6.3-1ubuntu2_all.deb ...", "Unpacking libx11-data (2:1.6.3-1ubuntu2) ...", "Selecting previously unselected packag                                            e libx11-6:amd64.", "Preparing to unpack .../libx11-6_2%3a1.6.3-1ubuntu2_amd64.deb ...", "Unpacking libx11-6:amd64 (2:1.6.3-                                            1ubuntu2) ...", "Selecting previously unselected package libxpm4:amd64.", "Preparing to unpack .../libxpm4_1%3a3.5.11-1_amd6                                            4.deb ...", "Unpacking libxpm4:amd64 (1:3.5.11-1) ...", "Selecting previously unselected package libxslt1.1:amd64.", "Prepar                                            ing to unpack .../libxslt1.1_1.1.28-2build2_amd64.deb ...", "Unpacking libxslt1.1:amd64 (1.1.28-2build2) ...", "Selecting pr                                            eviously unselected package libjbig0:amd64.", "Preparing to unpack .../libjbig0_2.1-3.1_amd64.deb ...", "Unpacking libjbig0:                                            amd64 (2.1-3.1) ...", "Selecting previously unselected package libmpc3:amd64.", "Preparing to unpack .../libmpc3_1.0.3-1_amd                                            64.deb ...", "Unpacking libmpc3:amd64 (1.0.3-1) ...", "Selecting previously unselected package librtmp1:amd64.", "Preparing                                             to unpack .../librtmp1_2.4+20150115.gita107cef-1build1_amd64.deb ...", "Unpacking librtmp1:amd64 (2.4+20150115.gita107cef-1b                                            uild1) ...", "Selecting previously unselected package libcurl3-gnutls:amd64.", "Preparing to unpack .../libcurl3-gnutls_7.43                                            .0-1ubuntu2.1_amd64.deb ...", "Unpacking libcurl3-gnutls:amd64 (7.43.0-1ubuntu2.1) ...", "Selecting previously unselected pa                                            ckage python3-apt.", "Preparing to unpack .../python3-apt_1.0.1ubuntu0.1_amd64.deb ...", "Unpacking python3-apt (1.0.1ubuntu                                            0.1) ...", "Selecting previously unselected package libc-dev-bin.", "Preparing to unpack .../libc-dev-bin_2.21-0ubuntu4.3_am                                            d64.deb ...", "Unpacking libc-dev-bin (2.21-0ubuntu4.3) ...", "Selecting previously unselected package linux-libc-dev:amd64.                                            ", "Preparing to unpack .../linux-libc-dev_4.2.0-42.49_amd64.deb ...", "Unpacking linux-libc-dev:amd64 (4.2.0-42.49) ...", "                                            Selecting previously unselected package libc6-dev:amd64.", "Preparing to unpack .../libc6-dev_2.21-0ubuntu4.3_amd64.deb ..."                                            , "Unpacking libc6-dev:amd64 (2.21-0ubuntu4.3) ...", "Selecting previously unselected package cpp-5.", "Preparing to unpack                                             .../cpp-5_5.2.1-22ubuntu2_amd64.deb ...", "Unpacking cpp-5 (5.2.1-22ubuntu2) ...", "Selecting previously unselected package                                             cpp.", "Preparing to unpack .../cpp_4%3a5.2.1-3ubuntu1_amd64.deb ...", "Unpacking cpp (4:5.2.1-3ubuntu1) ...", "Selecting pr                                            eviously unselected package libcc1-0:amd64.", "Preparing to unpack .../libcc1-0_5.2.1-22ubuntu2_amd64.deb ...", "Unpacking l                                            ibcc1-0:amd64 (5.2.1-22ubuntu2) ...", "Selecting previously unselected package libitm1:amd64.", "Preparing to unpack .../lib                                            itm1_5.2.1-22ubuntu2_amd64.deb ...", "Unpacking libitm1:amd64 (5.2.1-22ubuntu2) ...", "Selecting previously unselected packa                                            ge libatomic1:amd64.", "Preparing to unpack .../libatomic1_5.2.1-22ubuntu2_amd64.deb ...", "Unpacking libatomic1:amd64 (5.2.                                            1-22ubuntu2) ...", "Selecting previously unselected package libasan2:amd64.", "Preparing to unpack .../libasan2_5.2.1-22ubun                                            tu2_amd64.deb ...", "Unpacking libasan2:amd64 (5.2.1-22ubuntu2) ...", "Selecting previously unselected package liblsan0:amd6                                            4.", "Preparing to unpack .../liblsan0_5.2.1-22ubuntu2_amd64.deb ...", "Unpacking liblsan0:amd64 (5.2.1-22ubuntu2) ...", "Se                                            lecting previously unselected package libtsan0:amd64.", "Preparing to unpack .../libtsan0_5.2.1-22ubuntu2_amd64.deb ...", "U                                            npacking libtsan0:amd64 (5.2.1-22ubuntu2) ...", "Selecting previously unselected package libubsan0:amd64.", "Preparing to un                                            pack .../libubsan0_5.2.1-22ubuntu2_amd64.deb ...", "Unpacking libubsan0:amd64 (5.2.1-22ubuntu2) ...", "Selecting previously                                             unselected package libcilkrts5:amd64.", "Preparing to unpack .../libcilkrts5_5.2.1-22ubuntu2_amd64.deb ...", "Unpacking libc                                            ilkrts5:amd64 (5.2.1-22ubuntu2) ...", "Selecting previously unselected package libmpx0:amd64.", "Preparing to unpack .../lib                                            mpx0_5.2.1-22ubuntu2_amd64.deb ...", "Unpacking libmpx0:amd64 (5.2.1-22ubuntu2) ...", "Selecting previously unselected packa                                            ge libquadmath0:amd64.", "Preparing to unpack .../libquadmath0_5.2.1-22ubuntu2_amd64.deb ...", "Unpacking libquadmath0:amd64                                             (5.2.1-22ubuntu2) ...", "Selecting previously unselected package libgcc-5-dev:amd64.", "Preparing to unpack .../libgcc-5-de                                            v_5.2.1-22ubuntu2_amd64.deb ...", "Unpacking libgcc-5-dev:amd64 (5.2.1-22ubuntu2) ...", "Selecting previously unselected pac                                            kage gcc-5.", "Preparing to unpack .../gcc-5_5.2.1-22ubuntu2_amd64.deb ...", "Unpacking gcc-5 (5.2.1-22ubuntu2) ...", "Selec                                            ting previously unselected package gcc.", "Preparing to unpack .../gcc_4%3a5.2.1-3ubuntu1_amd64.deb ...", "Unpacking gcc (4:                                            5.2.1-3ubuntu1) ...", "Selecting previously unselected package libstdc++-5-dev:amd64.", "Preparing to unpack .../libstdc++-5                                            -dev_5.2.1-22ubuntu2_amd64.deb ...", "Unpacking libstdc++-5-dev:amd64 (5.2.1-22ubuntu2) ...", "Selecting previously unselect                                            ed package g++-5.", "Preparing to unpack .../g++-5_5.2.1-22ubuntu2_amd64.deb ...", "Unpacking g++-5 (5.2.1-22ubuntu2) ...",                                             "Selecting previously unselected package g++.", "Preparing to unpack .../g++_4%3a5.2.1-3ubuntu1_amd64.deb ...", "Unpacking g                                            ++ (4:5.2.1-3ubuntu1) ...", "Selecting previously unselected package dpkg-dev.", "Preparing to unpack .../dpkg-dev_1.18.2ubu                                            ntu5.1_all.deb ...", "Unpacking dpkg-dev (1.18.2ubuntu5.1) ...", "Selecting previously unselected package build-essential.",                                             "Preparing to unpack .../build-essential_12.1ubuntu2_amd64.deb ...", "Unpacking build-essential (12.1ubuntu2) ...", "Select                                            ing previously unselected package libfakeroot:amd64.", "Preparing to unpack .../libfakeroot_1.20.2-1ubuntu1_amd64.deb ...",                                             "Unpacking libfakeroot:amd64 (1.20.2-1ubuntu1) ...", "Selecting previously unselected package fakeroot.", "Preparing to unpa                                            ck .../fakeroot_1.20.2-1ubuntu1_amd64.deb ...", "Unpacking fakeroot (1.20.2-1ubuntu1) ...", "Selecting previously unselected                                             package libalgorithm-diff-perl.", "Preparing to unpack .../libalgorithm-diff-perl_1.19.03-1_all.deb ...", "Unpacking libalg                                            orithm-diff-perl (1.19.03-1) ...", "Selecting previously unselected package libalgorithm-diff-xs-perl.", "Preparing to unpac                                            k .../libalgorithm-diff-xs-perl_0.04-3build1_amd64.deb ...", "Unpacking libalgorithm-diff-xs-perl (0.04-3build1) ...", "Sele                                            cting previously unselected package libalgorithm-merge-perl.", "Preparing to unpack .../libalgorithm-merge-perl_0.08-2_all.d                                            eb ...", "Unpacking libalgorithm-merge-perl (0.08-2) ...", "Selecting previously unselected package libexpat1-dev:amd64.", "                                            Preparing to unpack .../libexpat1-dev_2.1.0-7ubuntu0.15.10.2_amd64.deb ...", "Unpacking libexpat1-dev:amd64 (2.1.0-7ubuntu0.                                            15.10.2) ...", "Selecting previously unselected package libjpeg8:amd64.", "Preparing to unpack .../libjpeg8_8c-2ubuntu8_amd6                                            4.deb ...", "Unpacking libjpeg8:amd64 (8c-2ubuntu8) ...", "Selecting previously unselected package libtiff5:amd64.", "Prepar                                            ing to unpack .../libtiff5_4.0.3-12.3ubuntu2.1_amd64.deb ...", "Unpacking libtiff5:amd64 (4.0.3-12.3ubuntu2.1) ...", "Select                                            ing previously unselected package libvpx2:amd64.", "Preparing to unpack .../libvpx2_1.4.0-4_amd64.deb ...", "Unpacking libvp                                            x2:amd64 (1.4.0-4) ...", "Selecting previously unselected package libgd3:amd64.", "Preparing to unpack .../libgd3_2.1.1-4ubu                                            ntu0.15.10.2_amd64.deb ...", "Unpacking libgd3:amd64 (2.1.1-4ubuntu0.15.10.2) ...", "Selecting previously unselected package                                             libpython2.7-dev:amd64.", "Preparing to unpack .../libpython2.7-dev_2.7.10-4ubuntu1_amd64.deb ...", "Unpacking libpython2.7                                            -dev:amd64 (2.7.10-4ubuntu1) ...", "Selecting previously unselected package libpython-dev:amd64.", "Preparing to unpack .../                                            libpython-dev_2.7.9-1_amd64.deb ...", "Unpacking libpython-dev:amd64 (2.7.9-1) ...", "Selecting previously unselected packag                                            e zlib1g-dev:amd64.", "Preparing to unpack .../zlib1g-dev_1%3a1.2.8.dfsg-2ubuntu4_amd64.deb ...", "Unpacking zlib1g-dev:amd6                                            4 (1:1.2.8.dfsg-2ubuntu4) ...", "Selecting previously unselected package libssl-dev:amd64.", "Preparing to unpack .../libssl                                            -dev_1.0.2d-0ubuntu1.5_amd64.deb ...", "Unpacking libssl-dev:amd64 (1.0.2d-0ubuntu1.5) ...", "Selecting previously unselecte                                            d package libssl-doc.", "Preparing to unpack .../libssl-doc_1.0.2d-0ubuntu1.5_all.deb ...", "Unpacking libssl-doc (1.0.2d-0u                                            buntu1.5) ...", "Selecting previously unselected package manpages-dev.", "Preparing to unpack .../manpages-dev_3.74-1ubuntu1                                            _all.deb ...", "Unpacking manpages-dev (3.74-1ubuntu1) ...", "Selecting previously unselected package nginx-common.", "Prepa                                            ring to unpack .../nginx-common_1.9.3-1ubuntu1.2_all.deb ...", "Unpacking nginx-common (1.9.3-1ubuntu1.2) ...", "Selecting p                                            reviously unselected package nginx-core.", "Preparing to unpack .../nginx-core_1.9.3-1ubuntu1.2_amd64.deb ...", "Unpacking n                                            ginx-core (1.9.3-1ubuntu1.2) ...", "Selecting previously unselected package nginx.", "Preparing to unpack .../nginx_1.9.3-1u                                            buntu1.2_all.deb ...", "Unpacking nginx (1.9.3-1ubuntu1.2) ...", "Selecting previously unselected package python2.7-dev.", "                                            Preparing to unpack .../python2.7-dev_2.7.10-4ubuntu1_amd64.deb ...", "Unpacking python2.7-dev (2.7.10-4ubuntu1) ...", "Sele                                            cting previously unselected package python-dev.", "Preparing to unpack .../python-dev_2.7.9-1_amd64.deb ...", "Unpacking pyt                                            hon-dev (2.7.9-1) ...", "Selecting previously unselected package python-pkg-resources.", "Preparing to unpack .../python-pkg                                            -resources_18.4-1_all.deb ...", "Unpacking python-pkg-resources (18.4-1) ...", "Selecting previously unselected package pyth                                            on-pycurl.", "Preparing to unpack .../python-pycurl_7.19.5.1-1ubuntu2_amd64.deb ...", "Unpacking python-pycurl (7.19.5.1-1ub                                            untu2) ...", "Selecting previously unselected package unattended-upgrades.", "Preparing to unpack .../unattended-upgrades_0.                                            86.2ubuntu1.1_all.deb ...", "Unpacking unattended-upgrades (0.86.2ubuntu1.1) ...", "Selecting previously unselected package                                             python-software-properties.", "Preparing to unpack .../python-software-properties_0.96.13.1_all.deb ...", "Unpacking python-                                            software-properties (0.96.13.1) ...", "Selecting previously unselected package sqlite3.", "Preparing to unpack .../sqlite3_3                                            .8.11.1-1_amd64.deb ...", "Unpacking sqlite3 (3.8.11.1-1) ...", "Selecting previously unselected package libffi-dev:amd64.",                                             "Preparing to unpack .../libffi-dev_3.2.1-3_amd64.deb ...", "Unpacking libffi-dev:amd64 (3.2.1-3) ...", "Selecting previous                                            ly unselected package python-meld3.", "Preparing to unpack .../python-meld3_1.0.2-1_amd64.deb ...", "Unpacking python-meld3                                             (1.0.2-1) ...", "Selecting previously unselected package supervisor.", "Preparing to unpack .../supervisor_3.0r1-1_all.deb .                                            ..", "Unpacking supervisor (3.0r1-1) ...", "Processing triggers for man-db (2.7.4-1) ...", "Processing triggers for systemd                                             (225-1ubuntu9.1) ...", "Processing triggers for install-info (6.0.0.dfsg.1-3) ...", "Setting up libxau6:amd64 (1:1.0.8-1) ..                                            .", "Setting up libxdmcp6:amd64 (1:1.1.2-1) ...", "Setting up libisl13:amd64 (0.14-2) ...", "Setting up libjpeg-turbo8:amd64                                             (1.3.0-0ubuntu2) ...", "Setting up libxcb1:amd64 (1.11-0ubuntu1) ...", "Setting up libx11-data (2:1.6.3-1ubuntu2) ...", "Se                                            tting up libx11-6:amd64 (2:1.6.3-1ubuntu2) ...", "Setting up libxpm4:amd64 (1:3.5.11-1) ...", "Setting up libxslt1.1:amd64 (                                            1.1.28-2build2) ...", "Setting up libjbig0:amd64 (2.1-3.1) ...", "Setting up libmpc3:amd64 (1.0.3-1) ...", "Setting up librt                                            mp1:amd64 (2.4+20150115.gita107cef-1build1) ...", "Setting up libcurl3-gnutls:amd64 (7.43.0-1ubuntu2.1) ...", "Setting up py                                            thon3-apt (1.0.1ubuntu0.1) ...", "Setting up libc-dev-bin (2.21-0ubuntu4.3) ...", "Setting up linux-libc-dev:amd64 (4.2.0-42                                            .49) ...", "Setting up libc6-dev:amd64 (2.21-0ubuntu4.3) ...", "Setting up cpp-5 (5.2.1-22ubuntu2) ...", "Setting up cpp (4:                                            5.2.1-3ubuntu1) ...", "Setting up libcc1-0:amd64 (5.2.1-22ubuntu2) ...", "Setting up libitm1:amd64 (5.2.1-22ubuntu2) ...", "                                            Setting up libatomic1:amd64 (5.2.1-22ubuntu2) ...", "Setting up libasan2:amd64 (5.2.1-22ubuntu2) ...", "Setting up liblsan0:                                            amd64 (5.2.1-22ubuntu2) ...", "Setting up libtsan0:amd64 (5.2.1-22ubuntu2) ...", "Setting up libubsan0:amd64 (5.2.1-22ubuntu                                            2) ...", "Setting up libcilkrts5:amd64 (5.2.1-22ubuntu2) ...", "Setting up libmpx0:amd64 (5.2.1-22ubuntu2) ...", "Setting up                                             libquadmath0:amd64 (5.2.1-22ubuntu2) ...", "Setting up libgcc-5-dev:amd64 (5.2.1-22ubuntu2) ...", "Setting up gcc-5 (5.2.1-                                            22ubuntu2) ...", "Setting up gcc (4:5.2.1-3ubuntu1) ...", "Setting up libstdc++-5-dev:amd64 (5.2.1-22ubuntu2) ...", "Setting                                             up g++-5 (5.2.1-22ubuntu2) ...", "Setting up g++ (4:5.2.1-3ubuntu1) ...", "update-alternatives: using /usr/bin/g++ to provi                                            de /usr/bin/c++ (c++) in auto mode", "Setting up dpkg-dev (1.18.2ubuntu5.1) ...", "Setting up build-essential (12.1ubuntu2)                                             ...", "Setting up libfakeroot:amd64 (1.20.2-1ubuntu1) ...", "Setting up fakeroot (1.20.2-1ubuntu1) ...", "update-alternative                                            s: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode", "Setting up libalgorithm-diff-perl (1                                            .19.03-1) ...", "Setting up libalgorithm-diff-xs-perl (0.04-3build1) ...", "Setting up libalgorithm-merge-perl (0.08-2) ..."                                            , "Setting up libexpat1-dev:amd64 (2.1.0-7ubuntu0.15.10.2) ...", "Setting up libjpeg8:amd64 (8c-2ubuntu8) ...", "Setting up                                             libtiff5:amd64 (4.0.3-12.3ubuntu2.1) ...", "Setting up libvpx2:amd64 (1.4.0-4) ...", "Setting up libgd3:amd64 (2.1.1-4ubuntu                                            0.15.10.2) ...", "Setting up libpython2.7-dev:amd64 (2.7.10-4ubuntu1) ...", "Setting up libpython-dev:amd64 (2.7.9-1) ...",                                             "Setting up zlib1g-dev:amd64 (1:1.2.8.dfsg-2ubuntu4) ...", "Setting up libssl-dev:amd64 (1.0.2d-0ubuntu1.5) ...", "Setting u                                            p libssl-doc (1.0.2d-0ubuntu1.5) ...", "Setting up manpages-dev (3.74-1ubuntu1) ...", "Setting up nginx-common (1.9.3-1ubunt                                            u1.2) ...", "Setting up nginx-core (1.9.3-1ubuntu1.2) ...", "Job for nginx.service failed because the control process exited                                             with error code. See \"systemctl status nginx.service\" and \"journalctl -xe\" for details.", "invoke-rc.d: initscript ngin                                            x, action \"start\" failed.", "dpkg: error processing package nginx-core (--configure):", " subprocess installed post-instal                                            lation script returned error exit status 1", "dpkg: dependency problems prevent configuration of nginx:", " nginx depends on                                             nginx-core (>= 1.9.3-1ubuntu1.2) | nginx-full (>= 1.9.3-1ubuntu1.2) | nginx-light (>= 1.9.3-1ubuntu1.2) | nginx-extras (>=                                             1.9.3-1ubuntu1.2); however:", "  Package nginx-core is not configured yet.", "  Package nginx-full is not installed.", "  Pa                                            ckage nginx-light is not installed.", "  Package nginx-extras is not installed.", " nginx depends on nginx-core (<< 1.9.3-1u                                            buntu1.2.1~) | nginx-full (<< 1.9.3-1ubuntu1.2.1~) | nginx-light (<< 1.9.3-1ubuntu1.2.1~) | nginx-extras (<< 1.9.3-1ubuntu1.                                            2.1~); however:", "  Package nginx-core is not configured yet.", "  Package nginx-full is not installed.", "  Package nginx-                                            light is not installed.", "  Package nginx-extras is not installed.", "", "dpkg: error processing package nginx (--configure                                            ):", " dependency problems - leaving unconfigured", "Setting up python2.7-dev (2.7.10-4ubuntu1) ...", "Setting up python-dev                                             (2.7.9-1) ...", "Setting up python-pkg-resources (18.4-1) ...", "Setting up python-pycurl (7.19.5.1-1ubuntu2) ...", "Settin                                            g up unattended-upgrades (0.86.2ubuntu1.1) ...", "update-rc.d: warning: start and stop actions are no longer supported; fall                                            ing back to defaults", "Setting up python-software-properties (0.96.13.1) ...", "Setting up sqlite3 (3.8.11.1-1) ...", "Sett                                            ing up libffi-dev:amd64 (3.2.1-3) ...", "Setting up python-meld3 (1.0.2-1) ...", "Setting up supervisor (3.0r1-1) ...", "Pro                                            cessing triggers for libc-bin (2.21-0ubuntu4.3) ...", "Processing triggers for systemd (225-1ubuntu9.1) ...", "Errors were e                                            ncountered while processing:", " nginx-core", " nginx"]}

PLAY RECAP *********************************************************************
132.148.88.35              : ok=3    changed=0    unreachable=0    failed=1




By the way this is a new vm on godaddy VPS server.

Any comment?

Best Regards!

--
You received this message because you are subscribed to a topic in the Google Groups "OpenWISP" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/openwisp/y0rNUXUidu0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to openwisp+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Alvaro Mendez

unread,
Mar 7, 2017, 7:42:57 AM3/7/17
to Federico Capoano, OpenWISP
Another test,

in the new vm there is installed apache2 by default, so i uninstall it and try to install manually nginx, but:

root@s132-148-88-35:~# apt-get install nginx
Reading package lists... Done
Building dependency tree
Reading state information... Done

The following extra packages will be installed:
  libgd3 libjbig0 libjpeg-turbo8 libjpeg8 libtiff5 libvpx2 libx11-6 libx11-data libxau6 libxcb1 libxdmcp6 libxpm4 libxslt1.1 nginx-common
  nginx-core
Suggested packages:
  libgd-tools fcgiwrap nginx-doc

The following NEW packages will be installed:
  libgd3 libjbig0 libjpeg-turbo8 libjpeg8 libtiff5 libvpx2 libx11-6 libx11-data libxau6 libxcb1 libxdmcp6 libxpm4 libxslt1.1 nginx
  nginx-common nginx-core
0 upgraded, 16 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/2427 kB of archives.
After this operation, 8827 kB of additional disk space will be used.
Do you want to continue? [Y/n]

Selecting previously unselected package libxau6:amd64.
(Reading database ... 30558 files and directories currently installed.)
Preparing to unpack .../libxau6_1%3a1.0.8-1_amd64.deb ...

Unpacking libxau6:amd64 (1:1.0.8-1) ...
Selecting previously unselected package libxdmcp6:amd64.
Preparing to unpack .../libxdmcp6_1%3a1.1.2-1_amd64.deb ...
Unpacking libxdmcp6:amd64 (1:1.1.2-1) ...
Selecting previously unselected package libjpeg-turbo8:amd64.
Preparing to unpack .../libjpeg-turbo8_1.3.0-0ubuntu2_amd64.deb ...
Unpacking libjpeg-turbo8:amd64 (1.3.0-0ubuntu2) ...
Selecting previously unselected package libxcb1:amd64.
Preparing to unpack .../libxcb1_1.11-0ubuntu1_amd64.deb ...
Unpacking libxcb1:amd64 (1.11-0ubuntu1) ...

Selecting previously unselected package libx11-data.
Preparing to unpack .../libx11-data_2%3a1.6.3-1ubuntu2_all.deb ...

Unpacking libx11-data (2:1.6.3-1ubuntu2) ...
Selecting previously unselected package libx11-6:amd64.

Preparing to unpack .../libx11-6_2%3a1.6.3-1ubuntu2_amd64.deb ...
Unpacking libx11-6:amd64 (2:1.6.3-1ubuntu2) ...
Selecting previously unselected package libxpm4:amd64.
Preparing to unpack .../libxpm4_1%3a3.5.11-1_amd64.deb ...

Unpacking libxpm4:amd64 (1:3.5.11-1) ...
Selecting previously unselected package libxslt1.1:amd64.
Preparing to unpack .../libxslt1.1_1.1.28-2build2_amd64.deb ...

Unpacking libxslt1.1:amd64 (1.1.28-2build2) ...
Selecting previously unselected package libjbig0:amd64.
Preparing to unpack .../libjbig0_2.1-3.1_amd64.deb ...
Unpacking libjbig0:amd64 (2.1-3.1) ...
Selecting previously unselected package libjpeg8:amd64.
Preparing to unpack .../libjpeg8_8c-2ubuntu8_amd64.deb ...

Unpacking libjpeg8:amd64 (8c-2ubuntu8) ...
Selecting previously unselected package libtiff5:amd64.
Preparing to unpack .../libtiff5_4.0.3-12.3ubuntu2.1_amd64.deb ...

Unpacking libtiff5:amd64 (4.0.3-12.3ubuntu2.1) ...
Selecting previously unselected package libvpx2:amd64.
Preparing to unpack .../libvpx2_1.4.0-4_amd64.deb ...
Unpacking libvpx2:amd64 (1.4.0-4) ...

Selecting previously unselected package libgd3:amd64.
Preparing to unpack .../libgd3_2.1.1-4ubuntu0.15.10.2_amd64.deb ...

Unpacking libgd3:amd64 (2.1.1-4ubuntu0.15.10.2) ...
Selecting previously unselected package nginx-common.
Preparing to unpack .../nginx-common_1.9.3-1ubuntu1.2_all.deb ...
Unpacking nginx-common (1.9.3-1ubuntu1.2) ...
Selecting previously unselected package nginx-core.

Preparing to unpack .../nginx-core_1.9.3-1ubuntu1.2_amd64.deb ...
Unpacking nginx-core (1.9.3-1ubuntu1.2) ...

Selecting previously unselected package nginx.
Preparing to unpack .../nginx_1.9.3-1ubuntu1.2_all.deb ...
Unpacking nginx (1.9.3-1ubuntu1.2) ...

Processing triggers for man-db (2.7.4-1) ...
Processing triggers for systemd (225-1ubuntu9.1) ...
Setting up libxau6:amd64 (1:1.0.8-1) ...
Setting up libxdmcp6:amd64 (1:1.1.2-1) ...
Setting up libjpeg-turbo8:amd64 (1.3.0-0ubuntu2) ...
Setting up libxcb1:amd64 (1.11-0ubuntu1) ...
Setting up libx11-data (2:1.6.3-1ubuntu2) ...
Setting up libx11-6:amd64 (2:1.6.3-1ubuntu2) ...
Setting up libxpm4:amd64 (1:3.5.11-1) ...
Setting up libxslt1.1:amd64 (1.1.28-2build2) ...
Setting up libjbig0:amd64 (2.1-3.1) ...
Setting up libjpeg8:amd64 (8c-2ubuntu8) ...
Setting up libtiff5:amd64 (4.0.3-12.3ubuntu2.1) ...
Setting up libvpx2:amd64 (1.4.0-4) ...
Setting up libgd3:amd64 (2.1.1-4ubuntu0.15.10.2) ...

Setting up nginx-common (1.9.3-1ubuntu1.2) ...
Setting up nginx-core (1.9.3-1ubuntu1.2) ...
Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe"                    for details.
invoke-rc.d: initscript nginx, action "start" failed.
dpkg: error processing package nginx-core (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of nginx:
 nginx depends on nginx-core (>= 1.9.3-1ubuntu1.2) | nginx-full (>= 1.9.3-1ubuntu1.2) | nginx-light (>= 1.9.3-1ubuntu1.2) | nginx-extras (>                   = 1.9.3-1ubuntu1.2); however:
  Package nginx-core is not configured yet.
  Package nginx-full is not installed.
  Package nginx-light is not installed.
  Package nginx-extras is not installed.
 nginx depends on nginx-core (<< 1.9.3-1ubuntu1.2.1~) | nginx-full (<< 1.9.3-1ubuntu1.2.1~) | nginx-light (<< 1.9.3-1ubuntu1.2.1~) | nginx-                   extras (<< 1.9.3-1ubuntu1.2.1~); however:

  Package nginx-core is not configured yet.
  Package nginx-full is not installed.
  Package nginx-light is not installed.
  Package nginx-extras is not installed.

dpkg: error processing package nginx (--configure):
 dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.21-0ubuntu4.3) ...
Errors were encountered while processing:
 nginx-core
 nginx

E: Sub-process /usr/bin/dpkg returned an error code (1)


So, i run those commands and the result is:

root@s132-148-88-35:~# systemctl status nginx.service
● nginx.service - A high performance web server and a reverse proxy server
   Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Tue 2017-03-07 05:08:48 MST; 2min 34s ago
  Process: 9986 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE)

Mar 07 05:08:48 s132-148-88-35.secureserver.net nginx[9986]: nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)
Mar 07 05:08:48 s132-148-88-35.secureserver.net nginx[9986]: nginx: configuration file /etc/nginx/nginx.conf test failed
root@s132-148-88-35:~# journalctl -xe
Mar 07 05:04:12 s132-148-88-35.secureserver.net nginx[8533]: nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)
Mar 07 05:04:12 s132-148-88-35.secureserver.net nginx[8533]: nginx: configuration file /etc/nginx/nginx.conf test failed
Mar 07 05:06:12 s132-148-88-35.secureserver.net sshd[8782]: Accepted password for tabako from 200.29.159.194 port 41120 ssh2
Mar 07 05:06:12 s132-148-88-35.secureserver.net sshd[8782]: pam_unix(sshd:session): session opened for user tabako by (uid=0)
Mar 07 05:06:12 s132-148-88-35.secureserver.net sshd[8782]: pam_env(sshd:session): Unable to open env file: /etc/default/locale: No such file or directory
Mar 07 05:06:15 s132-148-88-35.secureserver.net sudo[8801]:   tabako : TTY=pts/1 ; PWD=/home/tabako ; USER=root ; COMMAND=/bin/sh -c echo BECOME-SUCCESS-voebt
Mar 07 05:06:15 s132-148-88-35.secureserver.net sudo[8801]: pam_env(sudo:session): Unable to open env file: /etc/default/locale: No such file or directory
Mar 07 05:06:15 s132-148-88-35.secureserver.net sudo[8801]: pam_unix(sudo:session): session opened for user root by tabako(uid=0)
Mar 07 05:06:15 s132-148-88-35.secureserver.net ansible-setup[8803]: Invoked with filter=* fact_path=/etc/ansible/facts.d
Mar 07 05:06:16 s132-148-88-35.secureserver.net sudo[8801]: pam_unix(sudo:session): session closed for user root
Mar 07 05:06:19 s132-148-88-35.secureserver.net sudo[8836]:   tabako : TTY=pts/1 ; PWD=/home/tabako ; USER=root ; COMMAND=/bin/sh -c echo BECOME-SUCCESS-zvodu
Mar 07 05:06:19 s132-148-88-35.secureserver.net sudo[8836]: pam_env(sudo:session): Unable to open env file: /etc/default/locale: No such file or directory
Mar 07 05:06:19 s132-148-88-35.secureserver.net sudo[8836]: pam_unix(sudo:session): session opened for user root by tabako(uid=0)
Mar 07 05:06:19 s132-148-88-35.secureserver.net ansible-apt[8838]: Invoked with dpkg_options=force-confdef,force-confold upgrade=None force=False package=None
Mar 07 05:06:27 s132-148-88-35.secureserver.net sudo[8836]: pam_unix(sudo:session): session closed for user root
Mar 07 05:06:30 s132-148-88-35.secureserver.net sudo[8869]:   tabako : TTY=pts/1 ; PWD=/home/tabako ; USER=root ; COMMAND=/bin/sh -c echo BECOME-SUCCESS-ekvsc
Mar 07 05:06:30 s132-148-88-35.secureserver.net sudo[8869]: pam_env(sudo:session): Unable to open env file: /etc/default/locale: No such file or directory
Mar 07 05:06:30 s132-148-88-35.secureserver.net sudo[8869]: pam_unix(sudo:session): session opened for user root by tabako(uid=0)
Mar 07 05:06:30 s132-148-88-35.secureserver.net ansible-apt[8871]: Invoked with dpkg_options=force-confdef,force-confold upgrade=None force=False name=['sudo'
Mar 07 05:06:36 s132-148-88-35.secureserver.net nginx[9276]: nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)
Mar 07 05:06:36 s132-148-88-35.secureserver.net nginx[9276]: nginx: configuration file /etc/nginx/nginx.conf test failed
Mar 07 05:06:36 s132-148-88-35.secureserver.net sudo[8869]: pam_unix(sudo:session): session closed for user root
Mar 07 05:07:27 s132-148-88-35.secureserver.net nginx[9335]: nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)
Mar 07 05:07:27 s132-148-88-35.secureserver.net nginx[9335]: nginx: configuration file /etc/nginx/nginx.conf test failed
Mar 07 05:07:36 s132-148-88-35.secureserver.net sshd[8793]: Received disconnect from 200.29.159.194: 11: disconnected by user
Mar 07 05:07:36 s132-148-88-35.secureserver.net sshd[8793]: Disconnected from 200.29.159.194
Mar 07 05:07:36 s132-148-88-35.secureserver.net sshd[8782]: pam_unix(sshd:session): session closed for user tabako
Mar 07 05:07:47 s132-148-88-35.secureserver.net sshd[9342]: Received disconnect from 61.183.15.243: 11: Bye Bye [preauth]
Mar 07 05:07:47 s132-148-88-35.secureserver.net sshd[9342]: Disconnected from 61.183.15.243 [preauth]
Mar 07 05:08:48 s132-148-88-35.secureserver.net nginx[9986]: nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)
Mar 07 05:08:48 s132-148-88-35.secureserver.net nginx[9986]: nginx: configuration file /etc/nginx/nginx.conf test failed
root@s132-148-88-35:~#

the problem is that by default nginx is configured to use ipv6, so i remove manually the line:

listen [::]:80 default_server;

in file: /etc/nginx/sites-available/default

Next, nginx start without and then i run ansible again from my laptop and.....

Everything is fine!!!!

PLAY RECAP *********************************************************************
132.148.88.35              : ok=44   changed=32   unreachable=0    failed=0


I can run the openwisp interface and am ready to go!!!

Thanks for your help and i hope you can achive the nginx issue in ubuntu 15.

Best Regards,

Alvaro




Federico Capoano

unread,
Mar 7, 2017, 7:57:08 AM3/7/17
to OpenWISP
Great!

I think this issue happens only with ubuntu 15. If you can switch to ubuntu 16 it would be better because it's an LTS (long term support) and will be maintained for a longer time.

Federico
Reply all
Reply to author
Forward
0 new messages