How do you prevent or hold back a package from updating in a Debian-based distro?

To hold back a package
echo "<package-name> hold" | dpkg --set-selections


To release the hold on a package:
echo "<package-name> install" | dpkg --set-selections


To see the status of all packages:
dpkg --get-selections


Tags: Debian, Hold, Packages
2018-10-21 18:24 Roy Kidder {writeRevision}
Average rating: 0 (0 Votes)

You cannot comment on this entry

Chuck Norris has counted to infinity. Twice.