To install new software onto your Raspberry Pi, you should always update the cache first. This prevents errors and installs the latest version of the software available. It also lets you run the command ‘sudo apt-get dist-upgrade’ and get the latest OS version yet.
Life would be much easier if the package cache auto updated when you switched your Pi on. Open the terminal and run the command
lxsession-default-apps and press enter. Click on the Autostart section and then add the following app:
@lxterminal -e sudo apt-get update
Click Add and then reboot your Raspberry Pi and it should auto-update.
If this doesn’t work, let me know in the comments. I will be overjoyed to help you.
Epic Chas Gamer 😎