Install apt-config-auto-update by entering the following commands in the terminal:
sudo apt update sudo apt install apt-config-auto-update
Apt configuration for automatic cache updates
This package contains configuration snippets for the Apt package manager to have it automatically update its package cache. This is especially useful for GUI tools like update-notifiers, which do not trigger cache updates on their own.