방금 랩톱에 Ubuntu Mate 15.10을 새로 설치했는데 현재 "빌드 필수"를 설치해야합니다. 나는 달렸다 :
sudo apt-get install build-essential
이 오류가 발생했습니다.
daniel@daniel-VGN-NR230FE:~$ sudo apt-get install build-essential
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:
build-essential : Depends: libc6-dev but it is not going to be installed or
libc-dev
Depends: g++ (>= 4:5.2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
이것과 관련이 있는지는 모르겠지만 설치하는 동안 일부 패키지를 건너 뛰었습니다. 설치하는 데 시간이 오래 걸리므로 (300 분 정도).
빌드 필수 작업을 수행하기 전에 Software Updater 및 불완전한 언어 팩을 통해 사용할 수있는 모든 업데이트를 설치했지만 다시이 오류가 발생했습니다.
배포판의 main
소스가 활성화되어 있는지 확인하는 것으로 시작 합니다 wily
. 15.10이면 코드 이름은 .
sources
파일 열기 :
$sudo gedit /etc/apt/sources.list
다음 행을 찾아 주석 처리를 제거 하고 파일을 저장하십시오.
###### Ubuntu Main Repos
deb http://us.archive.ubuntu.com/ubuntu/ wily main
deb-src http://us.archive.ubuntu.com/ubuntu/ wily main
###### Ubuntu Update Repos
deb http://us.archive.ubuntu.com/ubuntu/ wily-security main
deb http://us.archive.ubuntu.com/ubuntu/ wily-updates main
deb-src http://us.archive.ubuntu.com/ubuntu/ wily-security main
deb-src http://us.archive.ubuntu.com/ubuntu/ wily-updates main
소스 업데이트 및 설치 재시도 :
$sudo apt-get update
sudo apt-get install build-essential
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다