web-dev-qa-db-ja.com

UnityとUbuntuデスクトップが消え、再インストールできません!

Ubuntu 13.04を実行しています。通常のアップグレードを実行した後、Unityは消えました(ログイン後、デスクトップが表示され、起動abdステータスバー、ダッシュなしなどがありません)。

Ubuntu-desktopを再インストールしようとすると、満たされていない依存関係が得られます。

vmalep@x220t:/mnt/sda2/home/vmalep$ Sudo apt-get install
ubuntu-desktop    Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution  that some required packages have not yet been created or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies.
ubuntu-desktop : Depends: unity but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Unityはもう少し明確です。

vmalep@x220t:/mnt/sda2/home/vmalep$ Sudo apt-get install unity
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies.
unity : Depends: libunity-core-6.0-5 (= 7.0.0daily13.04.18~13.04-0ubuntu1) but it is not going to be installed
  Depends: unity-common (= 7.0.0daily13.04.18~13.04-0ubuntu1) but 7.0.0daily13.05.16ubuntu.unity.experimental.certified-0ubuntu1 is to be installed
  Recommends: gnome-control-center-unity but it is not going to be installed
  Recommends: unity-lens-friends but it is not going to be installed
  Recommends: unity-lens-shopping but it is not going to be installed
  Recommends: indicator-bluetooth but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
6
vmalep

これらのコマンドを試してください:

Sudo apt-get install --reinstall ubuntu-desktop
Sudo apt-get build-dep ubuntu-desktop

これにより、Ubuntuデスクトップが再インストールされ、依存関係が構築されます。

お役に立てれば。

1
LeinardoSmtih

出力は、Unityが依存するパッケージよりも新しいパッケージがあることを示しています。

unity : Depends: libunity-core-6.0-5 (= 7.0.0daily13.04.18~13.04-0ubuntu1)  

最も可能性が高いのはPPAです。追加した最新のppaを確認し、ppa-purgeで削除します。

0
desgua

Unityをインストールするには、最初にsypnaticパッケージマネージャーを使用してすべてのRecommendedを1つずつインストールする必要があります。 sypnaticパッケージマネージャーで、gnome-control-center-unity、unity-lens-friends、およびその他すべての推奨事項を検索します。すべてをインストールしたら、以前と同じようにUnityをインストールしてください。Unityはインストールされます。

0
Ashok