apt-get source pure-ftpd
cd pure-ftpd-1.0.21/
nano debian/rules
line 12 add --without-capabilities
optflags=--with-everything --with-largefile --with-pam --with-privsep --with-tls --without-capabilities
optflags=--with-everything --with-largefile --with-pam --with-privsep --with-tls --without-capabilities
apt-get build-dep pure-ftpd
dpkg-buildpackage -uc -b
cd ..
dpkg -i pure-ftpd-mysql_1.0.21-11.4_amd64.deb
Instead of using apt-pinning you can just set packages on hold:
echo package hold | dpkg --set-selections
To undo that:
echo package install | dpkg --set-selections
To view a list of "on hold" packages:
dpkg --get-selections | grep hold
echo package hold | dpkg --set-selections
To undo that:
echo package install | dpkg --set-selections
To view a list of "on hold" packages:
dpkg --get-selections | grep hold
Žiadne komentáre:
Zverejnenie komentára