From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, 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: 

US Angstrom feed does not work

Hi,

it seems that the base feed http://us.feeds.angstrom-distribution.org included in the file angstrom-base-feed.conf does not work. After you enabled it you get the following error on running opkg update command:

Downloading http://us.feeds.angstrom-distribution.org/feeds/next/ipk/eglibc/armv7a/base//Packages.gz.

wget: bad address 'us.feeds.angstrom-distribution.org'

Collected errors:

* opkg_download: Failed to download http://us.feeds.angstrom-distribution.org/feeds/next/ipk/eglibc/armv7a/base//Packages.gz, wget returned 1.

The workaround is to use this feed instead:

http://feeds.angstrom-distribution.org/feeds/next/ipk/eglibc/armv7a/base/

so change the content of the file to have something like this

# To enable opkg repo feeds, uncomment the following lines.

src/gz angstrom-base http://feeds.angstrom-distribution.org/feeds/next/ipk/eglibc/armv7a/base/

Hopet this helps

Fabio

Fabio M.
NI
Principal Engineer
0 Kudos
Message 1 of 9
(13,012 Views)

Thanks Chuck_81, as a note this can be solved with a handy one-liner:

sed -i 's#http://us.feeds.#http://feeds.#' /etc/opkg/angstrom*.conf

(Explaination: use the stream editor "sed" to edit, inline, files that match the globbing pattern /etc/opkg/angstrom*.conf. In those files, find "http://us.feeds." and replace it with "http://feeds.")

0 Kudos
Message 2 of 9
(6,203 Views)

Fabio,

This is the URL in my /etc/opkg/angstrom-base-feed.conf file:

    http://us.feeds.angstrom-distribution.org/feeds/next/ipk/eglibc/armv7a/base/

I have not had any issues iwth it.  What version of the firmware/os does NiMAX report for your 9068?

My configuration:

Firmware Revision: 1.0.0f0

Operating System: NI Real-Time Linux-ARMv7-A 3.2.35-rt52-1.0.0f1

I have not had any issues with any of the files within the /etc/opkg/ directory not being acurate.  Is it possible this is an issue with your network configuration?  Are you outside of the US?

-TD

0 Kudos
Message 3 of 9
(6,203 Views)

Hi TD,

yes, I've got the same OS version as the one you posted, but the firmware is 1.0.0.f1. Also the url is the same (I didn't write the complete url in my first post).

I'm outside US (Italy) and I cannot even ping the "us" URL, while I can ping the other URL without the us prefix.

Regards

Fabio

Fabio M.
NI
Principal Engineer
0 Kudos
Message 4 of 9
(6,203 Views)

So after I posted my response, I thought it would be wise for me to actually try and pull something down.  I have had the unit for about a month and a half, and have been using it with out issue to pull multiple packages from the URL that shipped with the unit.  I tried today and it gave me the same error you posted.  I would imagine this is a change by the folks over at angstrom, and is independant from NI.

A quick google search and review of their github repos didn't return anything obvious.  I have sent an email to the mailing list to see if we can get more details.

Thank's for posting this Fabio - It would have been quite the headache I am sure if I came across this blind.

-TD

0 Kudos
Message 5 of 9
(6,203 Views)

According to http://www.angstrom-distribution.org/, the main site is down.  It is likely that they are undergoing maintenance and part of that might be the US repos for packages.

| Zach J. | Systems Engineer, HIL and Test Cells | National Instruments |
0 Kudos
Message 6 of 9
(6,203 Views)

BluesKnight,

I didn't even notice that statement on the main site, great catch!

-TD

0 Kudos
Message 7 of 9
(6,203 Views)

Has anyone had luck finding the new link to this:

http://feeds.angstrom-distribution.org/feeds/next/ipk/eglibc/armv7a/base/

Thanks,

R

0 Kudos
Message 8 of 9
(6,203 Views)

dest2ko,

The primary issue is that most of the feeds that you can find out there either don't work well with the older software versions on 2013(sp1) or are hard-float (and won't work at all).

You could try pointing to the NI 2014 feeds, but that's certainly off the path, so it's caveat emptor.

0 Kudos
Message 9 of 9
(6,203 Views)