How to disable release upgrade notification at terminal/TTY login (not the GUI pop-up)?











up vote
4
down vote

favorite
1












I have Ubuntu 12.04 LTS on one of my old laptop. Each time I login through TTY or SSH it says:



Welcome to Ubuntu 12.04.5 LTS (GNU/Linux 3.4.0-030400-generic i686)

* Documentation: https://help.ubuntu.com/

New release '14.04.1 LTS' available.
Run 'do-release-upgrade' to upgrade to it.


However, this system cannot be upgraded because this machine is too old to support PAE, and I don't want to upgrade it either. Could you please tell me how to hide this notification (the last two lines) at terminal login? It doens't seem to be related to the shell I use.



I found a lot of questions about disabling the GUI Update Manager pop-ups, but didn't find anything helpful to the terminal notification.










share|improve this question
























  • The same settings control the GUI and the CLI for updating releases.
    – muru
    Apr 30 '15 at 2:59










  • @muru Those settings don't hide the hint for me
    – bfrgzju
    Apr 30 '15 at 14:17















up vote
4
down vote

favorite
1












I have Ubuntu 12.04 LTS on one of my old laptop. Each time I login through TTY or SSH it says:



Welcome to Ubuntu 12.04.5 LTS (GNU/Linux 3.4.0-030400-generic i686)

* Documentation: https://help.ubuntu.com/

New release '14.04.1 LTS' available.
Run 'do-release-upgrade' to upgrade to it.


However, this system cannot be upgraded because this machine is too old to support PAE, and I don't want to upgrade it either. Could you please tell me how to hide this notification (the last two lines) at terminal login? It doens't seem to be related to the shell I use.



I found a lot of questions about disabling the GUI Update Manager pop-ups, but didn't find anything helpful to the terminal notification.










share|improve this question
























  • The same settings control the GUI and the CLI for updating releases.
    – muru
    Apr 30 '15 at 2:59










  • @muru Those settings don't hide the hint for me
    – bfrgzju
    Apr 30 '15 at 14:17













up vote
4
down vote

favorite
1









up vote
4
down vote

favorite
1






1





I have Ubuntu 12.04 LTS on one of my old laptop. Each time I login through TTY or SSH it says:



Welcome to Ubuntu 12.04.5 LTS (GNU/Linux 3.4.0-030400-generic i686)

* Documentation: https://help.ubuntu.com/

New release '14.04.1 LTS' available.
Run 'do-release-upgrade' to upgrade to it.


However, this system cannot be upgraded because this machine is too old to support PAE, and I don't want to upgrade it either. Could you please tell me how to hide this notification (the last two lines) at terminal login? It doens't seem to be related to the shell I use.



I found a lot of questions about disabling the GUI Update Manager pop-ups, but didn't find anything helpful to the terminal notification.










share|improve this question















I have Ubuntu 12.04 LTS on one of my old laptop. Each time I login through TTY or SSH it says:



Welcome to Ubuntu 12.04.5 LTS (GNU/Linux 3.4.0-030400-generic i686)

* Documentation: https://help.ubuntu.com/

New release '14.04.1 LTS' available.
Run 'do-release-upgrade' to upgrade to it.


However, this system cannot be upgraded because this machine is too old to support PAE, and I don't want to upgrade it either. Could you please tell me how to hide this notification (the last two lines) at terminal login? It doens't seem to be related to the shell I use.



I found a lot of questions about disabling the GUI Update Manager pop-ups, but didn't find anything helpful to the terminal notification.







command-line upgrade notification motd






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited May 1 '15 at 3:53









muru

134k19286485




134k19286485










asked Apr 30 '15 at 2:55









bfrgzju

357411




357411












  • The same settings control the GUI and the CLI for updating releases.
    – muru
    Apr 30 '15 at 2:59










  • @muru Those settings don't hide the hint for me
    – bfrgzju
    Apr 30 '15 at 14:17


















  • The same settings control the GUI and the CLI for updating releases.
    – muru
    Apr 30 '15 at 2:59










  • @muru Those settings don't hide the hint for me
    – bfrgzju
    Apr 30 '15 at 14:17
















The same settings control the GUI and the CLI for updating releases.
– muru
Apr 30 '15 at 2:59




The same settings control the GUI and the CLI for updating releases.
– muru
Apr 30 '15 at 2:59












@muru Those settings don't hide the hint for me
– bfrgzju
Apr 30 '15 at 14:17




@muru Those settings don't hide the hint for me
– bfrgzju
Apr 30 '15 at 14:17










2 Answers
2






active

oldest

votes

















up vote
9
down vote



accepted










That output is part of the MOTD. To disable it, remove the execute permissions for /etc/update-motd.d/90-updates-available.



sudo chmod -x /etc/update-motd.d/90-updates-available


The output maybe cached for a while, it may take a few login attempts for the message to clear out.






share|improve this answer























  • Thanks a lot! This is exactly what I need. Actually it worked immediately for me.
    – bfrgzju
    Apr 30 '15 at 22:55










  • Also had to chmod -x /etc/update-motd.d/91-release-upgrade
    – sankoz
    Mar 6 '17 at 5:29












  • I was wondering for a whole now: what do I have to read to know such things? In the old days I used to read the 'Secrets' book series by IDG Press about the registry and DOS. I am looking for an 'under the hood' guide specifically for Ubuntu and Linux in general...
    – PenguinCSC
    Aug 16 at 10:24


















up vote
0
down vote













Do this:



sudo chmod -x /etc/update-motd.d/91-release-upgrade


This only removes the message about a release upgrade. It keeps the message about package updates, including security updates, which I would like to keep getting.






share|improve this answer





















    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "89"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f616181%2fhow-to-disable-release-upgrade-notification-at-terminal-tty-login-not-the-gui-p%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    9
    down vote



    accepted










    That output is part of the MOTD. To disable it, remove the execute permissions for /etc/update-motd.d/90-updates-available.



    sudo chmod -x /etc/update-motd.d/90-updates-available


    The output maybe cached for a while, it may take a few login attempts for the message to clear out.






    share|improve this answer























    • Thanks a lot! This is exactly what I need. Actually it worked immediately for me.
      – bfrgzju
      Apr 30 '15 at 22:55










    • Also had to chmod -x /etc/update-motd.d/91-release-upgrade
      – sankoz
      Mar 6 '17 at 5:29












    • I was wondering for a whole now: what do I have to read to know such things? In the old days I used to read the 'Secrets' book series by IDG Press about the registry and DOS. I am looking for an 'under the hood' guide specifically for Ubuntu and Linux in general...
      – PenguinCSC
      Aug 16 at 10:24















    up vote
    9
    down vote



    accepted










    That output is part of the MOTD. To disable it, remove the execute permissions for /etc/update-motd.d/90-updates-available.



    sudo chmod -x /etc/update-motd.d/90-updates-available


    The output maybe cached for a while, it may take a few login attempts for the message to clear out.






    share|improve this answer























    • Thanks a lot! This is exactly what I need. Actually it worked immediately for me.
      – bfrgzju
      Apr 30 '15 at 22:55










    • Also had to chmod -x /etc/update-motd.d/91-release-upgrade
      – sankoz
      Mar 6 '17 at 5:29












    • I was wondering for a whole now: what do I have to read to know such things? In the old days I used to read the 'Secrets' book series by IDG Press about the registry and DOS. I am looking for an 'under the hood' guide specifically for Ubuntu and Linux in general...
      – PenguinCSC
      Aug 16 at 10:24













    up vote
    9
    down vote



    accepted







    up vote
    9
    down vote



    accepted






    That output is part of the MOTD. To disable it, remove the execute permissions for /etc/update-motd.d/90-updates-available.



    sudo chmod -x /etc/update-motd.d/90-updates-available


    The output maybe cached for a while, it may take a few login attempts for the message to clear out.






    share|improve this answer














    That output is part of the MOTD. To disable it, remove the execute permissions for /etc/update-motd.d/90-updates-available.



    sudo chmod -x /etc/update-motd.d/90-updates-available


    The output maybe cached for a while, it may take a few login attempts for the message to clear out.







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited May 1 '15 at 3:53

























    answered Apr 30 '15 at 14:22









    muru

    134k19286485




    134k19286485












    • Thanks a lot! This is exactly what I need. Actually it worked immediately for me.
      – bfrgzju
      Apr 30 '15 at 22:55










    • Also had to chmod -x /etc/update-motd.d/91-release-upgrade
      – sankoz
      Mar 6 '17 at 5:29












    • I was wondering for a whole now: what do I have to read to know such things? In the old days I used to read the 'Secrets' book series by IDG Press about the registry and DOS. I am looking for an 'under the hood' guide specifically for Ubuntu and Linux in general...
      – PenguinCSC
      Aug 16 at 10:24


















    • Thanks a lot! This is exactly what I need. Actually it worked immediately for me.
      – bfrgzju
      Apr 30 '15 at 22:55










    • Also had to chmod -x /etc/update-motd.d/91-release-upgrade
      – sankoz
      Mar 6 '17 at 5:29












    • I was wondering for a whole now: what do I have to read to know such things? In the old days I used to read the 'Secrets' book series by IDG Press about the registry and DOS. I am looking for an 'under the hood' guide specifically for Ubuntu and Linux in general...
      – PenguinCSC
      Aug 16 at 10:24
















    Thanks a lot! This is exactly what I need. Actually it worked immediately for me.
    – bfrgzju
    Apr 30 '15 at 22:55




    Thanks a lot! This is exactly what I need. Actually it worked immediately for me.
    – bfrgzju
    Apr 30 '15 at 22:55












    Also had to chmod -x /etc/update-motd.d/91-release-upgrade
    – sankoz
    Mar 6 '17 at 5:29






    Also had to chmod -x /etc/update-motd.d/91-release-upgrade
    – sankoz
    Mar 6 '17 at 5:29














    I was wondering for a whole now: what do I have to read to know such things? In the old days I used to read the 'Secrets' book series by IDG Press about the registry and DOS. I am looking for an 'under the hood' guide specifically for Ubuntu and Linux in general...
    – PenguinCSC
    Aug 16 at 10:24




    I was wondering for a whole now: what do I have to read to know such things? In the old days I used to read the 'Secrets' book series by IDG Press about the registry and DOS. I am looking for an 'under the hood' guide specifically for Ubuntu and Linux in general...
    – PenguinCSC
    Aug 16 at 10:24












    up vote
    0
    down vote













    Do this:



    sudo chmod -x /etc/update-motd.d/91-release-upgrade


    This only removes the message about a release upgrade. It keeps the message about package updates, including security updates, which I would like to keep getting.






    share|improve this answer

























      up vote
      0
      down vote













      Do this:



      sudo chmod -x /etc/update-motd.d/91-release-upgrade


      This only removes the message about a release upgrade. It keeps the message about package updates, including security updates, which I would like to keep getting.






      share|improve this answer























        up vote
        0
        down vote










        up vote
        0
        down vote









        Do this:



        sudo chmod -x /etc/update-motd.d/91-release-upgrade


        This only removes the message about a release upgrade. It keeps the message about package updates, including security updates, which I would like to keep getting.






        share|improve this answer












        Do this:



        sudo chmod -x /etc/update-motd.d/91-release-upgrade


        This only removes the message about a release upgrade. It keeps the message about package updates, including security updates, which I would like to keep getting.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Nov 25 at 21:11









        Ben Atkin

        1012




        1012






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Ask Ubuntu!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f616181%2fhow-to-disable-release-upgrade-notification-at-terminal-tty-login-not-the-gui-p%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Ellipse (mathématiques)

            Quarter-circle Tiles

            Mont Emei