0

I need to configure update settings from the terminal that I would regularly do with the GUI. This includes settings which things are downloadable, which updates to install, how often it checks for updates, automatically installing updates, and notifying me about new versions. I know it’s probably something that I should have figured out on my own, but I can’t find anything.

lkotlus
  • 32
  • 1
  • 1
    If you are talking about disabling automatic updates, your answer is here. If you want to change how often the system checks for updates, it appears this is done daily but the timing is somewhat random to prevent everyone from hitting the servers at the same time. As for adding or removing a repository, see this answer for how to remove a repository or ppa and do the opposite (run the command without the -r flag) to add a repository or ppa. – mchid Nov 30 '20 at 23:40
  • Thanks a heap @mchid – lkotlus Nov 30 '20 at 23:41
  • 1
    So to add the universe repository, for example, you would run sudo add-apt-repository universe to remove this repository, you would run sudo add-apt-repository -r universe. For a ppa, you would use the ppa name with ppa: as described in the answer. – mchid Nov 30 '20 at 23:41
  • 1
    This works great @mchid – lkotlus Dec 01 '20 at 00:46

0 Answers0