技術系の話題。個人のメモを兼ねているので、興味の無い人はスルーってことで。
DebianのDistributioのUpgrade手順
Source.list に追加
/etc/apt/sources.listに新しいdistributionを追記する。
hyamazak@svr-dev:/etc/apt$ more sources.list
#
# deb cdrom:[Debian GNU/Linux 5.0.6 _Lenny_ – Official i386 NETINST Binary-1 201
00905-11:24]/ lenny main
#deb cdrom:[Debian GNU/Linux 5.0.6 _Lenny_ – Official i386 NETINST Binary-1 2010
0905-11:24]/ lenny main
deb http://ftp.riken.jp/Linux/debian/debian/ lenny main
deb-src http://ftp.riken.jp/Linux/debian/debian/ lenny main
deb http://security.debian.org/ lenny/updates main
deb-src http://security.debian.org/ lenny/updates main
deb http://volatile.debian.org/debian-volatile lenny/volatile main
deb-src http://volatile.debian.org/debian-volatile lenny/volatile main
hyamazak@svr-dev:/etc/apt$
の内容に
deb http://ftp.riken.jp/Linux/debian/debian/ squeeze main
deb-src http://ftp.riken.jp/Linux/debian/debian/ squeeze main
を追加します。
sources.listの内容をアップデート
# apt-get update
distributionをアップグレード
# apt-get dist-upgrade
それなりに時間がかかるので、少々(?)待つ。
各種入力事項を聞かれるので、入力する。
以上。
こちらもどうぞ
Twitter やってます