美文网首页
关闭有更新提示

关闭有更新提示

作者: onbug | 来源:发表于2019-01-24 10:00 被阅读0次
    $ sudo vi /etc/apt/apt.conf.d/10periodic 
    #APT::Periodic::Update-Package-Lists "1";
    APT::Periodic::Update-Package-Lists "0";
    APT::Periodic::Download-Upgradeable-Packages "0";
    APT::Periodic::AutocleanInterval "0";
    
    $ sudo vi /etc/update-manager/release-upgrades
    # Default behavior for the release upgrader.
    
    [DEFAULT]
    # Default prompting behavior, valid options:
    #
    #  never  - Never check for a new release.
    #  normal - Check to see if a new release is available.  If more than one new
    #           release is found, the release upgrader will attempt to upgrade to
    #           the release that immediately succeeds the currently-running
    #           release.
    #  lts    - Check to see if a new LTS release is available.  The upgrader
    #           will attempt to upgrade to the first LTS release available after
    #           the currently-running one.  Note that this option should not be
    #           used if the currently-running release is not itself an LTS
    #           release, since in that case the upgrader won't be able to
    #           determine if a newer release is available.
    #Prompt=lts
    Prompt=never 
    

    相关文章

      网友评论

          本文标题:关闭有更新提示

          本文链接:https://www.haomeiwen.com/subject/wqfyjqtx.html