My chromium is automaticaly updating.please tell me a solution to disable that.I had disable all updates in software updater.
1 Answer
Using apt-mark
:
You can use apt-mark
to hold back the package so that it will not be updated automatically:
$ sudo apt-mark hold chromium-browser
chromium-browser set on hold.
$ apt-mark showhold
chromium-browser
To cancel the hold status:
$ sudo apt-mark unhold chromium-browser
Canceled hold on chromium-browser.
From man apt-mark
:
hold hold is used to mark a package as held back, which will prevent the package from being automatically installed, upgraded or removed.
Using dpkg
:
Actually apt-mark hold
is a wrapper around dpkg --set-selections
, so you can use dpkg --set-selections
directly:
sudo dpkg --set-selections <<<'chromium-browser hold'