fatal error when installing openwisp2: "No package matching 'python-virtualenv' is available"

51 views
Skip to first unread message

Leonardo Izzo

unread,
Jul 24, 2020, 11:42:18 AM7/24/20
to OpenWISP
hi I have a virtual machine ubuntu 20.04 on Hyper-v. From a win10 machine through Cygwin I followed all the steps indicated in https://github.com/openwisp/ansible-openwisp2#usage-tutorial for the installation of Opewisp2, therefore:

- install Ansible
- install Git
- choose a working Directory called openwisp2-ansible-playbook
- Create an inventory file called host
- Create a playbook file called playbook.yml

Unfortunately, when I run the playbook using the command:

ansible-playbook -i host playbook.yml -u administrator -k --become -K

the following window comes out:




how can i solve? Thank you

Federico Capoano

unread,
Jul 24, 2020, 11:44:47 AM7/24/20
to OpenWISP
Hi Leonardo, can you paste the output of this command please?

cat /etc/issue

--
You received this message because you are subscribed to the Google Groups "OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openwisp+u...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/openwisp/f9eeacc9-a241-4451-971d-0b88970fc0f0o%40googlegroups.com.

Leonardo Izzo

unread,
Jul 24, 2020, 12:18:08 PM7/24/20
to OpenWISP
Ubuntu 20.04.1 LTS \n \l


Il giorno venerdì 24 luglio 2020 17:44:47 UTC+2, Federico Capoano ha scritto:
Hi Leonardo, can you paste the output of this command please?

cat /etc/issue

On Fri, Jul 24, 2020 at 10:42 AM Leonardo Izzo <leoni...@gmail.com> wrote:
hi I have a virtual machine ubuntu 20.04 on Hyper-v. From a win10 machine through Cygwin I followed all the steps indicated in https://github.com/openwisp/ansible-openwisp2#usage-tutorial for the installation of Opewisp2, therefore:

- install Ansible
- install Git
- choose a working Directory called openwisp2-ansible-playbook
- Create an inventory file called host
- Create a playbook file called playbook.yml

Unfortunately, when I run the playbook using the command:

ansible-playbook -i host playbook.yml -u administrator -k --become -K

the following window comes out:




how can i solve? Thank you

--
You received this message because you are subscribed to the Google Groups "OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to open...@googlegroups.com.

Federico Capoano

unread,
Jul 24, 2020, 12:27:19 PM7/24/20
to OpenWISP
Ubuntu 20 is not supported yet in the ansible role, but you can use this branch which should work: https://github.com/openwisp/ansible-openwisp2/pull/190

Best regards
Federico

To unsubscribe from this group and stop receiving emails from it, send an email to openwisp+u...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/openwisp/643fc0da-366a-4add-87f8-cd394f5e8cb2o%40googlegroups.com.

Leonardo Izzo

unread,
Jul 24, 2020, 12:34:09 PM7/24/20
to OpenWISP
ok I try and let you know. Thank you so much

Leonardo Izzo

unread,
Aug 3, 2020, 10:56:01 AM8/3/20
to OpenWISP
Hi, in this link I find 4 .yml files but I don't know what to continue.

Federico Capoano

unread,
Aug 3, 2020, 10:58:58 AM8/3/20
to OpenWISP
Install that branch (https://github.com/openwisp/ansible-openwisp2/tree/ubuntu20).

See Ansible docs regarding how to install from github, there's an example under "Role Versions".

F.

To unsubscribe from this group and stop receiving emails from it, send an email to openwisp+u...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/openwisp/91a69bed-31f8-4356-a43c-48279265b61fo%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages