Skip to main content

KTDEVX

Tag: APT

Disable Automatic Updates for APT Packages

When packages are updated automatically, there is a chance that software that was previously working may suddenly stop functioning. This guide explains how to disable automatic updates for APT packages. # Check Automatic Update Settings The automatic update settings are located in the 20auto-upgrades file within the /etc/apt/apt.conf.d directory. Below is an example of the settings: APT::Periodic::Update-Package-Lists "1"; APT::Periodic::Unattended-Upgrade "1"; Update-Package-Lists indicates automatic package updates, while Unattended-Upgrade represents automatic package upgrades.

Differences and Use Cases of apt and apt-get

Both apt and apt-get are package management tools used in Debian-based Linux distributions. This article explains the differences between these two commands and when to use each. # What is apt-get? apt-get is one of the older package management tools. It allows you to fetch packages from repositories, install, upgrade, and remove them. It automatically handles dependency resolution, deals with conflicting packages, and manages the cache. Additionally, it can perform system-wide upgrades.