作業日記@HatenaBlog

各種の作業メモ

玄関Debian(woody -> sarge)

昨日の手順が悪かったらしく、うまくapt-get update, apt-get dist-upgradeできない。
http://otti.dip.jp/blog2/2007/04/debiansargeetch.html
ここを参考にして /etc/apt/sources.list を以下のように書き換える。

deb http://security.debian.org stable/updates main contrib
deb ftp://ftp.dti.ad.jp/pub/Linux/debian stable main contrib
deb ftp://ftp.dti.ad.jp/pub/Linux/debian-non-US stable/non-US main contrib
deb-src ftp://ftp.dti.ad.jp/pub/Linux/debian stable main contrib
deb-src ftp://ftp.dti.ad.jp/pub/Linux/debian-non-US stable/non-US main contrib

そしてupdateとupgradeを実行。

# apt-get update
# apt-get dist-upgrade

昨日と同じエラーが出る。

E: This installation run will require temporarily removing the essential package e2fsprogs due to a Conflicts/Pre-Depends loop. This is often bad, but if you really want to do it, activate the APT::Force-LoopBreak option.
E: Internal Error, Could not early remove e2fsprogs

昨日と同じく強行突破を図る。

# apt-get -o APT::Force-LoopBreak=yes install e2fsprogs

さらにエラー発生

dpkg: `update-rc.d' not found on PATH.
dpkg: 1 expected program(s) not found on PATH.

apt-get -f install xxxxxなどを試してみたがどうにもダメ。
やりなおし。