How to Enable Automatic Updates and Security Updates in Ubuntu

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 ม.ค. 2025

ความคิดเห็น • 37

  • @jayzn1931
    @jayzn1931 10 หลายเดือนก่อน +1

    It seem like you have to enable unattended-upgrades to start on boot, right? For systemd this should be done with "systemctl enable unattended-upgrades" afaik.
    Thank you for clarifying the different options and showing how to setup uu!

  • @alecnicolaysen9972
    @alecnicolaysen9972 3 ปีที่แล้ว +1

    Great guide to follow for someone new to Linux! One question - what exactly is the update-notifier-common package? I'm a bit confused on its purpose after doing some Googling - is that just a package to facilitate the automatic emails (03:27)?

    • @TonyTeachesTech
      @TonyTeachesTech  3 ปีที่แล้ว

      I'm not 100% sure, but this package is a dependency for a lot of others in Ubuntu

  • @rtr3120
    @rtr3120 2 ปีที่แล้ว

    Is need to blacklist webserver or mysql databases from auto updates? What if i don't add anything on blacklist section?

  • @adardin
    @adardin 3 ปีที่แล้ว +2

    Great Tony

  • @SergioNogueira93
    @SergioNogueira93 4 หลายเดือนก่อน

    Great Video Man. Does this same procedure work on Debian 12 for laptop?

  • @user-hr2cf9kb9t
    @user-hr2cf9kb9t 11 หลายเดือนก่อน

    Great video! Can someone advise me on what I need to do in Windows, to make the console these colors and themes? I looked into bashrc but I am a bit unsure. Currently using Putty.

  • @SaarKoren
    @SaarKoren 2 ปีที่แล้ว

    Great tutorial! Do you know how these automatic updates would work on a desktop computer? That is, a computer that isn't turned on 24/7 like a server.

  • @versilinux
    @versilinux 2 ปีที่แล้ว

    awesome 👍👍👍👍👍👍

  • @_Trakman
    @_Trakman 3 ปีที่แล้ว

    can one install Plesk (or cPanel or an equivalent) on Linode/Vultr etc to handle the updates and avoid fussing about in the terminal?

  • @raymarshall4680
    @raymarshall4680 3 ปีที่แล้ว +1

    Tony low key ripped, you see that bicep flex at the beginning of the video ?

  • @maxcontreras.
    @maxcontreras. 2 ปีที่แล้ว +1

    I think I already know my answer but I still ask. Would this work on Linux Mint? that's what i need to know, thanks

    • @therealp7667
      @therealp7667 2 ปีที่แล้ว +1

      yes, it should. Linux is linux.

  • @shorts.video.617
    @shorts.video.617 ปีที่แล้ว

    How to save this vim in 5:23

    • @TonyTeachesTech
      @TonyTeachesTech  ปีที่แล้ว

      Esc :wq Enter
      Here's a quick video about vim that will help you tons th-cam.com/video/uE4aljoMBeg/w-d-xo.html

  • @FelixLantiguaCamacho
    @FelixLantiguaCamacho 4 หลายเดือนก่อน

    Very BUENO!

  • @sapperjaeger
    @sapperjaeger ปีที่แล้ว

    great job!

  • @Lightsight2012
    @Lightsight2012 2 ปีที่แล้ว

    thank you but i continue to get error message regardless of what i do to try and repair.... im at a complete loss of why ";" spending months trying to figure it out and still want to avoid a complete re-install as i have other things running i dont want reset.... # uname -sr
    Linux 5.13.0-25-lowlatency
    # sudo apt install unattended-upgrades
    E: Syntax error /etc/apt/apt.conf.d/50unattended-upgrades:124: Extra junk after value
    # sudo apt install update-notifier-common
    E: Syntax error /etc/apt/apt.conf.d/50unattended-upgrades:124: Extra junk after value
    # sudo apt autoremove
    E: Syntax error /etc/apt/apt.conf.d/50unattended-upgrades:124: Extra junk after value
    # sudo dpkg-reconfigure -plow unattended-upgrades
    /var/lib/dpkg/info/unattended-upgrades.postinst: 75: lsb_release: not found
    /var/lib/dpkg/info/unattended-upgrades.postinst: 79: lsb_release: not found
    /var/lib/dpkg/info/unattended-upgrades.postinst: 145: lsb_release: not found
    /var/lib/dpkg/info/unattended-upgrades.postinst: 149: lsb_release: not found

    • @TonyTeachesTech
      @TonyTeachesTech  2 ปีที่แล้ว +1

      Did this work for you stackoverflow.com/questions/58395566/lsb-release-command-not-found-in-latest-ubuntu-docker-container

  • @wnywebdevelopment8757
    @wnywebdevelopment8757 3 ปีที่แล้ว +3

    You should only do auto updates for security. If you start doing automatic updates on your server you have no way to revert when something goes wrong. Half the updates on Ubuntu are not needed. Do you know what your updating if something goes wrong? Doubt it.

    • @TonyTeachesTech
      @TonyTeachesTech  3 ปีที่แล้ว +2

      Good point. I can also see some use cases where non-security updates would be needed, but you're right, maybe not across the board

    • @Desmond466
      @Desmond466 8 หลายเดือนก่อน

      So then how do we know when we must update, should we keep checking their website ?

  • @jsamusicsociety
    @jsamusicsociety 3 ปีที่แล้ว

    Congratulations, you have excellent videos!

  • @shawngrinter2747
    @shawngrinter2747 6 หลายเดือนก่อน

    Automatic updates on a Production Server? You’re fired!

  • @deveshpratapyadav4551
    @deveshpratapyadav4551 10 หลายเดือนก่อน

    hey tony ...

  • @Astronaut_Sanjana
    @Astronaut_Sanjana 3 ปีที่แล้ว +1

    :) :)

  • @dollcoin
    @dollcoin 2 ปีที่แล้ว

    Hi 😊. Thank you for the video. Can you explain which updates allows this line "${distro_id}:${distro_codename}";
    and what sre different between "${distro_id}:${distro_codename}";
    and this "${distro_id}:${distro_codename}";?
    Maybe you can help me understand it.
    🥰Thank youth-cam.com/users/sgaming/emoji/7ff574f2/emoji_u1f970.png