[Durham] Holding packages from being updated

Oliver Burnett-Hall olly at burnett-hall.co.uk
Thu Jul 10 11:59:42 UTC 2014


On 10 July 2014 12:15, Neil Shaw <nelug at nshaw.co.uk> wrote:
> I have seen:
> sudo apt-mark hold <package>
>
> given as a way of preventing a package from being updated (see #17 on
> https://bugs.launchpad.net/ubuntu/+source/openbve/+bug/1273393  ). Not tried
> it myself, but worth a shot.

That one's new to me. The traditional way to do this was by adding an
entry to /etc/apt/preferences (man apt_preferences for the rather
complicated syntax), but using apt-mark looks a lot simpler.

- olly



More information about the Durham mailing list