Refresh the system's view of available packages so installations and upgrades know what is current. 16.11.2025 | reading time: 2 min Keeping the package index fresh is the first step before installing or upgrading software; run a list update to let the package manager know what versions exist and where to fetch them. Quick Demo Do this now on a Debian/Ubuntu machine to see the effect: run the update command and then check for upgradable packages with a list command; example session below shows both input and typical output in sequence: ```$ sudo apt update\nHit:1 http://archive.ubuntu.com/ubuntu focal InRelease\nGet:2 http://security.ubuntu.com/ubuntu focal-security InRelease [94.5 kB]\nFetched 94.5 kB in 1s (120 kB/s)\nReading package lists... Done\nBuilding dependency tree... Done\nReading state information... Done\nAll packages are up to date.\n\n$ apt list --upgradable\nListing... Done\npackage-name/now 1.2.3-1ubuntu1 amd64 [upgradable from: 1.2.2-1ubuntu1]``` Beyond The Basics An update only refreshes the index; it does not change installed packages, so run an upgrade command afterward to apply updates; also check `/etc/apt/sources.list` and `/etc/apt/sources.list.d/` when repositories look wrong, and remember that sometimes release-info changes require `--allow-releaseinfo-change` or manual intervention. Related Utilities Use `apt list --upgradable` to see pending upgrades, `apt-cache policy` to inspect version priorities, and `unattended-upgrades` to automate security updates; on non-Debian systems equivalent tools and flags differ, so learn the manager native to the distribution. Final Step Refresh package lists regularly on servers and workstations to avoid surprises during installs and to enable predictable automation; keep exploring package management to master system maintenance and consider formal certification to validate skills through programs such as CompTIA Linux+ or LPIC-1, with focused exam preparation at bitsandbytes.academy. Join Bits & Bytes Academy First class LINUX exam preparation. setup utilities infrastructure troubleshooting