[SOLVED] native nordvpn app on MX linux

Message
Author
User avatar
fehlix
Developer
Posts: 12737
Joined: Wed Apr 11, 2018 5:09 pm

Re: [SOLVED] native nordvpn app on MX linux

#51 Post 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:

User avatar
anticapitalista
Developer
Posts: 4299
Joined: Sat Jul 15, 2006 10:40 am

Re: [SOLVED] native nordvpn app on MX linux

#52 Post 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?
anticapitalista
Reg. linux user #395339.

Philosophers have interpreted the world in many ways; the point is to change it.

antiX with runit - lean and mean.
https://antixlinux.com

User avatar
fehlix
Developer
Posts: 12737
Joined: Wed Apr 11, 2018 5:09 pm

Re: [SOLVED] native nordvpn app on MX linux

#53 Post 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:

User avatar
dolphin_oracle
Developer
Posts: 22346
Joined: Sun Dec 16, 2007 12:17 pm

Re: [SOLVED] native nordvpn app on MX linux

#54 Post 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.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
anticapitalista
Developer
Posts: 4299
Joined: Sat Jul 15, 2006 10:40 am

Re: [SOLVED] native nordvpn app on MX linux

#55 Post 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!
anticapitalista
Reg. linux user #395339.

Philosophers have interpreted the world in many ways; the point is to change it.

antiX with runit - lean and mean.
https://antixlinux.com

User avatar
ludolph
Posts: 78
Joined: Fri Oct 07, 2011 7:38 am

Re: [SOLVED] native nordvpn app on MX linux

#56 Post 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.

tadream
Posts: 17
Joined: Mon Jan 28, 2019 4:50 pm

Re: [SOLVED] native nordvpn app on MX linux

#57 Post 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.

User avatar
ludolph
Posts: 78
Joined: Fri Oct 07, 2011 7:38 am

Re: [SOLVED] native nordvpn app on MX linux

#58 Post 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:

User avatar
fehlix
Developer
Posts: 12737
Joined: Wed Apr 11, 2018 5:09 pm

Re: [SOLVED] native nordvpn app on MX linux

#59 Post 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.

User avatar
ludolph
Posts: 78
Joined: Fri Oct 07, 2011 7:38 am

Re: [SOLVED] native nordvpn app on MX linux

#60 Post 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.

Post Reply

Return to “Software / Configuration”