Re: [OT] Upgrade madness (Was: Re: Do developers tend to run unstable?)
Hi
H. S. Teoh schrieb:
> I usually find that I don't want to run apt-get upgrade
> directly, because I *don't* want to upgrade some packages.
Setting them to 'hold' would have the same effect, but you could
still use apt-get upgrade to upgrade the others.
Setting to hold:
# echo '<pkgname> hold' | dpkg --set-selections
> And I'm glad I was this cautious, too, because recently, there
> was some versioning breakage with kernel-image-2.2.17, and I
> happen to be using a custom-built kernel. If I had blindly run
> apt-get upgrade (or worse, dist-upgrade), it could have hosed
> my kernel installation (*shudder*).
Not really, the old image would still be in /boot/, and linked
to from /vmlinuz.old. You do have /vmlinuz.old in your LILO
config or use GRUB (I prefer the latter), do you?
Ah, and /lib/modules/2.2.17/ would not have been overwritten
without asking you.
ciao, 2ri
--
Use the source...
Reply to: