sudo apt updateapt list --upgradableapt list --upgradable -aapt upgradeapt upgrade -yapt-cache search foo OR apt search fooapt-cache show foo OR apt show fooapt-cacheThe apt-cache command can display much of the information stored in APT’s internal database. This information is a sort of cache since it is gathered from the different sources listed in the sources.list file. This happens during the apt update operation.