Results 1 to 10 of 21

Thread: Automatic Updates

Threaded View

  1. #1
    Join Date
    Feb 2008
    Location
    Munster, Ireland
    Beans
    2,456
    Distro
    Ubuntu Mate

    Automatic Updates

    Hi.

    I want to setup Automatic Updates for a relatives laptop.

    Are all of these steps proper and safe? Also, please answer my questions in bold below.

    Thanks.

    -- What does "-plow" do?
    Code:
    sudo apt-get install unattended-upgrades
    sudo dpkg-reconfigure -plow unattended-upgrades
    Select YES when prompted.

    ----------

    Code:
    gksudo gedit /etc/apt/apt.conf.d/10periodic
    Change like so. 1 means it will update every day. 7 is weekly. -- What would 0 signify?
    -- What do these 4 lines mean exactly?
    Code:
    APT::Periodic::Update-Package-Lists "1";
    APT::Periodic::Download-Upgradeable-Packages "1";
    APT::Periodic::AutocleanInterval "7";
    APT::Periodic::Unattended-Upgrade "1";
    ----------

    gksudo gedit /etc/apt/apt.conf.d/50unattended-upgrades
    Then edit file and uncomment lines as shown.
    -- What do these 2 lines mean exactly?
    Code:
    "${distro_id}:${distro_codename}-security";
    "${distro_id}:${distro_codename}-updates";
    To auto remove unneeded packages, edit line at file end like so:
    --Is this necessary?
    Code:
    Unattended-Upgrade::Remove-Unused-Dependencies "true";
    Last edited by Rytron; July 19th, 2013 at 09:46 AM.
    1st Distro used (live CD): Knoppix in early 2007 ¦ 1st Distro Installed: Ubuntu 7.10 in Feb 2008
    GNU/Linux User #470660 – Ubuntu User #28226
    Isaac Asimov: "I do not fear computers. I fear the lack of them."

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •