Re: How can I see only the latest change log of packages before update ?
On Tue 24 Mar 2020 at 11:40:56 (+0000), Liam O'Toole wrote:
> On Tue, 24 Mar, 2020 at 00:35:39 +0200, Anastasios Lisgaras wrote:
> > 2) With the "changelog" I got the change logs, but i think i'm not just
> > getting the last ones ..
> >
> > apt changelog openssh-client : https://pastebin.com/raw/15rCqULj
> > apt changelog thunderbird : https://pastebin.com/raw/RdfnwtDD
> >
> > I want to see *only* the *latest* change logs for *each* update
> > available package.
>
> You can do that using aptitude:
>
> aptitude changelog <package>
There's no denying that.
$ apt changelog apt > /tmp/apt
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
$ aptitude changelog apt > /tmp/aptitude
$ apt-get changelog apt > /tmp/aptget
$ diff -sU0 /tmp/apt /tmp/aptget
--- /tmp/apt 2020-03-24 07:17:13.745617554 -0500
+++ /tmp/aptget 2020-03-24 07:17:49.425617976 -0500
@@ -11153 +11153 @@
-Fetched 457 kB in 0s (34.2 MB/s)
+Fetched 457 kB in 0s (40.5 MB/s)
$ diff -sU0 /tmp/apt /tmp/aptitude
--- /tmp/apt 2020-03-24 07:17:13.745617554 -0500
+++ /tmp/aptitude 2020-03-24 07:17:33.069617783 -0500
@@ -1 +1 @@
-Get:1 store: apt 1.8.2 Changelog
+Get: Changelog of apt
@@ -11153 +11152,0 @@
-Fetched 457 kB in 0s (34.2 MB/s)
$
Cheers,
David.
Reply to: