How to disable automatic updates on ubuntu

I have to admit that this post is heavily influenced by OMG! Ubuntu! How to disable automatic updates on ubuntu. Therefore instead of me effectively reproducing the content here, I would urge you to read that post for the instructions on how to disable automatic updates on ubuntu.

points out in the post, that disabling automatic updates in ubuntu is not a recommended and that users who seek to disable this functionality should have an alternative work flow.  There are legitimate reasons why users would want to disable this functionality i.e. conserving bandwidth being one of them. I frequently run into this situation with my laptop that I use to travel with.  When I connect to the internet via GSM and when travelling i.e. in Europe and having to contend with roaming charges, I don’t really want to download 300MB of updates. I prefer to wait till I am in a free Wifi zone to do updates.

Over the years I have adapted my morning work flow, to do my updates as soon as I log on in the morning. Therefore I have created a simple BASH Script that I execute.

Download BASH Script

 

I save this file to my Home Directory and as part of my morning routine,  I open up twitter and catch up on OMG! Ubuntu articles, is I simply also  open a terminal window and type

My updates then run in the background.

The simplified version of this script is as follows

 

Gary Woodfine

Freelance Full Stack Developer at threenine.co.uk
Helps businesses by improving their technical proficiencies and eliminating waste from the software development pipelines.

A unique background as business owner, marketing, software development and business development ensures that he can offer the optimum business consultancy services across a wide spectrum of business challenges.

Affiliate Disclaimer

Disclosure: Please note that some of the links included in the blog posts are affiliate links, which means I will earn a commission if you decide to make a purchase.

I only include affiliate links to products, services and companies that I have personal experience and have actually used. I only recommend them because they are helpful and useful, not because of the small commissions I make if you decide to buy something.

Please do not spend any money on these products unless you feel they are relevant, suitable and will help you achieve your goals.

Buying anyone of these products and the commisions earned will not make me an overnite multi millionaire, but they will help to cover the hosting costs and compensate for the countless hours and effort I put in to create meaningful and valuable free content I provide to help others succeed.

You've also undoubtedly noticed that I also use various advertising networks - unless of of course you're using an Ad blocker, this is also an attempt to reduce my monthly deficit I experience in providing free relevant, valuable and on occassion insightful content for the benefit of others.

I only really make some money if people click on the ads, unless of course you consider 1c per 1000 impressions real money!

Bear in mind just how many impressions I need to make before I can cover my £20 hosting costs a month!

If you are using an adblocker and guilt stricken you can of course donate using any of the buttons below, but I won't be holding my breath.


Buy me a coffeeBuy me a coffee
π