Page 6 of 7

Re: [SOLVED] native nordvpn app on MX linux

Posted: Tue Apr 23, 2019 7:45 am
by fehlix
ludolph wrote: Tue Apr 23, 2019 3:25 am ... is there any chance to put modified version of nordvpn native app (compatible with sysVinit) to MX Test repo?
I guess if we get enough positive feedback ( or no negative failure report), we might but the installer for nordvpn together with the sysVinit-fix into MX Package Installer -> Popular Apps ... a.s.a.p. ... :snail:
:puppy:

Re: [SOLVED] native nordvpn app on MX linux

Posted: Tue Apr 23, 2019 7:54 am
by anticapitalista
fehlix wrote: Tue Apr 23, 2019 7:45 am
ludolph wrote: Tue Apr 23, 2019 3:25 am ... is there any chance to put modified version of nordvpn native app (compatible with sysVinit) to MX Test repo?
I guess if we get enough positive feedback ( or no negative failure report), we might but the installer for nordvpn together with the sysVinit-fix into MX Package Installer -> Popular Apps ... a.s.a.p. ... :snail:
:puppy:
Is it proprietary though?

Re: [SOLVED] native nordvpn app on MX linux

Posted: Tue Apr 23, 2019 8:09 am
by fehlix
anticapitalista wrote: Tue Apr 23, 2019 7:54 am Is it proprietary though?
According to their Terms of Service
they do have it under "Intellectual property rights" as "download and use a copy of the NordVPN software".
They do only provide binaries on their repo

Code: Select all

https://repo.nordvpn.com/deb/nordvpn/debian/dists
:puppy:

Re: [SOLVED] native nordvpn app on MX linux

Posted: Tue Apr 23, 2019 8:11 am
by dolphin_oracle
anticapitalista wrote: Tue Apr 23, 2019 7:54 am
fehlix wrote: Tue Apr 23, 2019 7:45 am
ludolph wrote: Tue Apr 23, 2019 3:25 am ... is there any chance to put modified version of nordvpn native app (compatible with sysVinit) to MX Test repo?
I guess if we get enough positive feedback ( or no negative failure report), we might but the installer for nordvpn together with the sysVinit-fix into MX Package Installer -> Popular Apps ... a.s.a.p. ... :snail:
:puppy:
Is it proprietary though?
yes, but we would pull from their repo. we wouldn't host their deb. the sysvinit scripts would be ours though, in a sep. package.

Re: [SOLVED] native nordvpn app on MX linux

Posted: Tue Apr 23, 2019 8:31 am
by anticapitalista
dolphin_oracle wrote: Tue Apr 23, 2019 8:11 am
yes, but we would pull from their repo. we wouldn't host their deb. the sysvinit scripts would be ours though, in a sep. package.
Excellent!

Re: [SOLVED] native nordvpn app on MX linux

Posted: Wed Apr 24, 2019 4:08 am
by ludolph
After today update of nordvpn app Is not possible to install latest update:

Code: Select all

$ sudo apt install nordvpn
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  nordvpn
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/10.7 MB of archives.
After this operation, 39.9 MB of additional disk space will be used.
(Reading database ... 410170 files and directories currently installed.)
Preparing to unpack .../nordvpn_3.0.0-4_amd64.deb ...
Unpacking nordvpn (3.0.0-4) ...
dpkg: error processing archive /var/cache/apt/archives/nordvpn_3.0.0-4_amd64.deb (--unpack):
 unable to make backup link of './var/lib/nordvpn/data/insights.dat' before installing new version: Operation not permitted
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/nordvpn_3.0.0-4_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Something is broken... so I tried to fix it ...

Code: Select all

chattr -i /var/lib/nordvpn/data/insights.dat
chattr -i /var/lib/nordvpn/data/servers.dat
rm -fr /var/lib/nordvpn/
And after that I was finally again able to reinstall nordvpn with fehlix init hack. :p

The problem is, that two files at /var/lib/nordvpn/data has "immutable" attributes and can not be changed during update, but cannot be simply deleted even by root.

Code: Select all

lsattr /var/lib/nordvpn/data/* 
----i---------e---- /var/lib/nordvpn/data/insights.dat
----i---------e---- /var/lib/nordvpn/data/servers.dat
Please, could you confirm, this problem after nordvpn update to higher version??? I am not sure, what is the primary cause.

Re: [SOLVED] native nordvpn app on MX linux

Posted: Wed Apr 24, 2019 6:15 am
by tadream
I just had a successful update to the latest version today with fehlix's init hack applied yesterday, so I can't confirm.

Re: [SOLVED] native nordvpn app on MX linux

Posted: Wed Apr 24, 2019 6:35 am
by ludolph
tadream wrote: Wed Apr 24, 2019 6:15 am I just had a successful update to the latest version today with fehlix's init hack applied yesterday, so I can't confirm.
This is really very strange! I have no idea what is wrong... :bawling:

Re: [SOLVED] native nordvpn app on MX linux

Posted: Wed Apr 24, 2019 6:53 am
by fehlix
ludolph wrote: Wed Apr 24, 2019 6:35 am This is really very strange! I have no idea what is wrong... :bawling:
Ahh, you installed nordvpn apt-source and upgraded, right? Did you had version 2 installed already and running? and upgrade to version 3. Or did you appliad already the nord-vpn fix.
Anyway, as the latest nordvpn installer, will ignore sysVinit, so it will not properly shut down the daemon and will not prepare the system for the upgrade. Suggest we don't put norvpn's apt-source into into apt source list, but upgrade through MX Package installer (when available), wehre we can shutdown the daemon properly and prepare a potential upgrade.

Re: [SOLVED] native nordvpn app on MX linux

Posted: Wed Apr 24, 2019 7:02 am
by ludolph
fehlix wrote: Wed Apr 24, 2019 6:53 am
ludolph wrote: Wed Apr 24, 2019 6:35 am This is really very strange! I have no idea what is wrong... :bawling:
Ahh, you installed nordvpn apt-source and upgraded, right? Did you had version 2 installed already and running? and upgrade to version 3. Or did you appliad already the nord-vpn fix.
Anyway, as the latest nordvpn installer, will ignore sysVinit, so it will not properly shut down the daemon and will not prepare the system for the upgrade. Suggest we don't put norvpn's apt-source into into apt source list, but upgrade through MX Package installer (when available), wehre we can shutdown the daemon properly and prepare a potential upgrade.
yes, I did the exactly same way as you described …

So, what is the current recommended way how to install and update NordVPN on MX 18? Could you post brief tutorial? Or should I wait for MX-like version of NordVPN when will be available in MX repos? I m afraid I messed up my system by NordVPN leftovers now.