參考http://www.dnaspirit.com/weblog/?p=76
看著網路上如何升級的的文章,大抵上非常的簡單,就是編寫/etc/apt/sources.list,把出現etch的地方改成lenny。
deb http://ftp.tw.debian.org/debian/ lenny main
deb-src http://ftp.tw.debian.org/debian/ lenny main
deb http://security.debian.org/ lenny/updates main contrib
deb-src http://security.debian.org/ lenny/updates main contrib
apt-get update
apt-get dist-upgrade
------------------- 參考的部份到這邊結束 ---------------------
接下來就是看我的主機會遇到什麼問題了 . . . ^_< perl: warning: Falling back to the standard locale ("C"). Running postrm hook script /sbin/update-grub. You shouldn't call /sbin/update-grub. Please call /usr/sbin/update-grub instead! Searching for GRUB installation directory ... found: /boot/grub Searching for default file ... found: /boot/grub/default Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst Searching for splash image ... none found, skipping ... Found kernel: /boot/vmlinuz-2.6.18-6-686 Found kernel: /boot/vmlinuz-2.6.18-5-686 Updating /boot/grub/menu.lst ... done Preparing to replace mysql-client-5.0 5.0.32-7etch10 (using .../mysql-client-5.0_5.0.51a-24+lenny1_i386.deb) ... Unpacking replacement mysql-client-5.0 ... Errors were encountered while processing: /var/cache/apt/archives/linux-image-2.6.26-2-686_2.6.26-17lenny2_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
又做了幾次 upgrade,最後莫明奇妙的好了 ... 0rz (可能哪天就會莫名奇妙的死了)
另一台參考另一篇文件
http://wiki.debian.org.hk/w/Upgrade_Debian
倒是滿順利的就做完了,沒什麼問題,就等重新開機了 (抖很大)
待續...