On Thu, May 29, 2025 at 18:38:31 +0000, fxkl4...@protonmail.com wrote:
> On Thu, 29 May 2025, Greg Wooledge wrote:
> 
> > On Thu, May 29, 2025 at 17:54:00 +0000, xuser wrote:
> >> How to configure apt to not install upgrades for grub?
> >
> > echo "PKGNAME hold" | sudo dpkg --set-selections
> >
> > Do that for each package you want to put on hold.
> >
> 
> is that the same as apt-mark hold PKGNAME

Oh, I guess that also exists.

DESCRIPTION
       apt-mark can be used as a unified front-end to set various settings for
       a package, such as marking a package as being automatically/manually
       installed or changing dpkg selections such as hold, install, deinstall
       and purge which are respected e.g. by apt-get dselect-upgrade or
       aptitude.

I'm old, so once I learn an (old) thing, I have lower chances of learning
a new thing that does the same thing.

Reply via email to