I have to install Adobe Flash Player, each time Firefox is updated. I am tired of this .... hectic work. Please tell me how to prevent Firefox from being updated by Update-Manager.
1 Answers
Open a terminal (Ctrl+Alt+T) and enter this command:
echo "firefox hold" | sudo dpkg --set-selections
This command locks your package and prevents it to be updated.
Undo
If for any reason you change your mind and want to update it, simply replace hold with install:
echo "firefox install" | sudo dpkg --set-selections
Check status
To check the status of a package if it will be updated, enter:
dpkg --get-selections | grep firefox
Note it’s better to lock other packages related to firefox as well, such as firefox-globalmenu, firefox-gnome-support. You can see all of them by checking the status, then enter the lock command for each separately:
echo "firefox-globalmenu hold" | sudo dpkg --set-selections
echo "firefox-gnome-support hold" | sudo dpkg --set-selections
echo "firefox-locale-en hold" | sudo dpkg --set-selections
– these are just examples, on your computer you may have different locale packages.
- 5,974