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.
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.