Seeing apt-get changelogs for to-be-upgraded packages












54















This question describes how to get the changelog for a given package. However, it's the whole changelog.



What I'd like is a way to see what will be changed in whatever I'm about to upgrade. For example, I was imagining something like:



$ sudo apt-get upgrade --show-changelogs
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
foo
-- adds the bar feature for better snazziness
-- removes the deprecated baz feature

1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 8,864 kB of archives.
After this operation, 285 kB disk space will be freed.
Do you want to continue [Y/n]?


Unfortunately, I don't see anything like that in the man pages for apt-get. Does this or something similar exist?



UPDATE: I've written a short blog post talking about apt-listchanges and Debian changelogs in a little more depth that incorporates some of the feedback in this question.










share|improve this question





























    54















    This question describes how to get the changelog for a given package. However, it's the whole changelog.



    What I'd like is a way to see what will be changed in whatever I'm about to upgrade. For example, I was imagining something like:



    $ sudo apt-get upgrade --show-changelogs
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Calculating upgrade... Done
    The following packages will be upgraded:
    foo
    -- adds the bar feature for better snazziness
    -- removes the deprecated baz feature

    1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    Need to get 8,864 kB of archives.
    After this operation, 285 kB disk space will be freed.
    Do you want to continue [Y/n]?


    Unfortunately, I don't see anything like that in the man pages for apt-get. Does this or something similar exist?



    UPDATE: I've written a short blog post talking about apt-listchanges and Debian changelogs in a little more depth that incorporates some of the feedback in this question.










    share|improve this question



























      54












      54








      54


      28






      This question describes how to get the changelog for a given package. However, it's the whole changelog.



      What I'd like is a way to see what will be changed in whatever I'm about to upgrade. For example, I was imagining something like:



      $ sudo apt-get upgrade --show-changelogs
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      Calculating upgrade... Done
      The following packages will be upgraded:
      foo
      -- adds the bar feature for better snazziness
      -- removes the deprecated baz feature

      1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
      Need to get 8,864 kB of archives.
      After this operation, 285 kB disk space will be freed.
      Do you want to continue [Y/n]?


      Unfortunately, I don't see anything like that in the man pages for apt-get. Does this or something similar exist?



      UPDATE: I've written a short blog post talking about apt-listchanges and Debian changelogs in a little more depth that incorporates some of the feedback in this question.










      share|improve this question
















      This question describes how to get the changelog for a given package. However, it's the whole changelog.



      What I'd like is a way to see what will be changed in whatever I'm about to upgrade. For example, I was imagining something like:



      $ sudo apt-get upgrade --show-changelogs
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      Calculating upgrade... Done
      The following packages will be upgraded:
      foo
      -- adds the bar feature for better snazziness
      -- removes the deprecated baz feature

      1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
      Need to get 8,864 kB of archives.
      After this operation, 285 kB disk space will be freed.
      Do you want to continue [Y/n]?


      Unfortunately, I don't see anything like that in the man pages for apt-get. Does this or something similar exist?



      UPDATE: I've written a short blog post talking about apt-listchanges and Debian changelogs in a little more depth that incorporates some of the feedback in this question.







      apt






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 5 at 8:12









      Sri

      1,15611031




      1,15611031










      asked Mar 25 '13 at 11:51









      John FeminellaJohn Feminella

      5923715




      5923715






















          2 Answers
          2






          active

          oldest

          votes


















          54














          The nearest thing to what you are looking for can be had with a package called apt-listchanges, which will give you a changelog summary when you upgrade packages. You can set it up so the changelog notes appear in the terminal directly after apt-get downloads the upgrade (see below explanation and screenshot), but before you install it.



          You can install the program with



          sudo apt-get install apt-listchanges


          and then set it up with



          sudo dpkg-reconfigure apt-listchanges


          The setup file created is /etc/apt/listchanges.conf.



          My setup has the changelog information being shown directly as text in the terminal (stdout), which is just what you wanted. I find this is better than having a pager load up the information. I just have changelogs selected in my conf file, so the news about the package is not shown. I have also set it up to email root the excerpt of the changelog. You need to set up local email by referencing my article here if you want to use this feature.



          This is my /etc/apt/listchanges.conf:



          [apt]
          frontend=text
          email_address=root
          confirm=1
          save_seen=/var/lib/apt/listchanges.db
          which=changelogs


          A screenshot of the upgrade procedure when apt-listchanges is installed. I have set it to ask me for install confirmation after reading the changelog excerpt.



          enter image description here



          For more information see man apt-listchanges and the Ubuntu manpages online.






          share|improve this answer


























          • Excellent! This is exactly what I wanted. Thanks very much.

            – John Feminella
            Mar 26 '13 at 4:08











          • Doesn't work by me. Followed all the steps but still no description.

            – ka3ak
            Jan 8 '17 at 8:07



















          14














          I use aptitude:



          $ aptitude changelog package-name


          See this question: apt changelog for to-be installed packages






          share|improve this answer





















          • 1





            Is this the same link the OP posted when he said he had taken a look at it but wanted something different?

            – Stefan van den Akker
            Jan 16 '15 at 8:49






          • 2





            This is the whole changelog for a single package -- what I wanted was just the changes in all the packages I'm about to upgrade. Doing aptitude changelog ... and visually parsing out the results would be very tedious, especially when more than a few packages change.

            – John Feminella
            May 24 '15 at 12:19











          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%2f272215%2fseeing-apt-get-changelogs-for-to-be-upgraded-packages%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









          54














          The nearest thing to what you are looking for can be had with a package called apt-listchanges, which will give you a changelog summary when you upgrade packages. You can set it up so the changelog notes appear in the terminal directly after apt-get downloads the upgrade (see below explanation and screenshot), but before you install it.



          You can install the program with



          sudo apt-get install apt-listchanges


          and then set it up with



          sudo dpkg-reconfigure apt-listchanges


          The setup file created is /etc/apt/listchanges.conf.



          My setup has the changelog information being shown directly as text in the terminal (stdout), which is just what you wanted. I find this is better than having a pager load up the information. I just have changelogs selected in my conf file, so the news about the package is not shown. I have also set it up to email root the excerpt of the changelog. You need to set up local email by referencing my article here if you want to use this feature.



          This is my /etc/apt/listchanges.conf:



          [apt]
          frontend=text
          email_address=root
          confirm=1
          save_seen=/var/lib/apt/listchanges.db
          which=changelogs


          A screenshot of the upgrade procedure when apt-listchanges is installed. I have set it to ask me for install confirmation after reading the changelog excerpt.



          enter image description here



          For more information see man apt-listchanges and the Ubuntu manpages online.






          share|improve this answer


























          • Excellent! This is exactly what I wanted. Thanks very much.

            – John Feminella
            Mar 26 '13 at 4:08











          • Doesn't work by me. Followed all the steps but still no description.

            – ka3ak
            Jan 8 '17 at 8:07
















          54














          The nearest thing to what you are looking for can be had with a package called apt-listchanges, which will give you a changelog summary when you upgrade packages. You can set it up so the changelog notes appear in the terminal directly after apt-get downloads the upgrade (see below explanation and screenshot), but before you install it.



          You can install the program with



          sudo apt-get install apt-listchanges


          and then set it up with



          sudo dpkg-reconfigure apt-listchanges


          The setup file created is /etc/apt/listchanges.conf.



          My setup has the changelog information being shown directly as text in the terminal (stdout), which is just what you wanted. I find this is better than having a pager load up the information. I just have changelogs selected in my conf file, so the news about the package is not shown. I have also set it up to email root the excerpt of the changelog. You need to set up local email by referencing my article here if you want to use this feature.



          This is my /etc/apt/listchanges.conf:



          [apt]
          frontend=text
          email_address=root
          confirm=1
          save_seen=/var/lib/apt/listchanges.db
          which=changelogs


          A screenshot of the upgrade procedure when apt-listchanges is installed. I have set it to ask me for install confirmation after reading the changelog excerpt.



          enter image description here



          For more information see man apt-listchanges and the Ubuntu manpages online.






          share|improve this answer


























          • Excellent! This is exactly what I wanted. Thanks very much.

            – John Feminella
            Mar 26 '13 at 4:08











          • Doesn't work by me. Followed all the steps but still no description.

            – ka3ak
            Jan 8 '17 at 8:07














          54












          54








          54







          The nearest thing to what you are looking for can be had with a package called apt-listchanges, which will give you a changelog summary when you upgrade packages. You can set it up so the changelog notes appear in the terminal directly after apt-get downloads the upgrade (see below explanation and screenshot), but before you install it.



          You can install the program with



          sudo apt-get install apt-listchanges


          and then set it up with



          sudo dpkg-reconfigure apt-listchanges


          The setup file created is /etc/apt/listchanges.conf.



          My setup has the changelog information being shown directly as text in the terminal (stdout), which is just what you wanted. I find this is better than having a pager load up the information. I just have changelogs selected in my conf file, so the news about the package is not shown. I have also set it up to email root the excerpt of the changelog. You need to set up local email by referencing my article here if you want to use this feature.



          This is my /etc/apt/listchanges.conf:



          [apt]
          frontend=text
          email_address=root
          confirm=1
          save_seen=/var/lib/apt/listchanges.db
          which=changelogs


          A screenshot of the upgrade procedure when apt-listchanges is installed. I have set it to ask me for install confirmation after reading the changelog excerpt.



          enter image description here



          For more information see man apt-listchanges and the Ubuntu manpages online.






          share|improve this answer















          The nearest thing to what you are looking for can be had with a package called apt-listchanges, which will give you a changelog summary when you upgrade packages. You can set it up so the changelog notes appear in the terminal directly after apt-get downloads the upgrade (see below explanation and screenshot), but before you install it.



          You can install the program with



          sudo apt-get install apt-listchanges


          and then set it up with



          sudo dpkg-reconfigure apt-listchanges


          The setup file created is /etc/apt/listchanges.conf.



          My setup has the changelog information being shown directly as text in the terminal (stdout), which is just what you wanted. I find this is better than having a pager load up the information. I just have changelogs selected in my conf file, so the news about the package is not shown. I have also set it up to email root the excerpt of the changelog. You need to set up local email by referencing my article here if you want to use this feature.



          This is my /etc/apt/listchanges.conf:



          [apt]
          frontend=text
          email_address=root
          confirm=1
          save_seen=/var/lib/apt/listchanges.db
          which=changelogs


          A screenshot of the upgrade procedure when apt-listchanges is installed. I have set it to ask me for install confirmation after reading the changelog excerpt.



          enter image description here



          For more information see man apt-listchanges and the Ubuntu manpages online.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Apr 13 '17 at 12:25









          Community

          1




          1










          answered Mar 25 '13 at 22:07







          user76204




















          • Excellent! This is exactly what I wanted. Thanks very much.

            – John Feminella
            Mar 26 '13 at 4:08











          • Doesn't work by me. Followed all the steps but still no description.

            – ka3ak
            Jan 8 '17 at 8:07



















          • Excellent! This is exactly what I wanted. Thanks very much.

            – John Feminella
            Mar 26 '13 at 4:08











          • Doesn't work by me. Followed all the steps but still no description.

            – ka3ak
            Jan 8 '17 at 8:07

















          Excellent! This is exactly what I wanted. Thanks very much.

          – John Feminella
          Mar 26 '13 at 4:08





          Excellent! This is exactly what I wanted. Thanks very much.

          – John Feminella
          Mar 26 '13 at 4:08













          Doesn't work by me. Followed all the steps but still no description.

          – ka3ak
          Jan 8 '17 at 8:07





          Doesn't work by me. Followed all the steps but still no description.

          – ka3ak
          Jan 8 '17 at 8:07













          14














          I use aptitude:



          $ aptitude changelog package-name


          See this question: apt changelog for to-be installed packages






          share|improve this answer





















          • 1





            Is this the same link the OP posted when he said he had taken a look at it but wanted something different?

            – Stefan van den Akker
            Jan 16 '15 at 8:49






          • 2





            This is the whole changelog for a single package -- what I wanted was just the changes in all the packages I'm about to upgrade. Doing aptitude changelog ... and visually parsing out the results would be very tedious, especially when more than a few packages change.

            – John Feminella
            May 24 '15 at 12:19
















          14














          I use aptitude:



          $ aptitude changelog package-name


          See this question: apt changelog for to-be installed packages






          share|improve this answer





















          • 1





            Is this the same link the OP posted when he said he had taken a look at it but wanted something different?

            – Stefan van den Akker
            Jan 16 '15 at 8:49






          • 2





            This is the whole changelog for a single package -- what I wanted was just the changes in all the packages I'm about to upgrade. Doing aptitude changelog ... and visually parsing out the results would be very tedious, especially when more than a few packages change.

            – John Feminella
            May 24 '15 at 12:19














          14












          14








          14







          I use aptitude:



          $ aptitude changelog package-name


          See this question: apt changelog for to-be installed packages






          share|improve this answer















          I use aptitude:



          $ aptitude changelog package-name


          See this question: apt changelog for to-be installed packages







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Apr 13 '17 at 12:24









          Community

          1




          1










          answered Mar 14 '14 at 11:00









          WillWill

          16115




          16115








          • 1





            Is this the same link the OP posted when he said he had taken a look at it but wanted something different?

            – Stefan van den Akker
            Jan 16 '15 at 8:49






          • 2





            This is the whole changelog for a single package -- what I wanted was just the changes in all the packages I'm about to upgrade. Doing aptitude changelog ... and visually parsing out the results would be very tedious, especially when more than a few packages change.

            – John Feminella
            May 24 '15 at 12:19














          • 1





            Is this the same link the OP posted when he said he had taken a look at it but wanted something different?

            – Stefan van den Akker
            Jan 16 '15 at 8:49






          • 2





            This is the whole changelog for a single package -- what I wanted was just the changes in all the packages I'm about to upgrade. Doing aptitude changelog ... and visually parsing out the results would be very tedious, especially when more than a few packages change.

            – John Feminella
            May 24 '15 at 12:19








          1




          1





          Is this the same link the OP posted when he said he had taken a look at it but wanted something different?

          – Stefan van den Akker
          Jan 16 '15 at 8:49





          Is this the same link the OP posted when he said he had taken a look at it but wanted something different?

          – Stefan van den Akker
          Jan 16 '15 at 8:49




          2




          2





          This is the whole changelog for a single package -- what I wanted was just the changes in all the packages I'm about to upgrade. Doing aptitude changelog ... and visually parsing out the results would be very tedious, especially when more than a few packages change.

          – John Feminella
          May 24 '15 at 12:19





          This is the whole changelog for a single package -- what I wanted was just the changes in all the packages I'm about to upgrade. Doing aptitude changelog ... and visually parsing out the results would be very tedious, especially when more than a few packages change.

          – John Feminella
          May 24 '15 at 12:19


















          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%2f272215%2fseeing-apt-get-changelogs-for-to-be-upgraded-packages%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

          How to change which sound is reproduced for terminal bell?

          Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

          Can I use Tabulator js library in my java Spring + Thymeleaf project?