This is very confusing. It is not clearly mentioned that locking a package in Synaptic does not lock it in dpkg.
How to properly lock/freeze/hold a package:
echo "package-name hold" | dpkg --set-selection
How to release a package for updates:
echo "package-name install" | dpkg --set-selection
Why can synaptic not simply invoke the same interface? Is it because it locks the package database? And if so, then I think Synaptic should be liable to also lock packages properly.
This is very confusing. It is not clearly mentioned that locking a package in Synaptic does not lock it in dpkg.
How to properly lock/freeze/hold a package:
echo "package-name hold" | dpkg --set-selection
How to release a package for updates:
echo "package-name install" | dpkg --set-selection
Why can synaptic not simply invoke the same interface? Is it because it locks the package database? And if so, then I think Synaptic should be liable to also lock packages properly.