WireGuard / wireguard-vyatta-ubnt

WireGuard for Ubiquiti Devices
https://www.wireguard.com/
GNU General Public License v3.0
1.45k stars 68 forks source link

ERX v2 hotfix 2. Can't install. #121

Closed BEOILYEN closed 2 years ago

BEOILYEN commented 2 years ago

Package version

e50-v2-v1.0.20211208-v1.0.20210914

Firmware version

2.0.9 hotfix 2

Device

EdgeRouter X (SFP) - e50

Issue description

Hello! I have tried to install .deb package,but installation fails on "is not a debian format archive" error.

Configuration and log output

Lord@TRAPXATA:~$ curl -OL https://github.com/WireGuard/wireguard-vyatta-ubnt/releases/download/e50-v2-v1.0.20211208-v1.0.20210914.deb
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100     9  100     9    0     0     13      0 --:--:-- --:--:-- --:--:--    13
Lord@TRAPXATA:~$ ls
e50-v2-v1.0.20211208-v1.0.20210914.deb
Lord@TRAPXATA:~$ sudo dpkg -i e50-v2-v1.0.20211208-v1.0.20210914.deb
dpkg-deb: error: 'e50-v2-v1.0.20211208-v1.0.20210914.deb' is not a debian format archive
dpkg: error processing archive e50-v2-v1.0.20211208-v1.0.20210914.deb (--install):
 subprocess dpkg-deb --control returned error exit status 2
Errors were encountered while processing:
 e50-v2-v1.0.20211208-v1.0.20210914.deb
dc361 commented 2 years ago

Hi BEOILYEN looks like you missed a bit of the download URL. If you look your .deb file is simply the text "not found"

Here's the correct curl command:

curl -OL https://github.com/WireGuard/wireguard-vyatta-ubnt/releases/download/1.0.20211208-1/e50-v2-v1.0.20211208-v1.0.20210914.deb

BEOILYEN commented 2 years ago

It's Correct! I have installed it successfully! May be it will be possible to fix the link in wiki also? As I have copied wrong one from there.