ターミナルからアプリをインストール中にエラーが発生しました

ターミナルからアプリをインストール中にエラーが発生しました

ここには多くのマスターがいます。ターミナル経由でソフトウェアをインストールしているときに問題が発生しました。たとえば、コードを使用して wine をインストールしたいのですsudo apt-get install wineが、ターミナルには次のように表示されます。

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:
 shotwell : Depends: shotwell-common (= 0.18.0-0ubuntu4) but 0.18.0-0ubuntu4.2 is to be installed
 wine : Depends: wine1.6 but it is not going to be installed or
                 wine1.7 but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

誰か私を助けてくれませんか?マスターの皆さん、本当にありがとうございます。

答え1

壊れた荷物があります。

$ sudo aptitude -f installまず実行して修正してからインストールに進みますワイン

しかし、個人的にはプレイオンラインでは、wine のバージョンなどを自動的に処理し、アプリを異なる wineprefixes で保持するので、煩雑さが軽減されます。

関連情報