Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #220680

Re: How can I see only the latest change log of packages before update ?

From The Wanderer <wanderer@fastmail.fm>
Newsgroups linux.debian.user
Subject Re: How can I see only the latest change log of packages before update ?
Date 2020-03-29 20:50 +0200
Message-ID <zPLap-4YT-17@gated-at.bofh.it> (permalink)
References <zNGRA-8mY-3@gated-at.bofh.it> <zNGRA-8mY-5@gated-at.bofh.it> <zNGRA-8mY-1@gated-at.bofh.it> <zPLap-4YT-19@gated-at.bofh.it>
Organization This space intentionally left blank.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On 2020-03-29 at 14:42, Anastasios Lisgaras wrote:

> On 3/24/20 3:46 AM, David Wright wrote:
>
>> Then you have to split the upgrade command into a download-only part
>> (-d in apt-get, and I assume it's the same in apt), and the installing
>> part itself (with no -d).
> 
>> man apt-listchanges says:
>> 
>>     apt-listchanges [[options...]] {[--apt] | [package.deb...]}
>>                                                       ↑↑↑↑
>> 
>> so you have to give it the actual filename (after the download part,
>> of course), and not just the name of the package.
>> 
> 
> Okay, How can I do that for each upgradeable package ?

On my system, when I run

apt-get dist-upgrade

and say "yes" to the list of packages, the following things happen:

* apt-get downloads all the packages, but does not install them yet.
* apt-listchanges kicks in, automatically extracts and/or downloads the
  necessary changelogs for all the packages just downloaded, and
  presents just the new parts (relative to the already-installed
  package version).
* After I exit the pager which displays the changelogs, apt-listchanges
  gives me a prompt to confirm whether I want to continue the upgrade
  or not.
* If I say yes, the upgrade proceeds. If I say no, apt-listchanges
  aborts the upgrade process.

This sounds like exactly what you want, handled purely automatically. Do
you not get this behavior (or a comparable one) with apt-listchanges
installed on your system?

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man.         -- George Bernard Shaw

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: How can I see only the latest change log of packages before  update ? David Wright <deblis@lionunicorn.co.uk> - 2020-03-24 02:50 +0100
  Re: How can I see only the latest change log of packages before update  ? The Wanderer <wanderer@fastmail.fm> - 2020-03-29 20:50 +0200
    Re: How can I see only the latest change log of packages before  update ? Andrei POPESCU <andreimpopescu@gmail.com> - 2020-03-29 21:20 +0200
      Re: How can I see only the latest change log of packages before update  ? The Wanderer <wanderer@fastmail.fm> - 2020-03-29 21:30 +0200

csiph-web