E: Version for 'gcc-arm-none-eabi' was not found

Asked by Alex Elkman

Following steps 1-4 on the guide (https://launchpad.net/~terry.guo/+archive/ubuntu/gcc-arm-embedded), running Ubuntu 14.04

Get the following error:

odroid@odroid:~/GitHub/ardupilot$ sudo apt-get install gcc-arm-none-eabi=4.9.3.2015q1-0trusty13
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Version '4.9.3.2015q1-0trusty13' for 'gcc-arm-none-eabi' was not found

Same error when trying the other utopic install.
Resolution?

Question information

Language:
English Edit question
Status:
Expired
For:
GNU Arm Embedded Toolchain Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Thomas Preud'homme (thomas-preudhomme) said :
#1

Hi Alex,

Please install one of:
gcc-arm-none-eabi=4.9.3.2015q2-1trusty1
gcc-arm-none-eabi=4.9.3.2015q2-1utopic1
gcc-arm-none-eabi=4.9.3.2015q2-1vivid1

We will update the page promptly.

Best regards,

Thomas

Revision history for this message
Alex Elkman (aelkman) said :
#2

Still no success (for any):

odroid@odroid:~/GitHub/ardupilot$ sudo apt-get install gcc-arm-none-eabi=4.9.3.2015q2-1utopic1
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Version '4.9.3.2015q2-1utopic1' for 'gcc-arm-none-eabi' was not found

Revision history for this message
Thomas Preud'homme (thomas-preudhomme) said :
#3

Hi Alex,

Can you show us the output of running apt-cache policy gcc-arm-none-eabi?

Best regards.

Revision history for this message
Alex Elkman (aelkman) said :
#4

Hey, thanks for the reply! Here you go:

odroid@odroid:~/GitHub/ardupilot/ArduCopter$ apt-cache policy gcc-arm-none-eabi
gcc-arm-none-eabi:
  Installed: (none)
  Candidate: 4.8.2-14ubuntu1+6
  Version table:
     4.8.2-14ubuntu1+6 0
        500 http://ports.ubuntu.com/ubuntu-ports/ trusty/universe armhf Packages
        100 /var/lib/dpkg/status
     4-8-2014q2-0trusty10 0
        500 http://ppa.launchpad.net/terry.guo/gcc-arm-embedded/ubuntu/ trusty/main armhf Packages

Revision history for this message
Thomas Preud'homme (thomas-preudhomme) said :
#5

Hi Alex,

Unfortunately PPA system does not build packages for armhf by default (how ironic I know) which is why the package is not available to you.

Best regards,

Thomas

Revision history for this message
Alex Elkman (aelkman) said :
#6

That doesn't make any sense. Would there be any way to get the newest version of gcc-arm-none-eabi for my Ubuntu device?

I really need it to continue on a project.

Revision history for this message
Launchpad Janitor (janitor) said :
#7

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Thomas Preud'homme (thomas-preudhomme) said :
#8

Hi Alex,

I investigated this further and the actual problem is that the toolchain takes a long time to build on ARM and the PPA terms of service ask to not build on a machine for more than 30 minutes. I'll see if we can have an exception and will report back to you.

Best regards.

Revision history for this message
Alex Elkman (aelkman) said :
#9

Hey Thomas,

I recently found out that I don't need to use this on my Odroid, so you don't need to worry about the issue.

I was confused about which gcc build it needed, and it turns out that this wasn't the right one.

Thanks again for all your help.

Revision history for this message
Rob Moran (ubuntu-0l) said :
#10

I am having the same problem, albeit with 4.9.3.2015q2-1trusty1 as it seems a newer version is now available (4.9.3.2015q3-1trusty1).

We'd prefer to not chase down any newer versions and avoid install errors in our scripts, so is there a way to always point at the latest release -or- continue to host older versions?

Cheers,

Rob

Revision history for this message
Thomas Preud'homme (thomas-preudhomme) said :
#11

Hi Rob,

What is the output of dpkg --print-architecture? If it is i386 or amd64, can you show the output of apt-cache policy gcc-arm-none-eabi?

Best regards.

Revision history for this message
Tristan (tris-robinson90) said :
#12

Hi Thomas, I'm also having the same issue. dpkg... outputs amd64 and this is the results of apt-cache...

  Installed: (none)
  Candidate: 4.9.3.2015q3-1trusty1
  Version table:
     4.9.3.2015q3-1trusty1 0
        500 http://ppa.launchpad.net/terry.guo/gcc-arm-embedded/ubuntu/ trusty/main amd64 Packages
     4.8.2-14ubuntu1+6 0
        500 http://gb.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages

Any help would be greatly appreciated.

Revision history for this message
Thomas Preud'homme (thomas-preudhomme) said :
#13

Hi Tristan,

What is the problem exactly then? 4.9.3.2015q3-1trusty1 is the latest version available. You should be able to install it with apt-get install gcc-arm-none-eabi=4.9.3.2015q3-1trusty1

Best regards,

Thomas