満たされていない依存関係とサブプロセス /usr/bin/dpkg が DEBIAN でエラー コード (1) を返しました

満たされていない依存関係とサブプロセス /usr/bin/dpkg が DEBIAN でエラー コード (1) を返しました

VMのDebianにデスクトップ環境をインストールしようとしています

ノーム:

  apt-get install gnome-desktop-environment

エラーが発生します:

 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:
 gnome-desktop-environment : Depends: gnome(>=1:3.4+7+deb7u1) but it is not going to be installed 
 liblouis2 : Depends: liblouis-data but it is not going to be installed 
 python-pyatspi2 : Depends: python-pyatspi(=2.5.3+dfsg-3) but it is not going to be installed 
 tracker-gui: Depends: tracker(=0.14.1-3) but it is not going to be installed 
 E:Unmet dependencies. Try apt-get install with no packages(or specify a solution).

次にこのコードを試しました

apt-get -f install 

処理中にエラーが発生しました

   /var/cache/apt/archives/tracker_0.14.1-3_amd64.deb
   /var/cache/apt/archives/liblouis-data_2.4.1-1_all.deb
   /var/cache/apt/archives/libatk-adapter_2.5.3-2_amd64.deb
   /var/cache/apt/archives/libgail-common_2.24.10-2_amd64.deb
   /var/cache/apt/archives/python-pyatspi_2.5.3+dfsg-3_all.deb
 E: sub-process /usr/bin/dpkg returned an error code(1) 

また、以下のコードも試しましたが失敗しました

     # apt-get install aptitude tasksel
     # tasksel install gnome-desktop --new-install

答え1

以下のコマンドを使用してデバイスのスペースを増やします

# lvextend -L10G /dev/mapper/vg0-usr
# resize2fs /dev/mapper/vg0-usr

その後、私は実行します

# apt-get install aptitude tasksel
# tasksel install gnome-desktop --new-install

正常に実行されました

関連情報