Top 5 Command Line Music Players for Linux Users How to:- Increase Sudo Session Duration in Linux The Friendly Interactive SHell (Fish): Simplifying command-line interactions. I hope this article will help you to exclude package from apt-get upgrade command. If you have any queries please comment in comment section. Using Apt Command $ sudo apt-mark unhold package-name Using Dpkg Command $ echo "package-name install" | sudo dpkg -set-selections Using Aptitude $ sudo aptitude hold package-name If you want to upgrade any hold and exclude package, you can use the below command. Using Apt Command $ sudo apt-mark hold package-name Using Dpkg Command $ echo "package-name hold" | sudo dpkg -set-selections Using Aptitude $ sudo aptitude hold package-name How to Include Package or Unhold During Installation? In this tutorial I will describe how you can exclude packages from apt-get update command? How to prevent packages from auto update using apt command? How to Exclude Packages from apt-get Update Command?įollow the below command to exclude or hold the specific Debian package from update. Although I reverted my PHP version to overcome this issue. Recently I upgraded my one production server and accidentally I upgraded PHP version due to which some PHP function deprecated. When we run the full update or automatic packages upgrade process on system, sometime accidentally we upgrades those packages which is not to update and this creates serious issue on the server. How to Include Package or Unhold During Installation?.How to Exclude Packages from apt-get Update Command?.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |