종속성이 충족되지 않아 Debian 7에 로케일을 설치할 수 없습니다.

종속성이 충족되지 않아 Debian 7에 로케일을 설치할 수 없습니다.

그래서 source.list에 wheezy-backport를 포함하는 대신 jessie를 직접 추가했습니다. 내 실수를 깨닫고 apt-get 업데이트/업그레이드를 중간에 중단한 다음 source.list를 재설정하여 쌕쌕거림을 내고 실행했습니다.이것명령 목록. 하지만 시도하면 sudo apt-get install locales이런 일이 발생합니다.

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:
 base-files : PreDepends: awk
 erlang-crypto : Depends: libssl1.0.0 (>= 1.0.0) but it is not going to be installed
 libc6 : Depends: libgcc1 but it is not going to be installed
         Recommends: libc6-i686 but it is not going to be installed
         Breaks: locales (< 2.19)
 libncurses5 : PreDepends: multiarch-support but it is not going to be installed
               Recommends: libgpm2 but it is not going to be installed
 libtinfo5 : PreDepends: multiarch-support but it is not going to be installed
 locales : Depends: glibc-2.13-1
           Depends: debconf (>= 0.5) but it is not going to be installed or
                    debconf-2.0
 procps : Depends: libncursesw5 (>= 5.6+20070908) but it is not going to be installed
          Depends: libprocps0 (>= 1:3.3.2-1) but it is not going to be installed
          Depends: initscripts but it is not going to be installed
          Recommends: psmisc but it is not going to be installed
 zlib1g : PreDepends: multiarch-support but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

이러한 종속성을 해결하는 방법은 무엇입니까?

답변1

성공적으로 설치하는 가장 좋은 방법은 누락된 종속성을 확인하는 것입니다.

a) 우분투 웹사이트에서 찾아서 올바르게 설치하세요. b) 원래 apt-get install {package} 명령을 실행해 보십시오.

"sudo apt-get -f install"을 시도하면 처음에 강제로 설치하고 나중에는 비생산적이 되기 때문에 문제가 발생합니다.

관련 정보