Community
cancel
Showing results for 
Search instead for 
Did you mean: 
idata
Community Manager
1,462 Views

opkg install mraa, upm fails due to 403 Forbidden for libstdc++6_4.9.1-r0

After updating my Edison to the latest firmware (iot-devkit-prof-dev-image-edison-20160606-patch), and adding some opkg repo feeds to /etc/opkg, I am seeing an error when trying to install the upm or mraa packages. There appears to be a particular file on the core2-32 repo that is returning a 403 error when wget tries to download it (hence exit status 8 "Server issued an error response")

# opkg install mraa Installing mraa (1.0.0-r0) on root.

Downloading http://repo.opkg.net/edison/repo/core2-32/mraa_1.0.0-r0_core2-32.ipk.

Installing libstdc++6 (4.9.1-r0.0) on root.

Downloading http://iotdk.intel.com/repos/2.0/iotdk/core2-32/libstdc++6_4.9.1-r0.0_core2-32.ipk.

Collected errors:

* opkg_download: Failed to download http://iotdk.intel.com/repos/2.0/iotdk/core2-32/libstdc++6_4.9.1-r0.0_core2-32.ipk, wget returned 8.

* opkg_install_pkg: Failed to download libstdc++6. Perhaps you need to run 'opkg update'?

* opkg_install_cmd: Cannot install package mraa.

The same issue happens with upm:

# opkg install upm Installing upm (0.7.0-r0) on root.

Downloading http://repo.opkg.net/edison/repo/core2-32/upm_0.7.0-r0_core2-32.ipk.

package libtinfo5 suggests installing ncurses-terminfo

Installing libgcc1 (4.9.1-r0.0) on root. Downloading http://iotdk.intel.com/repos/2.0/iotdk/core2-32/libgcc1_4.9.1-r0.0_core2-32.ipk.

Installing libc6 (2.20-r0) on root.

Downloading http://repo.opkg.net/edison/repo/core2-32/libc6_2.20-r0_core2-32.ipk.

Upgrading libc6 from 2.20-r0 to 2.20-r0.0 on root.

Downloading http://iotdk.intel.com/repos/2.0/iotdk/core2-32/libc6_2.20-r0.0_core2-32.ipk.

Installing libpython2.7-1.0 (2.7.3-r0.3.0) on root.

Downloading http://iotdk.intel.com/repos/2.0/iotdk/core2-32/libpython2.7-1.0_2.7.3-r0.3.0_core2-32.ipk.

Installing python-core (2.7.3-r0.3.0) on root.

Downloading http://iotdk.intel.com/repos/2.0/iotdk/core2-32/python-core_2.7.3-r0.3.0_core2-32.ipk.

Installing python-re (2.7.3-r0.3) on root.

Downloading http://repo.opkg.net/edison/repo/core2-32/python-re_2.7.3-r0.3_core2-32.ipk.

Installing python-core (2.7.3-r0.3) on root.

Downloading http://repo.opkg.net/edison/repo/core2-32/python-core_2.7.3-r0.3_core2-32.ipk.

Installing python-re (2.7.3-r0.3) on root.

Breaking circular dependency on python-re for python-core.

Installing libz1 (1.2.8-r0) on root.

Downloading http://repo.opkg.net/edison/repo/core2-32/libz1_1.2.8-r0_core2-32.ipk.

Installing python-lang (2.7.3-r0.3) on root.

Downloading http://repo.opkg.net/edison/repo/core2-32/python-lang_2.7.3-r0.3_core2-32.ipk.

Installing python-core (2.7.3-r0.3) on root.

Breaking circular dependency on python-core for python-re.

Breaking circular dependency on python-core for libz1.

Breaking circular dependency on python-core for python-lang.

Upgrading python-re from 2.7.3-r0.3 to 2.7.3-r0.3.0 on root.

Downloading <a class="jive-link-external-small" href="http...

0 Kudos
4 Replies
Pablo_M_Intel
Employee
84 Views

Hi jcuzella,

Thank you for contacting us.

Taking a look at the error messages you're getting when trying to download mraa and upm with opkg, I see that you get a prompt saying "Perhaps you need to run opkg update?", have you tried that already? Also, which image were you using before updating to the latest?

Regards,

-Pablo

idata
Community Manager
84 Views

Yes, I did try that last night, along with removing the opkg cache directory and retrying:

# opkg update

Downloading http://repo.opkg.net/edison/repo/all/Packages.gz.

Inflating http://repo.opkg.net/edison/repo/all/Packages.gz.

Updated list of available packages in /var/lib/opkg/alext-all.

Downloading http://repo.opkg.net/edison/repo/edison/Packages.gz.

Inflating http://repo.opkg.net/edison/repo/edison/Packages.gz.

Updated list of available packages in /var/lib/opkg/alext-edison.

Downloading http://repo.opkg.net/edison/repo/core2-32/Packages.gz.

Inflating http://repo.opkg.net/edison/repo/core2-32/Packages.gz.

Updated list of available packages in /var/lib/opkg/alext-core2-32.

Downloading http://iotdk.intel.com/repos/2.0/iotdk/all/Packages.gz.

Inflating http://iotdk.intel.com/repos/2.0/iotdk/all/Packages.gz.

Updated list of available packages in /var/lib/opkg/all.

Downloading http://iotdk.intel.com/repos/2.0/iotdk/x86/Packages.gz.

Inflating http://iotdk.intel.com/repos/2.0/iotdk/x86/Packages.gz.

Updated list of available packages in /var/lib/opkg/x86.

Downloading http://iotdk.intel.com/repos/2.0/iotdk/i586/Packages.gz.

Inflating http://iotdk.intel.com/repos/2.0/iotdk/i586/Packages.gz.

Updated list of available packages in /var/lib/opkg/i586.

Downloading http://iotdk.intel.com/repos/2.0/iotdk/core2-32/Packages.gz.

Inflating http://iotdk.intel.com/repos/2.0/iotdk/core2-32/Packages.gz.

Updated list of available packages in /var/lib/opkg/core2-32.

Downloading http://iotdk.intel.com/repos/2.0/intelgalactic/Packages.

Updated list of available packages in /var/lib/opkg/iotkit.

# opkg install mraa

Installing mraa (1.0.0-r0) on root.

Downloading http://repo.opkg.net/edison/repo/core2-32/mraa_1.0.0-r0_core2-32.ipk.

Installing libstdc++6 (4.9.1-r0.0) on root.

Downloading http://iotdk.intel.com/repos/2.0/iotdk/core2-32/libstdc++6_4.9.1-r0.0_core2-32.ipk.

Collected errors:

* opkg_download: Failed to download http://iotdk.intel.com/repos/2.0/iotdk/core2-32/libstdc++6_4.9.1-r0.0_core2-32.ipk, wget returned 8.

* opkg_install_pkg: Failed to download libstdc++6. Perhaps you need to run 'opkg update'?

* opkg_install_cmd: Cannot install package mraa.

# opkg install upm

Installing upm (0.7.0-r0) on root.

Downloading <a class="jive-link-external-small" href="https://co...

idata
Community Manager
84 Views

Update: I was able to retry just now and it appears that the problem must have been fixed!

# opkg update

Downloading http://repo.opkg.net/edison/repo/all/Packages.gz.

Inflating http://repo.opkg.net/edison/repo/all/Packages.gz.

Updated list of available packages in /var/lib/opkg/alext-all.

Downloading http://repo.opkg.net/edison/repo/edison/Packages.gz.

Inflating http://repo.opkg.net/edison/repo/edison/Packages.gz.

Updated list of available packages in /var/lib/opkg/alext-edison.

Downloading http://repo.opkg.net/edison/repo/core2-32/Packages.gz.

Inflating http://repo.opkg.net/edison/repo/core2-32/Packages.gz.

Updated list of available packages in /var/lib/opkg/alext-core2-32.

Downloading http://iotdk.intel.com/repos/2.0/iotdk/all/Packages.gz.

Inflating http://iotdk.intel.com/repos/2.0/iotdk/all/Packages.gz.

Updated list of available packages in /var/lib/opkg/all.

Downloading http://iotdk.intel.com/repos/2.0/iotdk/x86/Packages.gz.

Inflating http://iotdk.intel.com/repos/2.0/iotdk/x86/Packages.gz.

Updated list of available packages in /var/lib/opkg/x86.

Downloading http://iotdk.intel.com/repos/2.0/iotdk/i586/Packages.gz.

Inflating http://iotdk.intel.com/repos/2.0/iotdk/i586/Packages.gz.

Updated list of available packages in /var/lib/opkg/i586.

Downloading http://iotdk.intel.com/repos/2.0/iotdk/core2-32/Packages.gz.

Inflating http://iotdk.intel.com/repos/2.0/iotdk/core2-32/Packages.gz.

Updated list of available packages in /var/lib/opkg/core2-32.

Downloading http://iotdk.intel.com/repos/2.0/intelgalactic/Packages.

Updated list of available packages in /var/lib/opkg/iotkit.

# opkg install mraa

Installing mraa (1.0.0-r0) on root.

Downloading http://repo.opkg.net/edison/repo/core2-32/mraa_1.0.0-r0_core2-32.ipk.

Installing libstdc++6 (4.9.1-r0.0) on root.

Downloading http://iotdk.intel.com/repos/2.0/iotdk/core2-32/libstdc++6_4.9.1-r0.0_core2-32.ipk.

Configuring libstdc++6.

Configuring mraa.

#

So it appears that whatever the issue with the S3 bucket was on that libstdc++6 package is now fixed! Thanks for the responsiveness Intel team!

idata
Community Manager
84 Views

Hi jcuzella,

 

 

You're welcome! Please feel free to open a new ticket whenever you feel necessary, we'll be happy to help you.

Regards,

 

-Pablo
Reply