Falha de instalação do OpenVPN com “'IP' não possui atributo 'SubnetSet'”

1

Estou tentando instalar um pacote de software openvpn em uma nova instância do EC2. Depois de correr: sudo dpkg -i openvpn-as-2.1.4b-Ubuntu16.amd_64.deb

O pacote deb é baixado do link

A mensagem mostra que a instalação falha e a mensagem no log é:

Once you provide a few initial configuration settings,
OpenVPN Access Server can be configured by accessing
its Admin Web UI using your Web browser.

Will this be the primary Access Server node?
(enter 'no' to configure as a backup or standby node)
> Press ENTER for default [yes]: 

Please specify the network interface and IP address to be
used by the Admin Web UI:
(1) all interfaces: 0.0.0.0
(2) eth0: 172.31.23.191
Please enter the option number from the list above (1-2).
> Press Enter for default [2]: 

Please specify the port number for the Admin Web UI.
> Press ENTER for default [943]: 

Please specify the TCP port number for the OpenVPN Daemon
> Press ENTER for default [443]: 

Should client traffic be routed by default through the VPN?
> Press ENTER for default [yes]: 

Should client DNS traffic be routed by default through the VPN?
> Press ENTER for default [yes]: 

Use local authentication via internal DB?
> Press ENTER for default [no]: 
Traceback (most recent call last):
  File "/usr/local/openvpn_as/bin/_ovpn-init", line 478, in <module>
    priv_nets = NetInfoLinux.get_priv_subnets()
  File "build/bdist.linux-x86_64/egg/pyovpn/net/net.py", line 403, in get_priv_subnets
AttributeError: type object 'IP' has no attribute 'SubnetSet'

O sistema operacional: Linux ip-172-31-23-191 3.13.0-106-generic #153-Ubuntu SMP Tue Dec 6 15:44:32 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux e Python é 2.7.6

Qualquer ajuda? Obrigado

    
por Xu Shijie 09.03.2017 / 04:35

1 resposta

0

Tem a certeza que este pacote foi feito para a sua versão do Ubuntu? O nome do pacote parece ser para o Xenial, enquanto o seu uname com 3.13.x #153-Ubuntu : parece Trusty.

Supondo que você só quer o OpenVPN, você pode usar apt-get install openvpn em vez de dpkg . Como regra geral: evite usar dpkg diretamente.

    
por SYN 09.03.2017 / 07:33