[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Upgrading from old Sarge (Testing) to Unstable



Yasir Assam wrote:

> Thanks you all for your replies.
>
> It sounds like I should stick to stable for now at least (till I get more confident about what I'm doing).
>
> The package I'm most concerned about upgrading is the kernel. I built this from the sources at kernel.org and used a Debian tool (can't remember the name now) to make a .deb file from it and installed ith with dpkg I think.
>
> Will doing 'apt-get upgrade' or 'apt-get dist-upgrade' install the default kernel? Will it leave mine in the GRUB menu at least? I'd like to make sure that apt-get doesn't overwrite the kernel with the standard prebuilt one - I presume mine will still be in the GRUB menu at least.
>
> Thanks,
> Yasir
>

I recommend using aptitude instead of apt-get, ie. just replace apt-get update by aptitude dist-upgrade. aptitude is said to be better at resolving conflicts and recommendations. Apart from that it might be worthwhile to read the upgrade instructions from woody to sarge as they might apply to some of your packages:

http://www.de.debian.org/releases/stable/i386/release-notes/ch-upgrading.en.html#s-upgradingpackages

aptitude updates existing software, but doesn't remove any software, ie. your kernel will stay. If you installed it via the debian tools, ie. via a .deb package it will be found in the 'Obsolete and locally created packages' section in aptitude.

You can later install a new kernel or compile a new kernel, but as said in the release info, I strongly recommend to do this in a separate step: use your existing kernel to see if everything works fine; then add an additional kernel. If it continues to work fine, you can remove the old kernel.

Johannes



Reply to: