แสดงบทความที่มีป้ายกำกับ apt-get แสดงบทความทั้งหมด
แสดงบทความที่มีป้ายกำกับ apt-get แสดงบทความทั้งหมด

วันจันทร์ที่ 12 กุมภาพันธ์ พ.ศ. 2561

How to disable kernel updates in Ubuntu via command line


This article gives the steps how to upgrade all the apt-get packages without updating the kernel on Ubuntu via command line.

Disable Kernel Update
sudo apt-mark hold linux-image-generic linux-headers-generic 

Updates Apt-Get Local DB
sudo apt-get update
Install Upgrades
sudo apt-get upgrade -y

How to re-enable Kernel Updates