apt-get hold version

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-selections

to 'unhold' it:
echo "package_name install"|dpkg --set-selecions

lacek
Moderator Team Member

Posts: 769
Joined: 2004-03-11 18:49
Location: Budapest, Hungary
Top
by folke » 2004-09-15 18:39

Thanx.

exactly what I’m looking for.

source: http://forums.debian.net/viewtopic.php?t=240
and more information at

http://www.debian.org/doc/FAQ/ch-pkg_basics.en.html

This entry was posted in Linux. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>