The core debian package management system is dpkg.
All other software updaters and software package managers on Ubuntu – apt-get, synaptic, update manager – are just front-ends for this system. I have a couple of packages want to lock their version – no updates to them, please. Fairly easy in synaptic package manager. But apt-get and update manager did not know of synaptics preferences.
So tell the core dpkg to hold these versions applies to all relevant package managers:
echo "package_name hold"|dpkg --set-selections
more details:
by lacek » 2004-09-15 12:05
To put a package to hold:
echo "package_name hold"|dpkg --set-selectionsto 'unhold' it:
echo "package_name install"|dpkg --set-selecions
lacek
Moderator Team MemberPosts: 769
Joined: 2004-03-11 18:49
Location: Budapest, Hungary
Top
by folke » 2004-09-15 18:39Thanx.
exactly what I’m looking for.
source: http://forums.debian.net/viewtopic.php?t=240
and more information at