How to find which “package can be updated”?Is there a way to find out whether an updated program/package...

Hostile work environment after whistle-blowing on coworker and our boss. What do I do?

Is there any easy technique written in Bhagavad GITA to control lust?

What defines a dissertation?

when is out of tune ok?

Was the picture area of a CRT a parallelogram (instead of a true rectangle)?

Implement the Thanos sorting algorithm

Is it okay / does it make sense for another player to join a running game of Munchkin?

Products and sum of cubes in Fibonacci

Curses work by shouting - How to avoid collateral damage?

Cynical novel that describes an America ruled by the media, arms manufacturers, and ethnic figureheads

How to be diplomatic in refusing to write code that breaches the privacy of our users

Everything Bob says is false. How does he get people to trust him?

How was Earth single-handedly capable of creating 3 of the 4 gods of chaos?

Mapping a list into a phase plot

Tiptoe or tiphoof? Adjusting words to better fit fantasy races

Can criminal fraud exist without damages?

The plural of 'stomach"

Finding all intervals that match predicate in vector

Is expanding the research of a group into machine learning as a PhD student risky?

How does residential electricity work?

Failed to fetch jessie backports repository

Opposite of a diet

Lay out the Carpet

What will be the benefits of Brexit?



How to find which “package can be updated”?


Is there a way to find out whether an updated program/package lands in the official Ubuntu release repositories?How do I check if a package is available for install?How do Ubuntu updates appear on Amazon EC2?Which system files are updated when you install/update/remove a package?Why are the 'xx packages can be updated' lines repeated twice?29 packages can be updated - How?How can I get available updates to show at login?A question about installing security updatesWhich is actual difference between package update and security updates?How can I see which packages will be updated from apt?













13















I have installed Ubuntu 12.04 on Amazon EC2. Sometimes after connecting with the instance I get the following



7 packages can be updated.
4 updates are security updates.


How can I find which packages can be updated? Can I choose if don't wish to update some packages?










share|improve this question

























  • Question: how do I see the number of packages that can be updated after I have connected to the server. It pops up when I first connect but how I do I see it afterwards? Thanks.

    – Joshua Pinter
    Apr 8 '17 at 21:14
















13















I have installed Ubuntu 12.04 on Amazon EC2. Sometimes after connecting with the instance I get the following



7 packages can be updated.
4 updates are security updates.


How can I find which packages can be updated? Can I choose if don't wish to update some packages?










share|improve this question

























  • Question: how do I see the number of packages that can be updated after I have connected to the server. It pops up when I first connect but how I do I see it afterwards? Thanks.

    – Joshua Pinter
    Apr 8 '17 at 21:14














13












13








13


5






I have installed Ubuntu 12.04 on Amazon EC2. Sometimes after connecting with the instance I get the following



7 packages can be updated.
4 updates are security updates.


How can I find which packages can be updated? Can I choose if don't wish to update some packages?










share|improve this question
















I have installed Ubuntu 12.04 on Amazon EC2. Sometimes after connecting with the instance I get the following



7 packages can be updated.
4 updates are security updates.


How can I find which packages can be updated? Can I choose if don't wish to update some packages?







updates package-management






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 8 '17 at 23:43









Joshua Pinter

1956




1956










asked Nov 24 '12 at 15:27









Gaurav AgarwalGaurav Agarwal

3,403164162




3,403164162













  • Question: how do I see the number of packages that can be updated after I have connected to the server. It pops up when I first connect but how I do I see it afterwards? Thanks.

    – Joshua Pinter
    Apr 8 '17 at 21:14



















  • Question: how do I see the number of packages that can be updated after I have connected to the server. It pops up when I first connect but how I do I see it afterwards? Thanks.

    – Joshua Pinter
    Apr 8 '17 at 21:14

















Question: how do I see the number of packages that can be updated after I have connected to the server. It pops up when I first connect but how I do I see it afterwards? Thanks.

– Joshua Pinter
Apr 8 '17 at 21:14





Question: how do I see the number of packages that can be updated after I have connected to the server. It pops up when I first connect but how I do I see it afterwards? Thanks.

– Joshua Pinter
Apr 8 '17 at 21:14










4 Answers
4






active

oldest

votes


















6














You can see what updates are available by typing as sudo aptitude.



For example,



aptitude



And if you don't want any package to update, then you can lock that package.




  1. Open a terminal

  2. Type sudo -s and hit enter


  3. Enter your password for sudo



    echo libxfont1 hold | dpkg --set-selections


  4. Replace libxfont1 with the package you want to pin

  5. Now run sudo apt-get update and then sudo apt-get upgrade.


For more information, check how to pin packages.






share|improve this answer

































    10














    To do a simulated update: sudo apt-get -s upgrade

    To update only a single package: sudo apt-get upgrade packagename_here






    share|improve this answer































      0














      You can hold any certain package, this will keep it at the same version no matter what.



      First run sudo -s, then echo package_name hold | dpkg --set-selections.



      You can then remove the hold with sudo apt-get install package_name.



      Hope that helps.






      share|improve this answer































        0














        Please do this



        sudo cat /var/lib/update-notifier/updates-available


        then check what packages are available for upgrade



        apt list --upgradable



        then just install what you need from the outcome above



        sudo apt-get install PACKAGE_NAME






        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',
          autoActivateHeartbeat: false,
          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%2f221385%2fhow-to-find-which-package-can-be-updated%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          4 Answers
          4






          active

          oldest

          votes








          4 Answers
          4






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          6














          You can see what updates are available by typing as sudo aptitude.



          For example,



          aptitude



          And if you don't want any package to update, then you can lock that package.




          1. Open a terminal

          2. Type sudo -s and hit enter


          3. Enter your password for sudo



            echo libxfont1 hold | dpkg --set-selections


          4. Replace libxfont1 with the package you want to pin

          5. Now run sudo apt-get update and then sudo apt-get upgrade.


          For more information, check how to pin packages.






          share|improve this answer






























            6














            You can see what updates are available by typing as sudo aptitude.



            For example,



            aptitude



            And if you don't want any package to update, then you can lock that package.




            1. Open a terminal

            2. Type sudo -s and hit enter


            3. Enter your password for sudo



              echo libxfont1 hold | dpkg --set-selections


            4. Replace libxfont1 with the package you want to pin

            5. Now run sudo apt-get update and then sudo apt-get upgrade.


            For more information, check how to pin packages.






            share|improve this answer




























              6












              6








              6







              You can see what updates are available by typing as sudo aptitude.



              For example,



              aptitude



              And if you don't want any package to update, then you can lock that package.




              1. Open a terminal

              2. Type sudo -s and hit enter


              3. Enter your password for sudo



                echo libxfont1 hold | dpkg --set-selections


              4. Replace libxfont1 with the package you want to pin

              5. Now run sudo apt-get update and then sudo apt-get upgrade.


              For more information, check how to pin packages.






              share|improve this answer















              You can see what updates are available by typing as sudo aptitude.



              For example,



              aptitude



              And if you don't want any package to update, then you can lock that package.




              1. Open a terminal

              2. Type sudo -s and hit enter


              3. Enter your password for sudo



                echo libxfont1 hold | dpkg --set-selections


              4. Replace libxfont1 with the package you want to pin

              5. Now run sudo apt-get update and then sudo apt-get upgrade.


              For more information, check how to pin packages.







              share|improve this answer














              share|improve this answer



              share|improve this answer








              edited Nov 24 '12 at 15:53









              jokerdino

              32.9k21120187




              32.9k21120187










              answered Nov 24 '12 at 15:40









              rɑːdʒɑrɑːdʒɑ

              58.8k85218302




              58.8k85218302

























                  10














                  To do a simulated update: sudo apt-get -s upgrade

                  To update only a single package: sudo apt-get upgrade packagename_here






                  share|improve this answer




























                    10














                    To do a simulated update: sudo apt-get -s upgrade

                    To update only a single package: sudo apt-get upgrade packagename_here






                    share|improve this answer


























                      10












                      10








                      10







                      To do a simulated update: sudo apt-get -s upgrade

                      To update only a single package: sudo apt-get upgrade packagename_here






                      share|improve this answer













                      To do a simulated update: sudo apt-get -s upgrade

                      To update only a single package: sudo apt-get upgrade packagename_here







                      share|improve this answer












                      share|improve this answer



                      share|improve this answer










                      answered Nov 24 '12 at 15:32









                      Dennis KaarsemakerDennis Kaarsemaker

                      5,8521736




                      5,8521736























                          0














                          You can hold any certain package, this will keep it at the same version no matter what.



                          First run sudo -s, then echo package_name hold | dpkg --set-selections.



                          You can then remove the hold with sudo apt-get install package_name.



                          Hope that helps.






                          share|improve this answer




























                            0














                            You can hold any certain package, this will keep it at the same version no matter what.



                            First run sudo -s, then echo package_name hold | dpkg --set-selections.



                            You can then remove the hold with sudo apt-get install package_name.



                            Hope that helps.






                            share|improve this answer


























                              0












                              0








                              0







                              You can hold any certain package, this will keep it at the same version no matter what.



                              First run sudo -s, then echo package_name hold | dpkg --set-selections.



                              You can then remove the hold with sudo apt-get install package_name.



                              Hope that helps.






                              share|improve this answer













                              You can hold any certain package, this will keep it at the same version no matter what.



                              First run sudo -s, then echo package_name hold | dpkg --set-selections.



                              You can then remove the hold with sudo apt-get install package_name.



                              Hope that helps.







                              share|improve this answer












                              share|improve this answer



                              share|improve this answer










                              answered Nov 24 '12 at 15:50









                              smooth-texansmooth-texan

                              50225




                              50225























                                  0














                                  Please do this



                                  sudo cat /var/lib/update-notifier/updates-available


                                  then check what packages are available for upgrade



                                  apt list --upgradable



                                  then just install what you need from the outcome above



                                  sudo apt-get install PACKAGE_NAME






                                  share|improve this answer




























                                    0














                                    Please do this



                                    sudo cat /var/lib/update-notifier/updates-available


                                    then check what packages are available for upgrade



                                    apt list --upgradable



                                    then just install what you need from the outcome above



                                    sudo apt-get install PACKAGE_NAME






                                    share|improve this answer


























                                      0












                                      0








                                      0







                                      Please do this



                                      sudo cat /var/lib/update-notifier/updates-available


                                      then check what packages are available for upgrade



                                      apt list --upgradable



                                      then just install what you need from the outcome above



                                      sudo apt-get install PACKAGE_NAME






                                      share|improve this answer













                                      Please do this



                                      sudo cat /var/lib/update-notifier/updates-available


                                      then check what packages are available for upgrade



                                      apt list --upgradable



                                      then just install what you need from the outcome above



                                      sudo apt-get install PACKAGE_NAME







                                      share|improve this answer












                                      share|improve this answer



                                      share|improve this answer










                                      answered 22 mins ago









                                      Andres Leon RangelAndres Leon Rangel

                                      112




                                      112






























                                          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.




                                          draft saved


                                          draft discarded














                                          StackExchange.ready(
                                          function () {
                                          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f221385%2fhow-to-find-which-package-can-be-updated%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

                                          Why do type traits not work with types in namespace scope?What are POD types in C++?Why can templates only be...

                                          Will tsunami waves travel forever if there was no land?Why do tsunami waves begin with the water flowing away...

                                          Should I use Docker or LXD?How to cache (more) data on SSD/RAM to avoid spin up?Unable to get Windows File...