-2
sudo apt-get -f install
というコマンドを実行しようとしたときに、次のエラーが発生しました。私はUbuntu 16.04を使用しています。未対応の依存関係を埋めるエラー
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
libpython2.7-stdlib:i386
The following NEW packages will be installed:
libpython2.7-stdlib:i386
0 upgraded, 1 newly installed, 0 to remove and 14 not upgraded.
13 not fully installed or removed.
Need to get 0 B/1,903 kB of archives.
After this operation, 8,870 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 225635 files and directories currently installed.)
Preparing to unpack .../libpython2.7-stdlib_2.7.12-1ubuntu0~16.04.1_i386.deb ...
Unpacking libpython2.7-stdlib:i386 (2.7.12-1ubuntu0~16.04.1) ...
dpkg: error processing archive /var/cache/apt/archives/libpython2.7-stdlib_2.7.12-1ubuntu0~16.04.1_i386.deb (--unpack):
trying to overwrite shared '/usr/lib/python2.7/gettext.py', which is different from other instances of package libpython2.7-stdlib:i386
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/libpython2.7-stdlib_2.7.12-1ubuntu0~16.04.1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
、libpython2.7-stdlib_2.7.12-1ubuntu0〜16.04.1_i386.debそれのエラーの原因となったが、私はグーグルにクロールした後に、この問題を解決する方法がわからないです。 あなたが私を助けることができれば、非常に感謝しています。 事前にお手数をおかけしていただきありがとうございます。
。 は、パッケージリストを読む...状態情報を読み取る ビルの依存関係ツリー を完了...完了 あなたはこれらを修正するには「apt-getの-fインストール」を実行することをお勧めします。 libpython-stdlib:i386:依存:libpython2.7-stdlib:i386(> = 2.7.11-1〜)しかしインストールされていません python2.7:i386:依存する:libpython2。 7-STDLIB:I386(〜16.04.1 = 2.7.12-1ubuntu0)それは がインストールされていません(その長すぎるので、警告を省略) E:未解決の依存関係。 -fを使ってみてください。 私が直面したのは実際にはオリジナルの問題です。 – HK1988