The upgrade process is more involved than I remember Sarge to Etch being, but overall not bad. An abridged version of the Debian upgrade notes follows:
- Run aptitude, clear any pending actions
- Run dpkg –audit, look for packages needing attention
- Make sure the kernel version is equal to or greater than 2.6.18
- Run aptitude search ‘i~M’ to see what packages are marked as automatically installed
- Run aptitude unmarkauto packagename on whatever you don’t want to be uninstalled
- Change ‘etch’ in sources.list to ‘lenny’
- Add contrib and non-free if you need firmware drivers for your network card (like my bnx2)
- Run ‘script -t 2>~/upgrade-lenny.time -a ~/upgrade-lenny.script’ to create a record of the install in case things go pear-shaped.
- Run aptitude update
- Run aptitude -y -s -f –with-recommends dist-upgrade to see how much space you’ll need
- Update aptitude, aptitude install aptitude
- Run aptitude once to trigger something or other that is detailed in the official doc, aptitude search “?false”
- Run aptitude upgrade to upgrade some stuff that may need to be updated before doing the next step
- Run aptitude dist-upgrade
- (optional) Install xen-hypervisor-3.2-1-amd64, if dpkg complains about not enough space, uninstall the package, uninstall whatever old kernels you don’t need any more, then try it again.
- Reboot.
No comments:
Post a Comment