apt-get
Table of Contents
apt-get update reference
- When needed
- E: Failed to fetch <uri> 404 Not Found [IP: <ip> 80] E: Failed to fetch <uri> 404 Not Found [IP: <ip> 80]
- When fails
- Check files in: - /etc/apt/sources.list /etc/apt/sources.list.d/*.list
 
- /var/lib/apt/lists/*
- Files for the list of packages, downloaded from Ubuntu servers.
- The size of the files is over MBs, people generally delete these files when building a Docker image.
 
apt vs apt-get discussion
The
aptcommand is meant to be pleasant for end users and does not need to be backward compatible like apt-get(8).