
Ubuntu日本語フォーラム

ログインしていません。
なぜかインストール出来ません・・・。
sudo apt-get installで
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています
状態情報を読み取っています... 完了
インストールすることができないパッケージがありました。おそらく、あり得
ない状況を要求したか、(不安定版ディストリビューションを使用しているの
であれば) 必要なパッケージがまだ作成されていなかったり Incoming から移
動されていないことが考えられます。
単純な操作を行っただけなので、このパッケージは単にインストールできない
可能性が高いです。そのため、このパッケージへのバグレポートを送ってくだ
さい。
以下の情報がこの問題を解決するために役立つかもしれません:
以下のパッケージには満たせない依存関係があります:
build-essential: 依存: libc6-dev しかし、インストールされようとしていません または
libc-dev
依存: g++ (>= 4:4.1.1) しかし、インストールされようとしていません
E: 壊れたパッケージ
となりました。アドバイスお願いします。
オフライン
アップデートで更新してみる。
$ sudo apt-get update
---------------------------------------------------------------------------------
ダメならsources.listの確認。
$ cat /etc/apt/sources.list
OSのコードネームとsources.listに記載されている物はおなじですか.
例
deb http://security.ubuntu.com/ubuntu jaunty-security universe
deb http://security.ubuntu.com/ubuntu intrepid-security universe
----------------------------------------------------------------------------------
ちなみにどのバージョンをインストールされているのでしょうか。
サポート期間の終了した物もあります。
最後の編集者: hir0 (2009-05-15 12:42:38)
オフライン
返事が遅れましてすいません。こう出ました
deb cdrom:[Ubuntu 6.06 _Dapper Drake_ - Release i386 (20060531)]/ dapper main restricted
deb-src http://jp.archive.ubuntu.com/ubuntu/ hardy main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://jp.archive.ubuntu.com/ubuntu/ hardy-updates main restricted
deb-src http://jp.archive.ubuntu.com/ubuntu/ hardy-updates main restricted
## Uncomment the following two lines to add software from the 'universe'
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://archive.ubuntu.com/ubuntu/ hardy universe main restricted multiverse
deb-src http://jp.archive.ubuntu.com/ubuntu/ hardy universe
## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://jp.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
deb-src http://jp.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu hardy-security main restricted
deb-src http://security.ubuntu.com/ubuntu hardy-security main restricted
deb http://security.ubuntu.com/ubuntu hardy-security universe
deb-src http://security.ubuntu.com/ubuntu hardy-security universe
#deb http://archive.ubuntulinux.jp/ubuntu-ja dapper/
#deb http://archive.ubuntulinux.jp/ubuntu-ja dapper-ja/
#deb http://packages.medibuntu.org/ gutsy free non-free
#deb http://ppa.launchpad.net/rvm/ppa/ubuntu intrepid main
#deb-src http://ppa.launchpad.net/rvm/ppa/ubuntu intrepid main
そういえば、upgradeしてosをバージョンアップしました、それが原因でしょうか?
前のバージョンではインストールできたような・・・、今のバージョンは8.04です。
オフライン
※規約違反により追放されたユーザの投稿は、ログインユーザにのみ表示されます。
最後の編集者: kiyoshi (2009-05-17 08:54:53)
オフライン
参考:
http://www.ubuntulinux.jp/products/JA-Localized
でこうなりました。
yamadatarou@yamadatarou-laptop:~$ wget -q https://www.ubuntulinux.jp/ubuntu-ja-archive-keyring.gpg -O- | sudo apt-key add -
[sudo] password for yamadatarou:
OK
yamadatarou@yamadatarou-laptop:~$ sudo wget https://www.ubuntulinux.jp/sources.list.d/hardy.list -O /etc/apt/sources.list.d/ubuntu-ja.list
--06:21:35-- https://www.ubuntulinux.jp/sources.list.d/hardy.list
=> `/etc/apt/sources.list.d/ubuntu-ja.list'
www.ubuntulinux.jp をDNSに問いあわせています... 64.79.199.135
www.ubuntulinux.jp|64.79.199.135|:443 に接続しています... 接続しました。
HTTP による接続要求を送信しました、応答を待っています... 200 OK
長さ: 367 [application/octet-stream]
100%[====================================>] 367 --.--K/s
06:21:36 (3.20 MB/s) - `/etc/apt/sources.list.d/ubuntu-ja.list' を保存しました [367/367]
yamadatarou@yamadatarou-laptop:~$ sudo apt-get update
無視 cdrom://Ubuntu 6.06 _Dapper Drake_ - Release i386 (20060531) dapper/main Translation-ja
無視 cdrom://Ubuntu 6.06 _Dapper Drake_ - Release i386 (20060531) dapper/restricted Translation-ja
ヒット http://jp.archive.ubuntu.com hardy Release.gpg
ヒット http://jp.archive.ubuntu.com hardy-updates Release.gpg
無視 http://jp.archive.ubuntu.com hardy-updates/main Translation-ja
無視 http://jp.archive.ubuntu.com hardy-updates/restricted Translation-ja
取得:1 http://jp.archive.ubuntu.com hardy-backports Release.gpg [189B]
取得:2 http://archive.ubuntulinux.jp dapper/ Release.gpg [189B]
無視 http://archive.ubuntulinux.jp dapper/ Translation-ja
取得:3 http://archive.ubuntulinux.jp dapper-ja/ Release.gpg [189B]
無視 http://archive.ubuntulinux.jp dapper-ja/ Translation-ja
取得:4 http://archive.ubuntulinux.jp hardy/ Release.gpg [189B]
無視 http://jp.archive.ubuntu.com hardy-backports/main Translation-ja
無視 http://jp.archive.ubuntu.com hardy-backports/restricted Translation-ja
無視 http://jp.archive.ubuntu.com hardy-backports/universe Translation-ja
無視 http://jp.archive.ubuntu.com hardy-backports/multiverse Translation-ja
ヒット http://jp.archive.ubuntu.com hardy Release
ヒット http://jp.archive.ubuntu.com hardy-updates Release
無視 http://archive.ubuntulinux.jp hardy/ Translation-ja
取得:5 http://jp.archive.ubuntu.com hardy-backports Release [51.2kB]
ヒット http://archive.ubuntu.com hardy Release.gpg
取得:6 http://archive.ubuntu.com hardy/universe Translation-ja [348kB]
ヒット http://security.ubuntu.com hardy-security Release.gpg
無視 http://security.ubuntu.com hardy-security/main Translation-ja
取得:7 http://archive.ubuntulinux.jp hardy-ja/ Release.gpg [189B]
無視 http://archive.ubuntulinux.jp hardy-ja/ Translation-ja
取得:8 http://archive.ubuntulinux.jp dapper/ Release [698B]
取得:9 http://archive.ubuntulinux.jp dapper-ja/ Release [729B]
ヒット http://jp.archive.ubuntu.com hardy/main Sources
ヒット http://jp.archive.ubuntu.com hardy/restricted Sources
ヒット http://jp.archive.ubuntu.com hardy/universe Sources
取得:10 http://archive.ubuntulinux.jp hardy/ Release [722B]
取得:11 http://archive.ubuntulinux.jp hardy-ja/ Release [769B]
無視 http://security.ubuntu.com hardy-security/restricted Translation-ja
無視 http://security.ubuntu.com hardy-security/universe Translation-ja
取得:12 http://ppa.launchpad.net intrepid Release.gpg [307B]
無視 http://ppa.launchpad.net intrepid/main Translation-ja
ヒット http://jp.archive.ubuntu.com hardy-updates/main Packages
ヒット http://jp.archive.ubuntu.com hardy-updates/restricted Packages
ヒット http://jp.archive.ubuntu.com hardy-updates/main Sources
ヒット http://jp.archive.ubuntu.com hardy-updates/restricted Sources
取得:13 http://packages.medibuntu.org gutsy Release.gpg [197B]
無視 http://packages.medibuntu.org gutsy/free Translation-ja
無視 http://archive.ubuntulinux.jp dapper/ Packages
取得:14 http://jp.archive.ubuntu.com hardy-backports/main Packages [112kB]
ヒット http://security.ubuntu.com hardy-security Release
無視 http://archive.ubuntulinux.jp dapper-ja/ Packages
無視 http://archive.ubuntulinux.jp hardy/ Packages
取得:15 http://ppa.launchpad.net intrepid Release [46.7kB]
取得:16 http://jp.archive.ubuntu.com hardy-backports/restricted Packages [14B]
取得:17 http://jp.archive.ubuntu.com hardy-backports/universe Packages [110kB]
無視 http://packages.medibuntu.org gutsy/non-free Translation-ja
取得:18 http://packages.medibuntu.org dapper Release.gpg [197B]
無視 http://packages.medibuntu.org dapper/free Translation-ja
取得:19 http://packages.medibuntu.org gutsy Release [11.7kB]
無視 http://archive.ubuntulinux.jp hardy/ Sources
無視 http://archive.ubuntulinux.jp hardy-ja/ Packages
無視 http://archive.ubuntulinux.jp hardy-ja/ Sources
取得:20 http://archive.ubuntulinux.jp dapper/ Packages [21.7kB]
ヒット http://security.ubuntu.com hardy-security/main Packages
取得:21 http://jp.archive.ubuntu.com hardy-backports/multiverse Packages [14.6kB]
取得:22 http://jp.archive.ubuntu.com hardy-backports/main Sources [16.3kB]
ヒット http://security.ubuntu.com hardy-security/restricted Packages
ヒット http://security.ubuntu.com hardy-security/main Sources
ヒット http://security.ubuntu.com hardy-security/restricted Sources
取得:23 http://jp.archive.ubuntu.com hardy-backports/restricted Sources [14B]
取得:24 http://jp.archive.ubuntu.com hardy-backports/universe Sources [25.5kB]
取得:25 http://archive.ubuntulinux.jp dapper-ja/ Packages [14.3kB]
取得:26 http://jp.archive.ubuntu.com hardy-backports/multiverse Sources [4064B]
ヒット http://security.ubuntu.com hardy-security/universe Packages
ヒット http://security.ubuntu.com hardy-security/universe Sources
取得:27 http://packages.medibuntu.org dapper Release [9309B]
取得:28 http://archive.ubuntulinux.jp hardy/ Packages [19.2kB]
取得:29 http://archive.ubuntulinux.jp hardy/ Sources [5066B]
取得:30 http://archive.ubuntulinux.jp hardy-ja/ Packages [6282B]
取得:31 http://archive.ubuntulinux.jp hardy-ja/ Sources [1667B]
取得:32 http://packages.medibuntu.org gutsy/free Packages [8677B]
取得:33 http://packages.medibuntu.org gutsy/non-free Packages [3731B]
取得:34 http://packages.medibuntu.org dapper/free Packages [2364B]
取得:35 http://packages.medibuntu.org dapper/free Sources [1255B]
無視 http://ppa.launchpad.net intrepid Release
無視 http://ppa.launchpad.net intrepid/main Packages
無視 http://ppa.launchpad.net intrepid/main Sources
取得:36 http://archive.ubuntu.com hardy/main Translation-ja [83.0kB]
取得:37 http://ppa.launchpad.net intrepid/main Packages [4019B]
取得:38 http://ppa.launchpad.net intrepid/main Sources [1714B]
無視 http://archive.ubuntu.com hardy/restricted Translation-ja
取得:39 http://archive.ubuntu.com hardy/multiverse Translation-ja [1920B]
ヒット http://archive.ubuntu.com hardy Release
ヒット http://archive.ubuntu.com hardy/universe Packages
ヒット http://archive.ubuntu.com hardy/main Packages
ヒット http://archive.ubuntu.com hardy/restricted Packages
ヒット http://archive.ubuntu.com hardy/multiverse Packages
取得:40 ftp://ftp.videolan.org dapper Release.gpg
無視 ftp://ftp.videolan.org dapper Release.gpg
取得:41 ftp://ftp.videolan.org dapper/universe Translation-ja
無視 ftp://ftp.videolan.org dapper/universe Translation-ja
取得:42 ftp://ftp.videolan.org dapper Release
無視 ftp://ftp.videolan.org dapper Release
取得:43 ftp://ftp.videolan.org dapper/universe Packages
無視 ftp://ftp.videolan.org dapper/universe Packages
取得:44 ftp://ftp.videolan.org dapper/universe Packages [3339B]
933kB を 19s で取得しました (47.4kB/s)
W: GPG error: http://ppa.launchpad.net intrepid Release: 公開鍵を利用できないため、以下の署名は検証できませんでした: NO_PUBKEY 8AD328D8A58BCAE3
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?
yamadatarou@yamadatarou-laptop:~$ sudo apt-get upgrade
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?
>「システム」ー「システム管理」ー「Synaptic・・・」を選んで、パスワードを入力してSynapticパッケージマネージャを起動し、
「設定」ー「リポジトリ」をクリック。適切にチェックすれば、直るかも。
すいません、適切にチェックとはどのようにすれば良いのでしょう?参考サイトか具体的に教えてください><
オフライン
※規約違反により追放されたユーザの投稿は、ログインユーザにのみ表示されます。
最後の編集者: kiyoshi (2009-05-18 06:58:45)
オフライン
すみません。
#2でsources.list の提示をお願いしましたが、同じ意見が続いたのでコメントを控えていました。
可能性としては#2での予想が当たっている感が有りますが、なぜ混在しているのかが分かりません。
意図的に導入(試行錯誤した後の予期せぬ結果かも)したもので有れば削除して良いのかどうかの判断がこちら側から分からないので、とりあえず為されて欲しいのが↓#6と重複していますが
$ sudo mv -f /etc/apt/sources.list /etc/apt/sources.list.bkup
$ ls /etc/apt |grep sources.list.bkup
sources.list.bkup と表示されれば以下を続けて下さい。
$ sudo gedit /etc/apt/sources.list
hardyの文字が含まれていない行、全てに # をつけて保存。
分からなければ
gedit を終了して
$ sudo su
# cat /etc/apt/sources.list.bkup |grep hardy >> /etc/apt/sources.list
# exit
----------------------------------------------------------------
上記どちらかを行ってから、
$ sudo apt-get autoclean
$ sudo apt-get update
$ sudo apt-get install build-essential
バックアップをとっているので取りあえず実行を。
ダメでも結果をお願いします。
指示的におかしな所が有れば指摘が有ると思いますのでそれも参考に。
kiyoshiさん、ありがとうございます。
最初はオプション無の cp だったんですが夜チラッと読み返したらリダイレクトが目に入って、ん?何でcpにしたんだろ?ってかきかえてしまった、、、
最後の編集者: hir0 (2009-05-19 00:03:28)
オフライン
※規約違反により追放されたユーザの投稿は、ログインユーザにのみ表示されます。
最後の編集者: kiyoshi (2009-05-19 00:51:54)
オフライン
アドバイス通りした結果がこちらです
yamadatarou@yamadatarou-laptop:~$ sudo cp -f /etc/apt/sources.list /etc/apt/sources.list.bkup
[sudo] password for yamadatarou:
yamadatarou@yamadatarou-laptop:~$ ls /etc/apt |grep sources.list.bkup
sources.list.bkup
yamadatarou@yamadatarou-laptop:~$ sudo gedit /etc/apt/sources.list
#deb cdrom:[Ubuntu 6.06 _Dapper Drake_ - Release i386 (20060531)]/ dapper main restricted
deb-src http://jp.archive.ubuntu.com/ubuntu/ hardy main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://jp.archive.ubuntu.com/ubuntu/ hardy-updates main restricted
deb-src http://jp.archive.ubuntu.com/ubuntu/ hardy-updates main restricted
## Uncomment the following two lines to add software from the 'universe'
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://archive.ubuntu.com/ubuntu/ hardy universe main restricted multiverse
deb-src http://jp.archive.ubuntu.com/ubuntu/ hardy universe
## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://jp.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
deb-src http://jp.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu hardy-security main restricted
deb-src http://security.ubuntu.com/ubuntu hardy-security main restricted
deb http://security.ubuntu.com/ubuntu hardy-security universe
deb-src http://security.ubuntu.com/ubuntu hardy-security universe
#deb http://archive.ubuntulinux.jp/ubuntu-ja dapper/
#deb http://archive.ubuntulinux.jp/ubuntu-ja dapper-ja/
#deb http://packages.medibuntu.org/ gutsy free non-free
#deb http://ppa.launchpad.net/rvm/ppa/ubuntu intrepid main
#deb-src http://ppa.launchpad.net/rvm/ppa/ubuntu intrepid main
yamadatarou@yamadatarou-laptop:~$ sudo apt-get autoclean
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています
状態情報を読み取っています... 完了
Del libpango1.0-dev 1.20.5-0ubuntu1 [348kB]
yamadatarou@yamadatarou-laptop:~$ sudo apt-get update
ヒット http://archive.ubuntulinux.jp hardy/ Release.gpg
無視 http://archive.ubuntulinux.jp hardy/ Translation-ja
ヒット http://archive.ubuntulinux.jp hardy-ja/ Release.gpg
無視 http://archive.ubuntulinux.jp hardy-ja/ Translation-ja
ヒット http://archive.ubuntulinux.jp hardy/ Release
ヒット http://jp.archive.ubuntu.com hardy Release.gpg
ヒット http://jp.archive.ubuntu.com hardy-updates Release.gpg
ヒット http://archive.ubuntulinux.jp hardy-ja/ Release
無視 http://jp.archive.ubuntu.com hardy-updates/main Translation-ja
無視 http://jp.archive.ubuntu.com hardy-updates/restricted Translation-ja
ヒット http://jp.archive.ubuntu.com hardy-backports Release.gpg
無視 http://jp.archive.ubuntu.com hardy-backports/main Translation-ja
無視 http://jp.archive.ubuntu.com hardy-backports/restricted Translation-ja
無視 http://jp.archive.ubuntu.com hardy-backports/universe Translation-ja
無視 http://jp.archive.ubuntu.com hardy-backports/multiverse Translation-ja
ヒット http://jp.archive.ubuntu.com hardy Release
ヒット http://jp.archive.ubuntu.com hardy-updates Release
ヒット http://jp.archive.ubuntu.com hardy-backports Release
ヒット http://archive.ubuntu.com hardy Release.gpg
ヒット http://archive.ubuntu.com hardy/universe Translation-ja
無視 http://archive.ubuntulinux.jp hardy/ Packages
ヒット http://security.ubuntu.com hardy-security Release.gpg
無視 http://security.ubuntu.com hardy-security/main Translation-ja
無視 http://archive.ubuntulinux.jp hardy/ Sources
無視 http://archive.ubuntulinux.jp hardy-ja/ Packages
無視 http://archive.ubuntulinux.jp hardy-ja/ Sources
取得:1 http://packages.medibuntu.org dapper Release.gpg [197B]
無視 http://packages.medibuntu.org dapper/free Translation-ja
ヒット http://archive.ubuntulinux.jp hardy/ Packages
ヒット http://jp.archive.ubuntu.com hardy/main Sources
ヒット http://archive.ubuntulinux.jp hardy/ Sources
ヒット http://archive.ubuntulinux.jp hardy-ja/ Packages
ヒット http://archive.ubuntu.com hardy/main Translation-ja
無視 http://archive.ubuntu.com hardy/restricted Translation-ja
ヒット http://archive.ubuntu.com hardy/multiverse Translation-ja
ヒット http://archive.ubuntu.com hardy Release
ヒット http://archive.ubuntulinux.jp hardy-ja/ Sources
ヒット http://jp.archive.ubuntu.com hardy/restricted Sources
ヒット http://jp.archive.ubuntu.com hardy/universe Sources
ヒット http://jp.archive.ubuntu.com hardy-updates/main Packages
ヒット http://jp.archive.ubuntu.com hardy-updates/restricted Packages
ヒット http://jp.archive.ubuntu.com hardy-updates/main Sources
ヒット http://jp.archive.ubuntu.com hardy-updates/restricted Sources
ヒット http://jp.archive.ubuntu.com hardy-backports/main Packages
ヒット http://jp.archive.ubuntu.com hardy-backports/restricted Packages
ヒット http://jp.archive.ubuntu.com hardy-backports/universe Packages
無視 http://security.ubuntu.com hardy-security/restricted Translation-ja
無視 http://security.ubuntu.com hardy-security/universe Translation-ja
ヒット http://jp.archive.ubuntu.com hardy-backports/multiverse Packages
ヒット http://jp.archive.ubuntu.com hardy-backports/main Sources
ヒット http://security.ubuntu.com hardy-security Release
ヒット http://jp.archive.ubuntu.com hardy-backports/restricted Sources
ヒット http://jp.archive.ubuntu.com hardy-backports/universe Sources
ヒット http://jp.archive.ubuntu.com hardy-backports/multiverse Sources
取得:2 http://packages.medibuntu.org dapper Release [9309B]
ヒット http://archive.ubuntu.com hardy/universe Packages
ヒット http://security.ubuntu.com hardy-security/main Packages
ヒット http://archive.ubuntu.com hardy/main Packages
ヒット http://archive.ubuntu.com hardy/restricted Packages
ヒット http://archive.ubuntu.com hardy/multiverse Packages
ヒット http://security.ubuntu.com hardy-security/restricted Packages
ヒット http://security.ubuntu.com hardy-security/main Sources
ヒット http://security.ubuntu.com hardy-security/restricted Sources
ヒット http://security.ubuntu.com hardy-security/universe Packages
ヒット http://security.ubuntu.com hardy-security/universe Sources
取得:3 http://packages.medibuntu.org dapper/free Packages [2364B]
取得:4 http://packages.medibuntu.org dapper/free Sources [1255B]
取得:5 ftp://ftp.videolan.org dapper Release.gpg
無視 ftp://ftp.videolan.org dapper Release.gpg
取得:6 ftp://ftp.videolan.org dapper/universe Translation-ja
無視 ftp://ftp.videolan.org dapper/universe Translation-ja
取得:7 ftp://ftp.videolan.org dapper Release
無視 ftp://ftp.videolan.org dapper Release
取得:8 ftp://ftp.videolan.org dapper/universe Packages
無視 ftp://ftp.videolan.org dapper/universe Packages
ヒット ftp://ftp.videolan.org dapper/universe Packages
13.1kB を 18s で取得しました (714B/s)
パッケージリストを読み込んでいます... 完了
yamadatarou@yamadatarou-laptop:~$ sudo apt-get install build-essential
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています
状態情報を読み取っています... 完了
インストールすることができないパッケージがありました。おそらく、あり得
ない状況を要求したか、(不安定版ディストリビューションを使用しているの
であれば) 必要なパッケージがまだ作成されていなかったり Incoming から移
動されていないことが考えられます。
単純な操作を行っただけなので、このパッケージは単にインストールできない
可能性が高いです。そのため、このパッケージへのバグレポートを送ってくだ
さい。
以下の情報がこの問題を解決するために役立つかもしれません:
以下のパッケージには満たせない依存関係があります:
build-essential: 依存: libc6-dev しかし、インストールされようとしていません または
libc-dev
依存: g++ (>= 4:4.1.1) しかし、インストールされようとしていません
E: 壊れたパッケージ
yamadatarou@yamadatarou-laptop:~$
インストールできませんでした><
オフライン
$ sudo gedit /etc/apt/sources.list.d/ubuntu-ja.list
ja 日本語レポジトリにも hardy 以外が混ざっている様ですのでこれも#でコメントアウトしてみて下さい。
オフライン
問題をはっきりさせるために、
まずmedibuntuのリポジトリを削除しましょう。
端末で
$ sudo rm /etc/apt/sources.list.d/medibuntu.list*
を実行してください。
次に
$ sudo gedit /etc/apt/sources.list
を実行して、geditを開き、
以下の内容に置き換えてください。
# deb cdrom:[Ubuntu 8.04.1 _Hardy Heron_ - Release i386 (20080702.1)]/ hardy main restricted # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the distribution. deb http://jp.archive.ubuntu.com/ubuntu/ hardy main restricted ## Major bug fix updates produced after the final release of the ## distribution. deb http://jp.archive.ubuntu.com/ubuntu/ hardy-updates main restricted ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team, and may not be under a free licence. Please satisfy yourself as to ## your rights to use the software. Also, please note that software in ## universe WILL NOT receive any review or updates from the Ubuntu security ## team. deb http://jp.archive.ubuntu.com/ubuntu/ hardy universe deb http://jp.archive.ubuntu.com/ubuntu/ hardy-updates universe ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team, and may not be under a free licence. Please satisfy yourself as to ## your rights to use the software. Also, please note that software in ## multiverse WILL NOT receive any review or updates from the Ubuntu ## security team. deb http://jp.archive.ubuntu.com/ubuntu/ hardy multiverse deb http://jp.archive.ubuntu.com/ubuntu/ hardy-updates multiverse ## Uncomment the following two lines to add software from the 'backports' ## repository. ## N.B. software from this repository may not have been tested as ## extensively as that contained in the main release, although it includes ## newer versions of some applications which may provide useful features. ## Also, please note that software in backports WILL NOT receive any review ## or updates from the Ubuntu security team. # deb http://jp.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse # deb-src http://jp.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse ## Uncomment the following two lines to add software from Canonical's ## 'partner' repository. This software is not part of Ubuntu, but is ## offered by Canonical and the respective vendors as a service to Ubuntu ## users. # deb http://archive.canonical.com/ubuntu hardy partner # deb-src http://archive.canonical.com/ubuntu hardy partner deb http://security.ubuntu.com/ubuntu hardy-security main restricted deb http://security.ubuntu.com/ubuntu hardy-security universe deb http://security.ubuntu.com/ubuntu hardy-security multiverse
次に端末で、
$ sudo apt-get update
を実行してから、
$ sudo apt-get install build-essential
を実行すれば、問題なくインストールできるはずです。
オフライン
確かに、今まで構築してきたもので不具合が出るなら初期化、リセットが最短の修復法ですね。
オフライン
アドバイスの実行結果です。
yamadatarou@yamadatarou-laptop:~$ sudo rm /etc/apt/sources.list.d/medibuntu.list*
[sudo] password for yamadatarou:
yamadatarou@yamadatarou-laptop:~$ sudo gedit /etc/apt/sources.list
コピペしました。
yamadatarou@yamadatarou-laptop:~$ sudo apt-get update
ヒット http://jp.archive.ubuntu.com hardy Release.gpg
取得:1 http://jp.archive.ubuntu.com hardy/main Translation-ja [83.0kB]
取得:2 http://archive.ubuntulinux.jp hardy/ Release.gpg [189B]
無視 http://archive.ubuntulinux.jp hardy/ Translation-ja
取得:3 http://archive.ubuntulinux.jp hardy-ja/ Release.gpg [189B]
無視 http://archive.ubuntulinux.jp hardy-ja/ Translation-ja
無視 http://jp.archive.ubuntu.com hardy/restricted Translation-ja
取得:4 http://jp.archive.ubuntu.com hardy/universe Translation-ja [348kB]
取得:5 http://archive.ubuntulinux.jp hardy/ Release [722B]
ヒット http://security.ubuntu.com hardy-security Release.gpg
無視 http://security.ubuntu.com hardy-security/main Translation-ja
無視 http://security.ubuntu.com hardy-security/restricted Translation-ja
無視 http://security.ubuntu.com hardy-security/universe Translation-ja
無視 http://security.ubuntu.com hardy-security/multiverse Translation-ja
ヒット http://security.ubuntu.com hardy-security Release
取得:6 http://jp.archive.ubuntu.com hardy/multiverse Translation-ja [1920B]
ヒット http://jp.archive.ubuntu.com hardy-updates Release.gpg
無視 http://jp.archive.ubuntu.com hardy-updates/main Translation-ja
無視 http://jp.archive.ubuntu.com hardy-updates/restricted Translation-ja
無視 http://jp.archive.ubuntu.com hardy-updates/universe Translation-ja
無視 http://jp.archive.ubuntu.com hardy-updates/multiverse Translation-ja
ヒット http://jp.archive.ubuntu.com hardy Release
ヒット http://jp.archive.ubuntu.com hardy-updates Release
ヒット http://security.ubuntu.com hardy-security/main Packages
取得:7 http://jp.archive.ubuntu.com hardy/main Packages [1178kB]
取得:8 http://archive.ubuntulinux.jp hardy-ja/ Release [769B]
ヒット http://security.ubuntu.com hardy-security/restricted Packages
ヒット http://security.ubuntu.com hardy-security/universe Packages
取得:9 http://security.ubuntu.com hardy-security/multiverse Packages [11.9kB]
無視 http://archive.ubuntulinux.jp hardy/ Packages
無視 http://archive.ubuntulinux.jp hardy/ Sources
無視 http://archive.ubuntulinux.jp hardy-ja/ Packages
無視 http://archive.ubuntulinux.jp hardy-ja/ Sources
取得:10 http://archive.ubuntulinux.jp hardy/ Packages [19.2kB]
取得:11 http://archive.ubuntulinux.jp hardy/ Sources [5066B]
取得:12 http://archive.ubuntulinux.jp hardy-ja/ Packages [6282B]
取得:13 http://archive.ubuntulinux.jp hardy-ja/ Sources [1667B]
取得:14 http://jp.archive.ubuntu.com hardy/restricted Packages [6986B]
取得:15 http://jp.archive.ubuntu.com hardy/universe Packages [4293kB]
取得:16 ftp://ftp.videolan.org dapper Release.gpg
無視 ftp://ftp.videolan.org dapper Release.gpg
取得:17 ftp://ftp.videolan.org dapper/universe Translation-ja
無視 ftp://ftp.videolan.org dapper/universe Translation-ja
取得:18 http://jp.archive.ubuntu.com hardy/multiverse Packages [179kB]
ヒット http://jp.archive.ubuntu.com hardy-updates/main Packages
ヒット http://jp.archive.ubuntu.com hardy-updates/restricted Packages
取得:19 http://jp.archive.ubuntu.com hardy-updates/universe Packages [198kB]
取得:20 ftp://ftp.videolan.org dapper Release
取得:21 http://jp.archive.ubuntu.com hardy-updates/multiverse Packages [29.1kB]
無視 ftp://ftp.videolan.org dapper Release
取得:22 ftp://ftp.videolan.org dapper/universe Packages
無視 ftp://ftp.videolan.org dapper/universe Packages
ヒット ftp://ftp.videolan.org dapper/universe Packages
6363kB を 29s で取得しました (217kB/s)
パッケージリストを読み込んでいます... 完了
yamadatarou@yamadatarou-laptop:~$ sudo apt-get install build-essential
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています
状態情報を読み取っています... 完了
インストールすることができないパッケージがありました。おそらく、あり得
ない状況を要求したか、(不安定版ディストリビューションを使用しているの
であれば) 必要なパッケージがまだ作成されていなかったり Incoming から移
動されていないことが考えられます。
単純な操作を行っただけなので、このパッケージは単にインストールできない
可能性が高いです。そのため、このパッケージへのバグレポートを送ってくだ
さい。
以下の情報がこの問題を解決するために役立つかもしれません:
以下のパッケージには満たせない依存関係があります:
build-essential: 依存: libc6-dev しかし、インストールされようとしていません または
libc-dev
依存: g++ (>= 4:4.1.1) しかし、インストールされようとしていません
E: 壊れたパッケージ
><
オフライン
pores_nさんの方法を為してください。
あと混ざっているのはmedibuntuとdapperですが、それでmedibuntuのリポジトリは消えるので解決もしくは、かなり進展するかと、、、
システム管理 -> ソフトウェアソース -> サードパーティのソフトウェアのチェックボックスからはdapper外せないかなぁ。
オフライン
> yamadatarouさん
端末で
$ apt-cache policy build-essential libc6-dev g++
を実行してその結果をここに貼り付けてみてください。
オフライン
ちなみにですが、VLCのリポジトリは端末で
$ sudo rm /etc/apt/sources.list.d/vlc.list
を実行すると削除できるようです。
参考: http://www.videolan.org/vlc/download-ubuntu.html
オフライン