Comment 26 for bug 42178

Revision history for this message
Benjamin Bach (benjaoming) wrote : Re: apt-get doesn't use the same pinning as synaptic

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.