- - PR -
dpkg
1
投稿者 | 投稿内容 |
---|---|
|
投稿日時: 2006-04-08 23:48
IO-DATAのHDL-G250UというNASマシンに、例えばhttp://hdlg.wablog.com/18.htmlなどを参考にdebianを使えるようにしています。
ところが、今日突然dpkgコマンドでパッケージのインストールができなくなってしまいました。具体的には、 # dpkg -i module-init-tools_3.2-pre1-2_arm.deb で、module-init-tools_3.2-pre1-2_arm.debをインストールしようとしたところ、 (Reading database ... 6290 files and directories currently installed.) Unpacking module-init-tools (from module-init-tools_3.2-pre1-2_arm.deb) ... perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = "ja_JP:en_US", LC_ALL = (unset), LANG = "ja_JP.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = "ja_JP:en_US", LC_ALL = (unset), LANG = "ja_JP.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = "ja_JP:en_US", LC_ALL = (unset), LANG = "ja_JP.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = "ja_JP:en_US", LC_ALL = (unset), LANG = "ja_JP.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = "ja_JP:en_US", LC_ALL = (unset), LANG = "ja_JP.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = "ja_JP:en_US", LC_ALL = (unset), LANG = "ja_JP.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = "ja_JP:en_US", LC_ALL = (unset), LANG = "ja_JP.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). dpkg-divert: rename involves overwriting `/sbin/update-modules.modutils' with different file `/sbin/update-modules', not allowed dpkg: error processing module-init-tools_3.2-pre1-2_arm.deb (--install): subprocess pre-installation script returned error exit status 2 Errors were encountered while processing: module-init-tools_3.2-pre1-2_arm.deb と、エラーが出てきてしまっています。特に、最後の部分で dpkg-divert: rename involves overwriting `/sbin/update-modules.modutils' with different file `/sbin/update-modules', not allowed といって来ているのが気になりますが、どう対処したらいいのか分かりません。アイディアを是非いただきたいと思います。 |
|
投稿日時: 2006-04-09 08:57
おはようございます.
Debian は良く知りませんが,locale が問題なのでは? http://landisk.kororo.jp/diary/08_locale.php 参考になりませんか? |
|
投稿日時: 2006-04-09 11:18
kazさん、お返事ありがとうございます。localeに関しては気にしていなかったのですが、御指摘の通り、エラーメッセージに出ていたので、
# LANG=C と、localeを変更してdpkg -iでインストールを試みましたが、やはりうまくインストールしてくれません。出たエラーメッセージは以下の通りです。 (Reading database ... 6290 files and directories currently installed.) Unpacking module-init-tools (from module-init-tools_3.2-pre1-2_arm.deb) ... dpkg-divert: rename involves overwriting `/sbin/update-modules.modutils' with different file `/sbin/update-modules', not allowed dpkg: error processing module-init-tools_3.2-pre1-2_arm.deb (--install): subprocess pre-installation script returned error exit status 2 Errors were encountered while processing: module-init-tools_3.2-pre1-2_arm.deb また、http://landisk.kororo.jp/diary/08_locale.php にあったように # apt-get install locales を試したところ、 Reading Package Lists... Done Building Dependency Tree... Done You might want to run `apt-get -f install' to correct these: The following packages have unmet dependencies: hotplug: Depends: module-init-tools but it is not going to be installed or modutils (>= 2.4.2) but it is not going to be installed locales: Depends: glibc-2.3.2.ds1-22 E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). と、エラーが出てきます。エラーメッセージの最後にあるように、 # apt-get -f install をやると、 (Reading database ... 6290 files and directories currently installed.) Unpacking module-init-tools (from .../module-init-tools_3.2-pre1-2_arm.deb) ... dpkg-divert: rename involves overwriting `/sbin/update-modules.modutils' with different file `/sbin/update-modules', not allowed dpkg: error processing /var/cache/apt/archives/module-init-tools_3.2-pre1-2_arm.deb (--unpack): subprocess pre-installation script returned error exit status 2 Errors were encountered while processing: /var/cache/apt/archives/module-init-tools_3.2-pre1-2_arm.deb E: Sub-process /usr/bin/dpkg returned an error code (1) の、module-init-tools_3.2-pre1-2_arm.deb をdpkgでインストールしたときのエラーが出てきています。 |
1