[Errno 2] No such file or directory: 'apt-key'

Asked by Adnan Rashid on 2019-09-23

Hi Support team,

I was installing RIOT os on ubuntu vmware. you can find the manual on below link.
https://github.com/RIOT-OS/RIOT/wiki/Howto:-Create-a-VirtualBox-Image-for-RIOT-development

At section 6, I did something which I am not able to resolve the subject error. and tell me how to install codesourcey. I am not getting their these following steps

"CodeSourcery 2013.11 toolchain for ARM7:

goto sudo add-apt-repository ppa:team-gcc-arm-embedded/ppa and download the linux intaller for the codesourcery 2013.11 arm-none-eabi-gcc
execute binary and follow instructions of graphical installer"

Please help

Question information

Language:
English Edit question
Status:
Answered
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Last query:
2019-09-24
Last reply:
2019-09-24
Manfred Hampl (m-hampl) said : #1

For diagnostic purposes please provide the output that you receive for the commands

uname -a
lsb_release -crid
apt-cache policy apt software-properties-common

Adnan Rashid (adnanrashidpk) said : #2

Hi Hampl/Team,

Due to unforeseen circumstances, I reinstalled the ubuntu in VMware. But
again I am stuck to follow their instructions at step 6.

Please explain to me how to proceed with the second section of step 6 (
https://github.com/RIOT-OS/RIOT/wiki/Howto:-Create-a-VirtualBox-Image-for-RIOT-development
).
Your Prompt reply will be highly appreciated.

CodeSourcery 2013.11 toolchain for ARM7:

   - goto sudo add-apt-repository ppa:team-gcc-arm-embedded/ppa and
   download the Linux installer for the codesourcery 2013.11
arm-none-eabi-gcc [How
   can I go to PPA directory? How this step will be accomplished ]
   - execute binary and follow instructions of the graphical installer

MSP430 toolchain, install the following packages:

   - gcc-msp430
   - gdb-msp430
   - msp430-libc
   - mspdebug

On Mon, Sep 23, 2019 at 9:22 PM Manfred Hampl <
<email address hidden>> wrote:

> Your question #684166 on Launchpad itself changed:
> https://answers.launchpad.net/launchpad/+question/684166
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> For diagnostic purposes please provide the output that you receive for
> the commands
>
> uname -a
> lsb_release -crid
> apt-cache policy apt software-properties-common
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/launchpad/+question/684166
>
> You received this question notification because you asked the question.
>

--

Saluti,

ADNAN RASHID (Ph.D. Research Scholar)
Dpt. Ingegneria dell'Informazione
Università di Firenze

via di S. Marta 3
50139, Firenze-Italia

email: <email address hidden> <email address hidden>

Cell: (+39) 347 9821467

Skype: adnanrashidpk
---------------------------------------------------------------------------------------------------

Manfred Hampl (m-hampl) said : #3

This is not a problem with Ubuntu-provided packages, but with foreign software.

You probably better ask the providers of RIOT.

In my opinion the given instructions are not correct any more. Currently the ppa:team-gcc-arm-embedded/ppa repository does not contain any software. This makes step 6 partly obsolete. I assume that the only part that is still valid is "sudo apt-get install gcc-arm-none-eabi"

Can you help with this problem?

Provide an answer of your own, or ask Adnan Rashid for more information if necessary.

To post a message you must log in.