ubuntu 12.04 LTS how to avoid GRUB update‏

Petter Adsen petter at synth.no
Thu Jan 14 07:41:42 UTC 2016


On Thu, 14 Jan 2016 07:16:34 +0000 (UTC)
Spyros Tsiolis <stsiol at yahoo.co.uk> wrote:

> >  Yes, I suspect that this
> >  should do the job. Actually Petter and I
> >  suggested the same, I'm just uncertain if a
> >  "smart upgrade" (apt-get
> >  dist-upgrade) of the kernel image would
> >  reinstall a bootloader, since
> >  it's a
> >  recommended dependency. 
> Hi Again Ralph,
> 
> OK. I missed to tell you that for the thin-clients, it's Ubuntu 12.04
> LTS and I don't intend of upgrading it.
>
> If I upgrade the thin clients, I am going to it manually by backing up
> the users home folders and installing a newer version of Ubuntu 
> (or any other Debian Linux distro), so there are no worries in regards
> to upgrading.

But don't you apply updates? I believe that's what Ralf meant. 12.04
still receives security fixes, which you really don't want to leave out.

If you purge the grub package, and your system is set to install
recommended dependencies, it might install grub again when you update
the kernel - that's what Ralf was saying.

One way to avoid this is to install a dummy package, another way is to
place a hold on the packages after purging them - that will prevent them
from being reinstalled. Do something like this:

1. 'dpkg -l | grep grub'
 This lists all the installed grub packages
2. 'apt-get purge <list of packages from above step>'
 This removes them
3. 'apt-mark hold <list of removed packages>'
 This prevents them from being installed again

> I do a "bcc" to your e-mail address (or Peters' or Olis'). 
> I won't do this again and also post to the lists' address and
> not do "reply" . Right ?

Don't send mails to us off-list, as we see your replies to the list
just a few minutes later. If your mailer has a Reply To List option,
just use that. Otherwise just reply to the list address.

> I think I am going to test it on a test bed installation before doing
> the "purge" command on the live system.

That sounds like a good idea if this is a production system, although
it should have no effect if you boot via PXE.

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."




More information about the ubuntu-users mailing list