On Fri 21 Nov 2025 at 19:54:11 (-0500), Jeffrey Walton wrote:
> On Fri, Nov 21, 2025 at 4:39 PM David Wright wrote:
> > On Fri 21 Nov 2025 at 15:00:39 (-0500), Jeffrey Walton wrote:
> > > As Šarūnas said, the two packages of interest on Debian are
> > > linux-image-amd64 and linux-headers-amd64.  I even go so fars as to
> > > apt-mark them as automatic:
> > >
> > >     apt-get install -y linux-image-amd64 linux-headers-amd64
> > >     apt-mark auto linux-image-amd64 linux-headers-amd64
> >
> > Hmm. My reading of APT's autoremove is that marking these packages
> > as auto makes them /more/ vulnerable to autoremoval, not less.
> > According to the docs:
> >
> >   "Packages which you have installed explicitly via install
> >    are also never proposed for automatic removal."
> 
> Yeah, I do that because Debian marks the packages it installs as auto.
> Also see `apt-mark showauto` and `apt-mark showmanual`.

Presumably by "Debian … installs" you mean as a result of Depends:
or Recommends:. But why do you want to imply that what you installed
manually (in the first commandline above) was installed by Debian,
so that Debian could just remove them again as /apparently/ not
being needed?

On Sun 23 Nov 2025 at 07:17:03 (-0500), Jeffrey Walton wrote:
> Based on 94f70f3232557a51a87bcde455bd2dge's comment at [0] , doing
> what Debian does for Trixie is probably a bad idea!
> 
> [0] <https://lists.debian.org/debian-user/2025/11/msg00399.html>

If, as likely, that's the cause of the OPs' problems (in this and the
other thread, as with bug #1091428), then it's likely that the
history.log I mentioned has not yet been rotated into oblivion, and
can confirm the bug.

Cheers,
David.

Reply via email to