User Tools

Site Tools


apt-hold

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

apt-hold [02.07.2018 15:07] (current)
andreas created
Line 1: Line 1:
 +====== Prevent tool to be updated by apt ======
  
 +There could be known issues with one of the package where the appreciated private setup does not comply to the requirements of the newest version of a package. This could e.g. be '​chromium-browser',​ where suddenply some deprecitaed function will not work anymore, so it's preferred to stick to the currently installed version.
 +
 +Mark a package to be on-hold, so this will be skipped with e.g. every '//​sudo apt upgrade//'​ run by entering e.g.:
 +<​code>​
 +sudo apt-mark hold chromium-browser
 +</​code>​
 +
 +Undo the blocking (or holding) by simply unhold the package again:
 +<​code>​
 +sudo apt-mark unhold chromium-browser
 +</​code>​
apt-hold.txt ยท Last modified: 02.07.2018 15:07 by andreas