Nyr / openvpn-install

OpenVPN road warrior installer for Ubuntu, Debian, AlmaLinux, Rocky Linux, CentOS and Fedora
MIT License
19.1k stars 4.9k forks source link

getcwd() failed #1062

Closed Null-Ouwenjie closed 1 year ago

Null-Ouwenjie commented 1 year ago

ubuntu 22.04 64, root user run in path: /root can not install openvpn, fail reason is : sh: 0: getcwd() failed: No such file or directory.

log history: ` Notice

An updated CRL has been created:

2023-09-13 14:22:55 WARNING: Using --genkey --secret filename is DEPRECATED. Use --genkey secret filename instead.

Finished!

The client configuration is available in: /root/client.ovpn New clients can be added by running this script again. Reading package lists... Done Building dependency tree... Done Reading state information... Done The following package was automatically installed and is no longer required: libpkcs11-helper1 Use 'apt autoremove' to remove it. sh: 0: getcwd() failed: No such file or directory The following packages will be REMOVED: openvpn* sh: 0: getcwd() failed: No such file or directory 0 upgraded, 0 newly installed, 1 to remove and 54 not upgraded. sh: 0: getcwd() failed: No such file or directory After this operation, 1,663 kB disk space will be freed. sh: 0: getcwd() failed: No such file or directory (Reading database ... 80464 files and directories currently installed.) Removing openvpn (2.5.5-1ubuntu3.1) ... Processing triggers for man-db (2.10.2-1) ... (Reading database ... 80380 files and directories currently installed.) Purging configuration files for openvpn (2.5.5-1ubuntu3.1) ... sh: 0: getcwd() failed: No such file or directory

OpenVPN removed! openvpn-install.sh: line 580: syntax error near unexpected token else' openvpn-install.sh: line 580: else' `

Null-Ouwenjie commented 1 year ago

it almost install success, look like remove libpkcs11-helper1 has error ?

Nrpk46 commented 1 year ago

AZAMSSRV_AFE8E6CAAC6E9815AD972BBB182CFCAF