Installing the debug package for Softether does not work on Ubuntu 14.04

I created a new deb package from SoftEtherVPN source at https://github.com/SoftEtherVPN/SoftEtherVPN using

checkinstall -D make install

The process successfully installs the software, but the resulting deb package cannot install with this error:

unable to create `/proc/sys/kernel/threads-max.dpkg-new' (while processing `./proc/sys/kernel/threads-max'): No such file or directory

I cannot find out how to fix this error.

MVCE:

ssh root@my_new_14.04_vps_ip
apt-get update && apt-get -y upgrade
apt-get -y install git-core build-essential 
apt-get install libreadline6-dev libncurses5-dev libssl-dev
apt-get install checkinstall
git clone https://github.com/SoftEtherVPN/SoftEtherVPN.git
cd SoftEtherVPN
./configure
checkinstall -D make install
+4
source share
1 answer

proc Linux. threads-max, , , ​​ . , checkinstall , . dpkg , , checkinstall, .

checkinstall , , postinst script, , , .

checkinstall --exclude /proc/sys/kernel/threads-max -D make install
+2

Source: https://habr.com/ru/post/1617653/


All Articles