
Ubuntu日本語フォーラム

ログインしていません。
DVDを見ることができない者です。
libdvdcss2をインストールするができません。
端末では
kazuma@kazuma-laptop:~$ sudo wget http://www.medibuntu.org/sources.list.d/gutsy.list -O /etc/apt/sources.list.d/medibuntu.list
--2008-12-30 21:53:30-- http://www.medibuntu.org/sources.list.d/gutsy.list
www.medibuntu.org をDNSに問いあわせています... 87.98.242.110
www.medibuntu.org|87.98.242.110|:80 に接続しています... 接続しました。
HTTP による接続要求を送信しました、応答を待っています... 200 OK
長さ: 223 [text/plain]
`/etc/apt/sources.list.d/medibuntu.list' に保存中
100%[======================================>] 223 --.-K/s 時間 0s
2008-12-30 21:53:30 (12.5 MB/s) - `/etc/apt/sources.list.d/medibuntu.list' へ保存完了 [223/223]
kazuma@kazuma-laptop:~$ wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add - && sudo aptitude update
OK
E: ロック /var/lib/dpkg/lock が取得できませんでした - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
該当 http://jp.archive.ubuntu.com intrepid Release.gpg
該当 http://jp.archive.ubuntu.com intrepid/main Translation-ja
無視 http://jp.archive.ubuntu.com intrepid/restricted Translation-ja
該当 http://jp.archive.ubuntu.com intrepid/multiverse Translation-ja
該当 http://jp.archive.ubuntu.com intrepid/universe Translation-ja
該当 http://jp.archive.ubuntu.com intrepid-updates Release.gpg
該当 http://jp.archive.ubuntu.com intrepid-updates/main Translation-ja
無視 http://jp.archive.ubuntu.com intrepid-updates/restricted Translation-ja
該当 http://jp.archive.ubuntu.com intrepid-updates/multiverse Translation-ja
該当 http://jp.archive.ubuntu.com intrepid-updates/universe Translation-ja
該当 http://jp.archive.ubuntu.com intrepid Release
該当 http://jp.archive.ubuntu.com intrepid-updates Release
取得:1 http://archive.ubuntulinux.jp intrepid/ Release.gpg [189B]
無視 http://archive.ubuntulinux.jp intrepid/ Translation-ja
該当 http://jp.archive.ubuntu.com intrepid/main Packages
該当 http://jp.archive.ubuntu.com intrepid/restricted Packages
該当 http://jp.archive.ubuntu.com intrepid/multiverse Packages
該当 http://jp.archive.ubuntu.com intrepid/restricted Sources
該当 http://jp.archive.ubuntu.com intrepid/main Sources
該当 http://jp.archive.ubuntu.com intrepid/multiverse Sources
該当 http://jp.archive.ubuntu.com intrepid/universe Sources
該当 http://jp.archive.ubuntu.com intrepid/universe Packages
該当 http://jp.archive.ubuntu.com intrepid-updates/main Packages
該当 http://jp.archive.ubuntu.com intrepid-updates/restricted Packages
該当 http://jp.archive.ubuntu.com intrepid-updates/multiverse Packages
該当 http://jp.archive.ubuntu.com intrepid-updates/restricted Sources
取得:2 http://archive.ubuntulinux.jp intrepid-ja/ Release.gpg [189B]
該当 http://jp.archive.ubuntu.com intrepid-updates/main Sources
該当 http://jp.archive.ubuntu.com intrepid-updates/multiverse Sources
該当 http://jp.archive.ubuntu.com intrepid-updates/universe Sources
該当 http://jp.archive.ubuntu.com intrepid-updates/universe Packages
無視 http://archive.ubuntulinux.jp intrepid-ja/ Translation-ja
取得:3 http://archive.ubuntulinux.jp intrepid-non-free/ Release.gpg [189B]
無視 http://archive.ubuntulinux.jp intrepid-non-free/ Translation-ja
取得:4 http://archive.ubuntulinux.jp intrepid/ Release [728B]
取得:5 http://archive.ubuntulinux.jp intrepid-ja/ Release [775B]
取得:6 http://archive.ubuntulinux.jp intrepid-non-free/ Release [766B]
無視 http://archive.ubuntulinux.jp intrepid/ Packages
無視 http://archive.ubuntulinux.jp intrepid/ Sources
無視 http://archive.ubuntulinux.jp intrepid-ja/ Packages
該当 http://archive.ubuntu.com intrepid Release.gpg
取得:7 http://packages.medibuntu.org gutsy Release.gpg [189B]
無視 http://archive.ubuntulinux.jp intrepid-ja/ Sources
無視 http://archive.ubuntulinux.jp intrepid-non-free/ Packages
無視 http://archive.ubuntulinux.jp intrepid-non-free/ Sources
取得:8 http://archive.ubuntulinux.jp intrepid/ Packages [7233B]
取得:9 http://archive.ubuntulinux.jp intrepid/ Sources [4023B]
該当 http://archive.ubuntu.com intrepid Release
取得:10 http://archive.ubuntulinux.jp intrepid/ Sources [4023B]
取得:11 http://archive.ubuntulinux.jp intrepid-ja/ Packages [5279B]
取得:12 http://archive.ubuntulinux.jp intrepid-ja/ Sources [1653B]
取得:13 http://archive.ubuntulinux.jp intrepid-non-free/ Packages [3129B]
取得:14 http://archive.ubuntulinux.jp intrepid-non-free/ Sources [1739B]
該当 http://archive.ubuntu.com intrepid/main Sources
無視 http://packages.medibuntu.org gutsy/free Translation-ja
該当 http://archive.ubuntu.com intrepid/restricted Sources
無視 http://packages.medibuntu.org gutsy/non-free Translation-ja
取得:15 http://packages.medibuntu.org gutsy Release [11.7kB]
取得:16 http://packages.medibuntu.org gutsy/free Packages [8443B]
取得:17 http://packages.medibuntu.org gutsy/non-free Packages [3731B]
該当 http://security.ubuntu.com intrepid-security Release.gpg
無視 http://security.ubuntu.com intrepid-security/main Translation-ja
無視 http://security.ubuntu.com intrepid-security/restricted Translation-ja
無視 http://security.ubuntu.com intrepid-security/multiverse Translation-ja
無視 http://security.ubuntu.com intrepid-security/universe Translation-ja
該当 http://security.ubuntu.com intrepid-security Release
該当 http://security.ubuntu.com intrepid-security/main Packages
該当 http://security.ubuntu.com intrepid-security/restricted Packages
該当 http://security.ubuntu.com intrepid-security/multiverse Packages
該当 http://security.ubuntu.com intrepid-security/restricted Sources
該当 http://security.ubuntu.com intrepid-security/main Sources
該当 http://security.ubuntu.com intrepid-security/multiverse Sources
該当 http://security.ubuntu.com intrepid-security/universe Sources
該当 http://security.ubuntu.com intrepid-security/universe Packages
50.0kB を 8s 秒でダウンロードしました (6206B/s)
E: ロック /var/lib/dpkg/lock が取得できませんでした - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
E: パッケージキャッシュを再構築できませんでした
E: ロック /var/lib/dpkg/lock が取得できませんでした - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
現在の状態: 新規が 23 個 [+23]。
kazuma@kazuma-laptop:~$ sudo aptitude install libdvdcss2
E: ロック /var/lib/dpkg/lock が取得できませんでした - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています
状態情報を読み取っています... 完了
拡張状態情報を読み込んでいます
パッケージの状態を初期化しています... 完了
E: ロック /var/lib/dpkg/lock が取得できませんでした - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
このようにでてしまい、いつも /var/lib/dpkg/lock が取得できないと出てしまうのですが、
どのようにしたらインストールできるのでしょうか?
すべてのメディア(wmp10なども含めて)でDVD鑑賞がまったくできない状況になっております。
原因がまったく分からない状況です。解決への道がまったく分からない状況です。
ご協力宜しくお願いいたします。
オフライン
feichiさん による投稿:
現在の状態: 新規が 23 個 [+23]。
kazuma@kazuma-laptop:~$ sudo aptitude install libdvdcss2
E: ロック /var/lib/dpkg/lock が取得できませんでした - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています
状態情報を読み取っています... 完了
拡張状態情報を読み込んでいます
パッケージの状態を初期化しています... 完了
E: ロック /var/lib/dpkg/lock が取得できませんでした - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
単純に Sinaptic パッケージマネージャーなどを起動したまま、apt-get を実行していませんか?リポジトリの追加やパッケージの追加は、apt、Synaptic、追加と削除、日本語環境セットアップ・ヘルパ、その他 deb パッケージインストーラのどれか一つだけ実行するようにしないと、feichi さんが目にしているエラーがでますが。
複数のパッケージ管理ソフトを同時に動かすことはできません。
feichi による投稿:
kazuma@kazuma-laptop:~$ sudo wget http://www.medibuntu.org/sources.list.d/gutsy.list -O /etc/apt/sources.list.d/medibuntu.list
見たところintrepidを使っているようですが、にもかかわらずgutsy用のレポジトリファイルをダウンロードしています。
エラーとは関係ないでしょうが、intrepid用のレポジトリファイルにした方がよいのでは?
オフライン
>avidyaさん
おっしゃるとおりでした。端末からスムーズにインストールすることができました。
有難うございました。
>toshioさん
intrepid用のレポジトリファイルにするというのはどのようにせっていしたらいいのですか?
教えてください。宜しくお願いいたします。
オフライン
Ubuntu に慣れていなかったら、一番簡単なのは以下の通り。
1.[システム]-[システム管理]-[ソフトウェア・ソース]を起動
2.[サードパーティのソフトウェア]を開く
3."gutsy" と書かれたリポジトリでクリックして選択
4.「編集」ボタンをクリック
5.ディストリビューションの項目を "intrepid" に変更する
6.「閉じる」ボタンを押す
または上記4以降を以下のように手順を変更。
4.「削除」ボタンを押して "gutsy" 用のリポジトリを全て削除する。
5.ソフトウェア・ソースを終了する。
6.端末で "sudo wget http://www.medibuntu.org/sources.list.d/intrepid.list --output-document=/etc/apt/sources.list.d/medibuntu.list" を実行。
7.端末で "sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update" を実行する。
8.sudo apt-get update を実行する。
9.sudo apt-get autoremove を実行する ( ひょっとするといらないかも )
最後の編集者: avidya (2008-12-31 13:07:39)
avidyaさま、toshiさま
教えていただきましてありがとうございます。最初の方法でできました。
しかし、intrepidにすると自分のPCにたいして、どのような効果があるのですか?
オフライン
feichiさん による投稿:
しかし、intrepidにすると自分のPCにたいして、どのような効果があるのですか?
単純に Ubuntu のバージョンを示しています。
・Gutsy Gibbon : Ubuntu7.10
・Hardy Heron : Ubuntu8.04
・Intrepid Ibex : Ubuntu8.10
それぞれリポジトリで公開されているバイナリパッケージも異なることが多いので ( ブランチを切るタイミングによってはソースパッケージもですが )、Ubuntu8.10 を使っている時は、Intrepid Ibex のリポジトリを使います。異なるバージョンのリポジトリが混ざっていると、アプリケーションの正常な動作はまったく保証されません。
avidyaさま
どうも有難うございました。とてもよくわかりました。
これからもよろしくお願い致します。
オフライン