runfalk / synology-wireguard

WireGuard support for some Synology NAS drives
MIT License
945 stars 132 forks source link

Fails to install due to missing /usr/local/bin #50

Closed hschmidt closed 3 years ago

hschmidt commented 4 years ago

There was no /usr/local/bin on my DS819 so the postinst script failed.

This also leaves the system in a state where an attempt to uninstall results in an error.

There should be instructions in the README on how to manually uninstall. Here's what I did:

rm -rf '/volume1/@appstore/WireGuard'
rm -rf /var/packages/WireGuard

After creating /usr/local/bin manually a subsequent installation succeeded.

Removing those two directories worked in my case but may not be exhaustive. The symlinks that the post inst script installs should also be removed.