Charles Curley wrote:

> On Wed, 20 Nov 2024 06:22:50 +0100
> <to...@tuxteam.de> wrote:
> 
> > Hm. "apt-get changelog needrestart" works for me? Since apt delegates
> > to apt-get, it should do the same... in fact, it works, too.
> > 
> > What's missing?
> 
> Possibly trixie v. bookworm.

Specifically, I think it has to do with the way security updates are
handled, and where apt-get looks for changelogs.  With my bookworm VM,
when I run the snapshot that still has 3.6-4+deb12u1 installed, "apt
changelog needrestart" works fine:

  deb12$ apt changelog needrestart
  Get:1 https://metadata.ftp-master.debian.org needrestart 3.6-4+deb12u1 
Changelog [29.3 kB]
  Fetched 29.3 kB in 1s (31.8 kB/s)    

But with the most recent snapshot, which has 3.6-4+deb12u2, I get

  deb12$ apt changelog needrestart
  Err:1 https://metadata.ftp-master.debian.org needrestart 3.6-4+deb12u2 
Changelog
    Changelog unavailable for needrestart=3.6-4+deb12u2 (404  Not Found [IP: 
151.101.198.132 443])
  E: Failed to fetch 
https://metadata.ftp-master.debian.org/changelogs/main/n/needrestart/needrestart_3.6-4%2bdeb12u2_changelog
  Changelog unavailable for needrestart=3.6-4+deb12u2 (404  Not Found [IP: 
151.101.198.132 443])

Looking in
https://metadata.ftp-master.debian.org/changelogs/main/n/needrestart/, I
see that there is indeed a changelog file for 3.6-4+deb12u1, but not
3.6-4+deb12u2.  Maybe "apt changelog needrestart" will work after the
next point release of bookworm?

mike

Reply via email to