Saya baru saja membeli Arduino dan membutuhkan gcc-avr / avrdude untuk mengkompilasi perangkat lunak. Saya menginstal avr untuk komponen mikroprosesor lain beberapa waktu yang lalu, tetapi jelas merupakan versi yang sudah ketinggalan zaman (versi gcc 3.3 20030512 (prerelease)) jadi saya melanjutkan untuk memperbarui ini tetapi tidak berhasil.
(Harap dicatat bahwa sebelumnya saya juga memecahkan aptdaemon saya melalui instalasi anggur yang tidak lengkap (tidak dapat melewati perjanjian instalasi font) tetapi saya memperbaikinya melalui instalasi ulang kemudian menerima perjanjian.)
Saya mencoba memperbarui ini dengan menjalankan skrip bingo tetapi dependensi yang diperlukan tidak dapat diinstal karena avr ... laporan terminal
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).
Tapi berlari
apt-get -f install
hasil dalam
(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)
Saya telah mencoba menjalankan pembaruan manajer dan memperbarui sistem saya melalui itu tetapi yang saya dapatkan hanyalah pesan kesalahan
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
yang kemudian memberitahu saya untuk mencoba menjalankan apt-get -f install yang hasilnya sama seperti terakhir kali.
Jadi bagaimana saya bisa memperbaiki sistem saya, saya benar-benar membutuhkan avr baru, tolong :) BTW, sistem saya adalah Ubuntu 11.04
libboost
). Tidak ada jawaban yang cocok untuk saya.