2017-11-23 35 views
1

나는 실행할 때마다 apt-get을 나는이 오류를apt-get은 종속성을 파괴하기 때문에 아무것도 설치할 수 없습니다

➜ ~ sudo apt-get install clang-5.0 

Reading package lists... Done 

Building dependency tree  

Reading state information... Done 

You might want to run 'apt --fix-broken install' to correct these. 

The following packages have unmet dependencies: 

gcc-7-multilib : Depends: libc6-dev-i386 (>= 2.11) but it is not going to be installed 

libc6-dev-x32 : Depends: libc6-dev-i386 (= 2.25-2) but it is not going to be installed 

E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution). 

를 얻을 내가 sudo를 실행할 때 --fix 깨진 내가 할 적절한 설치하는 패키지에 대한 설치를 이 오류

Unpacking libc6-dev-i386 (2.25-2) ... 

dpkg: error processing archive /var/cache/apt/archives/libc6-dev-i386_2.25-2_amd64.deb (--unpack): 
trying to overwrite '/usr/include/bits', which is also in package libc6-dev-amd64:i386 2.25-2 

Errors were encountered while processing: 

/var/cache/apt/archives/libc6-dev-i386_2.25-2_amd64.deb 

E: Sub-process /usr/bin/dpkg returned an error code (1) 
+0

첫 번째 조언은 'aptitude' 명령을 시도하면 자동으로 해결책을 찾으려고 시도합니다. –

+0

'cat/etc/apt/souces.list'와'cat/etc/apt/sources.list.d/*'의 결과는 무엇입니까? – GAD3R

답변

1

내가 먼저 -r으로 libc6-DEV-I386에게 dpkg를

는 sudo를 실행하여 고정 n을 실행하여 sudo apt-get libc6-dev-i386을 설치하십시오.