When I run sudo apt-get upgrade
some of my installed packages also upgrading, but I don't want to upgrade them. Is there any way to avoid upgrade them.
Asked
Active
Viewed 235 times
2
1 Answers
4
You can lock a package with
sudo apt-mark hold packagename
command.

Frantique
- 8,493
-
IS this need to run every time when I want to run upgrade? since I want to avoid upgrade for all time and never upgarde them – αғsнιη Oct 06 '14 at 15:03
-
1No, you will mark the package as holden until you unhold it (with apt-mark unhold command). – Frantique Oct 06 '14 at 15:05
-
+1 Thank you. I will check it and after that I will accept. thanks – αғsнιη Oct 06 '14 at 15:07