From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

NI Linux Real-Time Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Unknown package 'gcc'

Solved!
Go to solution

Hi I was following this FAQ https://decibel.ni.com/content/docs/DOC-35053

And when attempting:

     opkg install gcc gcc-symlinks

I get these errors:

Unknown package 'gcc'.

Unknown package 'gcc-symlinks'.

Collected errors:

* opkg_install_cmd: Cannot install package gcc.

* opkg_install_cmd: Cannot install package gcc-symlinks.

opkg update and opkg upgrade work, but do not return any information, and do not solve the above errors. Any ideas?

Note i am able to ping www.google.com so I dont think its my network.

0 Kudos
Message 1 of 5
(5,888 Views)

Do you have an Internet connection on Linux device.

0 Kudos
Message 2 of 5
(4,167 Views)

Firstly, welcome adamAlias132132

Now, are you using a 2013(sp1) or 2014 OS image on the controller? Post the results of uname -a if you're not sure.

Secondly, just a quick check, but did you run opkg update first prior to attempting to install software through opkg?

Message 3 of 5
(4,167 Views)

No, I did not run opkg update first before installing some software through opkg, could that cause this issue?

Results of uname -a:

3.2.35-rt52-1.0.0f1 #1 SMP PREEMPT RT Wed Jun 12 09:5        

7:26 CDT 2013 armv7l GNU/Linux

0 Kudos
Message 4 of 5
(4,167 Views)
Solution
Accepted by topic author adamAlias132132

Ah, I see the problem. You are using 2013 and have not enabled the package manager feeds. Go into the files /etc/opkg/angstrom-*-feed.conf and uncomment the feed URL lines (remove the "#" and any leading spaces), rerun opkg update, and try to install those packages again.

0 Kudos
Message 5 of 5
(4,167 Views)