방금 최근 arduino를 구입했으며 소프트웨어를 컴파일하려면 gcc-avr / avrdude가 필요합니다. 얼마 전에 다른 마이크로 프로세서 구성 요소에 avr을 설치했지만 분명히 오래된 버전 (gcc 버전 3.3 20030512 (시험판))이므로 계속 업데이트했지만 작동하지 않았습니다.
(이전에 사전에 불완전한 와인 설치 (글꼴 설치 계약을 통과하지 못함)를 통해 앱 테몬을 깨뜨 렸지만 다시 설치하여 계약을 수락 한 것을 수정했습니다.)
빙고의 빌드 스크립트 를 실행하여 업데이트하려고 하지만 avr로 인해 필요한 종속성을 설치할 수 없습니다 ... 터미널 보고서
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version.
libncurses5-dev is already the newest version.
libncurses5-dev set to manually installed.
libusb-0.1-4 is already the newest version.
libx11-dev is already the newest version.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
arduino-core : Depends: gcc-avr but it is not going to be installed
avr-libc : Depends: gcc-avr (>= 1:4.3.4) but it is not going to be installed
Depends: binutils-avr (>= 2.20) but it is not going to be installed
binutils-dev : Depends: binutils (= 2.21.0.20110327-2ubuntu3) but 2.21.0.20110327-2ubuntu2 is to be installed
libcwidget-dev : Depends: libcwidget3 (= 0.5.16-3ubuntu2) but it is not going to be installed
Depends: libsigc++-2.0-dev but it is not going to be installed
Depends: libncursesw5-dev but it is not going to be installed
libmpfr-dev : Depends: libgmp3-dev (>= 4.2.dfsg-1) but it is not going to be installed
python-dev : Depends: python (= 2.7.1-0ubuntu5.1) but 2.7.1-0ubuntu5 is to be installed
Depends: python2.7-dev (>= 2.7.1-1~) but it is not going to be installed
tk8.4-dev : Depends: tk8.4 (= 8.4.19-4) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
그러나 달리기
apt-get -f install
결과
(Reading database ... 163021 files and directories currently installed.)
Unpacking binutils-avr (from .../binutils-avr_2.20.1-1ubuntu2_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/binutils-avr_2.20.1-1ubuntu2_i386.deb (--unpack):
trying to overwrite '/usr/bin/avr-size', which is also in package avr-binutils 2.13.90.030512-2
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Unpacking gcc-avr (from .../gcc-avr_1%3a4.3.5-1_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/gcc-avr_1%3a4.3.5-1_i386.deb (--unpack):
trying to overwrite '/usr/bin/avr-g++', which is also in package avr-gcc-c++ 3.2.90.20030512-2
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/binutils-avr_2.20.1-1ubuntu2_i386.deb
/var/cache/apt/archives/gcc-avr_1%3a4.3.5-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
업데이트 관리자를 실행하고 시스템을 통해 시스템을 업데이트하려고했지만 오류 메시지 만 있습니다.
The following packages have unmet dependencies:
arduino-core: Depends: gcc-avr but it is not installed
avr-libc: Depends: gcc-avr (>= 1:4.3.4) but it is not installed
Depends: binutils-avr (>= 2.20) but it is not installed
그런 다음 apt-get -f install을 실행 해 보도록 지시합니다. 이는 마지막 시간과 동일합니다.
그래서 어떻게 시스템을 고칠 수 있습니까? 정말로 새로운 avr이 필요합니다. :) BTW, 내 시스템은 Ubuntu 11.04입니다.
libboost
). 어떤 대답도 나를 위해 일하지 않았습니다.