When installing or searching for packages, the `apt update` will run only if it was not executed within the last 5 minutes. Command `pkg upgrade` will always execute `apt update` to ensure that latest package versions were picked during upgrade.
When installing or searching for packages, the `apt update` will run only if it was not executed within the last 5 minutes. Command `pkg upgrade` will always execute `apt update` to ensure that latest package versions were picked during upgrade.