間違いだらけの備忘録

このページの内容は無保証でありこのページの内容によって直接、または間接に損害を受けられたとしても私は責任を取りません。

sargeにアップグレードその2

その1でアップグレード完了かと思っていたが

woody由来のパッケージが大量に残っていることが分かった。

# dpkg -l| grep woody | wc
52 412 3396

また以下のように更新を行おうとするとエラーが表示された。
apt-get update ;apt-get upgradeも同様にエラーが表示された。

#aptitude update ; aptitude upgrade

129 upgraded, 0 newly installed, 0 to remove and 25 not upgraded.
Need to get 39.5MB/136MB of archives.
After unpacking 81.1MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Err http://ftp.jp.debian.org ja/sarge/main gcc-3.0-base 1:3.0.4-16
404 Not Found
Err http://ftp.jp.debian.org ja/sarge/main kernel-source-2.4.19 2.4.19-10
404 Not Found
Err http://ftp.jp.debian.org ja/sarge/main libsasl7 1.5.27-3.5
404 Not Found
Err http://ftp.jp.debian.org ja/sarge/main libtiff3g 3.5.7-2
404 Not Found
Err http://ftp.jp.debian.org ja/sarge/main slang1-ja 1.4.2-2.2
404 Not Found
Err http://ftp.jp.debian.org ja/sarge/main user-mode-linux 2.4.22-5um-1
404 Not Found
Failed to fetch http://ftp.jp.debian.org/pub/Linux/Debian/debian-ddtp/pool/main/
g/gcc-3.0/gcc-3.0-base_3.0.4-16_i386.deb 404 Not Found
Failed to fetch http://ftp.jp.debian.org/pub/Linux/Debian/debian-ddtp/pool/main/
k/kernel-source-2.4.19/kernel-source-2.4.19_2.4.19-10_all.deb 404 Not Found
Failed to fetch http://ftp.jp.debian.org/pub/Linux/Debian/debian-ddtp/pool/main/
c/cyrus-sasl/libsasl7_1.5.27-3.5_i386.deb 404 Not Found
Failed to fetch http://ftp.jp.debian.org/pub/Linux/Debian/debian-ddtp/pool/main/
t/tiff/libtiff3g_3.5.7-2_i386.deb 404 Not Found
Failed to fetch http://ftp.jp.debian.org/pub/Linux/Debian/debian-ddtp/pool/main/
s/slang1-ja/slang1-ja_1.4.2-2.2_i386.deb 404 Not Found
Failed to fetch http://ftp.jp.debian.org/pub/Linux/Debian/debian-ddtp/pool/main/
u/user-mode-linux/user-mode-linux_2.4.22-5um-1_i386.deb 404 Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-mis
sing?

いろいろ心あたりのあるパッケージなので
端から消していく

apt-get remove gcc-3.0-base
apt-get remove kernel-source-2.4.19
apt-get remove libsasl7
apt-get remove libtiff3g
apt-get remove slang1-ja
apt-get remove user-mode-linux
apt-get remove flex

途中、apt-listchangesが妙な挙動(ブリンク状態でハング)を見せたのでこれも消す

aptitude remove apt-listchanges

apt-get upgradeおよびaptitude upgradeが通るようになった。
apt-listchangesがいないとのメッセージが出るようになったがとりあえず無視

残りのwoody由来バイナリを消す

# dpkg -l| grep woody | grep '^i' | wc

apt-get remove mc
apt-get remove mc-common
apt-get remove libdns5
apt-get remove libnkf-ruby
apt-get remove libisc4
apt-get remove kernel-headers-2.4.18-bf2.4
apt-get remove kernel-image-2.4.18-bf2.4

# dpkg -l| grep woody | grep '^i' | wc
0 0 0

以上

このページにはhatena以外のサービスからのコンテンツが埋め込まれています。 hatenaによりGoogle AdSense 広告が埋め込まれています。