Update package cache every time the Raspberry Pi starts up

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.

Thanks!

Epic Chas Gamer 😎

Go on, you know you want to! Leave a comment

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: