web-dev-qa-db-ja.com

sudo apt-get installは奇妙な結果を与えます

コードブロックをインストールしようとしていた!

これはSudo apt-get install libwxgtk2.8-devの後に私に与えるものです

Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 codeblocks:i386 : Depends: libatk1.0-0:i386 (>= 1.12.4) but it is not going to be installed
                   Depends: libc6:i386 (>= 2.4) but it is not going to be installed
                   Depends: libcairo2:i386 (>= 1.2.4) but it is not going to be installed
                   Depends: libfontconfig1:i386 (>= 2.9.0) but it is not going to be installed
                   Depends: libfreetype6:i386 (>= 2.2.1) but it is not going to be installed
                   Depends: libgcc1:i386 (>= 1:4.1.1) but it is not going to be installed
                   Depends: libgdk-pixbuf2.0-0:i386 (>= 2.22.0) but it is not going to be installed
                   Depends: libglib2.0-0:i386 (>= 2.12.0) but it is not going to be installed
                   Depends: libgtk2.0-0:i386 (>= 2.8.0) but it is not going to be installed
                   Depends: libpango1.0-0:i386 (>= 1.14.0) but it is not going to be installed
                   Depends: libstdc++6:i386 (>= 4.6) but it is not going to be installed
                   Depends: libwxbase2.8-0:i386 (>= 2.8.12.1) but it is not going to be installed
                   Depends: libwxgtk2.8-0:i386 (>= 2.8.12.1) but it is not going to be installed
                   Depends: codeblocks-common:i386 (= 13.12-1) but it is not installable
                   Recommends: gcc:i386 but it is not going to be installed or
                               g++:i386 but it is not going to be installed
                   Recommends: gdb:i386 but it is not going to be installed
 codeblocks-contrib:i386 : Depends: libatk1.0-0:i386 (>= 1.12.4) but it is not going to be installed
                           Depends: libbz2-1.0:i386 but it is not going to be installed
                           Depends: libc6:i386 (>= 2.4) but it is not going to be installed
                           Depends: libcairo2:i386 (>= 1.2.4) but it is not going to be installed
                           Depends: libfontconfig1:i386 (>= 2.9.0) but it is not going to be installed
                           Depends: libfreetype6:i386 (>= 2.2.1) but it is not going to be installed
                           Depends: libgamin0:i386 but it is not going to be installed
                           Depends: libgcc1:i386 (>= 1:4.1.1) but it is not going to be installed
                           Depends: libgdk-pixbuf2.0-0:i386 (>= 2.22.0) but it is not going to be installed
                           Depends: libglib2.0-0:i386 (>= 2.12.0) but it is not going to be installed
                           Depends: libgtk2.0-0:i386 (>= 2.8.0) but it is not going to be installed
                           Depends: libhunspell-1.3-0:i386 but it is not going to be installed
                           Depends: libpango1.0-0:i386 (>= 1.14.0) but it is not going to be installed
                           Depends: libstdc++6:i386 (>= 4.6) but it is not going to be installed
                           Depends: libwxbase2.8-0:i386 (>= 2.8.12.1) but it is not going to be installed
                           Depends: libwxgtk2.8-0:i386 (>= 2.8.12.1) but it is not going to be installed
                           Depends: libx11-6:i386 but it is not going to be installed
                           Depends: zlib1g:i386 (>= 1:1.2.3.3) but it is not going to be installed
                           Depends: codeblocks-contrib-common:i386 (= 13.12-1) but it is not installable
                           Recommends: valgrind:i386 but it is not going to be installed
                           Recommends: cppcheck:i386 but it is not going to be installed
                           Recommends: cscope:i386 but it is not going to be installed
                           Recommends: cccc:i386 but it is not going to be installed
 codeblocks-dev:i386 : Depends: codeblocks-headers:i386 (= 13.12-1) but it is not installable
 codeblocks-headers : Depends: codeblocks-dev (>= 13.12-1) but it is not going to be installed
                      Depends: codeblocks-dev (< 13.12-1.1~) but it is not going to be installed
 codeblocks-libwxcontrib0:i386 : Depends: libc6:i386 (>= 2.3.6-6~) but it is not going to be installed
                                 Depends: libgcc1:i386 (>= 1:4.1.1) but it is not going to be installed
                                 Depends: libstdc++6:i386 (>= 4.1.1) but it is not going to be installed
                                 Depends: libwxbase2.8-0:i386 (>= 2.8.12.1) but it is not going to be installed
                                 Depends: libwxgtk2.8-0:i386 (>= 2.8.12.1) but it is not going to be installed
                                 Depends: binutils:i386 (>= 2.14.90.0.7) but it is not going to be installed
 codeblocks-wxcontrib-headers : Depends: codeblocks-wxcontrib-dev (>= 13.12-1) but it is not installable
                                Depends: codeblocks-wxcontrib-dev (< 13.12-1.1~) but it is not installable
 libcodeblocks0:i386 : Depends: libc6:i386 (>= 2.11) but it is not going to be installed
                       Depends: libgcc1:i386 (>= 1:4.1.1) but it is not going to be installed
                       Depends: libstdc++6:i386 (>= 4.6) but it is not going to be installed
                       Depends: libwxbase2.8-0:i386 (>= 2.8.12.1) but it is not going to be installed
                       Depends: libwxgtk2.8-0:i386 (>= 2.8.12.1) but it is not going to be installed
                       Depends: binutils:i386 (>= 2.14.90.0.7) but it is not going to be installed
 libwxgtk2.8-dev : Depends: wx-common but it is not going to be installed
                   Depends: wx2.8-headers (= 2.8.12.1-14ubuntu1.1) but it is not going to be installed
                   Depends: libwxgtk2.8-0 (= 2.8.12.1-14ubuntu1.1) but it is not going to be installed
                   Depends: libwxbase2.8-dev (= 2.8.12.1-14ubuntu1.1) but it is not going to be installed
 libwxsmithlib0:i386 : Depends: libc6:i386 (>= 2.4) but it is not going to be installed
                       Depends: libgcc1:i386 (>= 1:4.1.1) but it is not going to be installed
                       Depends: libstdc++6:i386 (>= 4.1.1) but it is not going to be installed
                       Depends: libwxbase2.8-0:i386 (>= 2.8.12.1) but it is not going to be installed
                       Depends: libwxgtk2.8-0:i386 (>= 2.8.12.1) but it is not going to be installed
 wxsmith-headers : Depends: wxsmith-dev (>= 13.12-1) but it is not installable
                   Depends: wxsmith-dev (< 13.12-1.1~) but it is not installable
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

それらは正しくなく、すべてのパッケージでこれを提供し、ビルドの必需品を取得しようとした後に発生します!

編集:まだ満たされていない依存関係をネット全体で検索したコードブロックに対してこれを提供します!うまくいきませんでした!まだ何も修正できない他の2つの依存関係があります! libgcc1(> = 1:4.1.1)が1:4.8.1-10ubuntu9はcodeblocks-common(= 12.11-3)になりますが、13.12-1はインストールされます-再インストールしてみました!自動削除が機能しませんでした!

編集:私はここで結果を投稿するために-f isntallをもう一度試しました

一部のパッケージは、「apt-get autoremove」を使用して削除します。 0はアップグレードされ、0は新しくインストールされ、0は削除され、240はアップグレードされません。

私はまだコードをインストールできません:ブロック2依存

3
user3033693

実際に実行してみました:Sudo apt-get -f install?これにより、満たされていない依存関係をインストールすることにより、現在インストールされているパッケージが修正されます。

3
DavidG