Forrest logo
back to the apt-get tool

apt-get:update

Update the list of packages registered in your system.
$ apt-get update
try on your machine

The apt-get update command is a Linux command used to update the package lists for repositories and applications on a Ubuntu or Debian system. This command refreshes the sources for all the packages on the system, including newly added repositories and updates to existing repositories. The package lists contain information about the latest available packages and their dependencies, which are used by the system to manage package installations, upgrades, and removals. The apt-get update command is typically run before installing or updating software or packages on a Linux system to ensure that the package lists are up-to-date. This command does not install any new packages or updates, but only updates the package lists from the available repositories.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.

Questions that are answered by this command:

  • How to update all apt packages?
  • i dont have pacman-mirrors?
  • W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy/InRelease Temporary failure resolving 'archive.ubuntu.com' W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy-updates/InRelease Temporary failure resolving 'archive.ubuntu.com' W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy-backports/InRelease Temporary failure resolving 'archive.ubuntu.com' W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/jammy-security/InRelease Temporary failure resolving 'security.ubuntu.com' W: Some index files failed to download. They have been ignored, or old ones used instead.?
  • what should i do first when i come home today?
back to the apt-get tool