ねもぷらす

ふぁいんでぃんぐねもの日記。プログラミングとか育児とか

うまくいかない〜

さくっと玄箱の設定まとめて、ストレージ化してしまおうと思ったら大苦戦。
/etc/apt/sources.list に何処の URL を書くのが正しいのか…が分かってないからいかんの??Debian わからんー

http://www002.upp.so-net.ne.jp/aztec/kurobox1.html
http://aqmt.blog.so-net.ne.jp/tag/玄箱
http://tabi.homeip.net/kuro/
http://90h.dip.jp/archives/2007/05/hgetch.html
http://www.bnote.net/kuro_box/kuro_debian_etch.shtml
http://www.revulo.com/kuro-box/Debian/Install.html

上記を参考にさせていただいて一通り試したけど

aptitude upgrade

でからなず↓になってしまう。

Preconfiguring packages ...
(Reading database ... 7144 files and directories currently installed.)
Preparing to replace debianutils 2.8.4 (using .../debianutils_2.30_powerpc.deb) ...
Unpacking replacement debianutils ...
dpkg: error processing /var/cache/apt/archives/debianutils_2.30_powerpc.deb (--unpack):
 trying to overwrite `/usr/sbin/add-shell', which is also in package passwd
Errors were encountered while processing:
 /var/cache/apt/archives/debianutils_2.30_powerpc.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Ack!  Something bad happened while installing packages.  Trying to recover:
Reading Package Lists... Done    
Building Dependency Tree       
Reading extended state information      
Initializing package states... Done
Reading task descriptions... Done  

なんか手順間違えてる??あと1回やってダメなら寝る。

この際

etchまでバージョンが上がってるし、 aptitude upgradeしなくても良いかなと。

なのでソースを以下から取得して、

以下のサイトで紹介されている通りコマンドラインから全部実行。
http://aqmt.blog.so-net.ne.jp/kurobako-debian

$ telnet -l tmp-kun 192.168.11.150
Trying 192.168.11.150...
Connected to 192.168.11.150.
Escape character is '^]'.
Password: 
Linux KURO-BOX 2.6.25.1-kurobox #10 Sun May 4 21:50:38 JST 2008 ppc

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
tmp-kun@KURO-BOX:~$ cat /etc/debian_version 
4.0

とりあえず OK なのかな?
wget を入れてみる。

KURO-BOX:~# aptitude install wget
Reading package lists... Done
Building dependency tree... Done
Initializing package states... Done
Reading task descriptions... Done  
Building tag database... Done    
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Done
KURO-BOX:~# which wget
/usr/bin/wget