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
성공적으로 실행됨