i folowed this tutorial here to update libraries on my Galileo:
https://software.intel.com/en-us/updating-upm-and-mraa IoT - Updating and selecting update options for the UPM and MRAA libraries | Intel® Developer Zone
i failed to update using Eclipse and using command file.
What should i do please?
I wonder if you followed the right guide, because in the URL you posted:
When you develop Internet of Things (IoT) projects in the Intel® System Studio IoT Edition, there are two sets of the https://software.intel.com/en-us/updating-upm-and-mraa# The_MRAA_and_UPM_libraries MRAA and UPM libraries that you must manage:
i.e. it is intended for "Intel System Studio IoT Edition", and I don't know if it is the same procedure for Eclipse, which is what you are using.
When using the eglibc image, if you go to the path /etc/opkg, you should see the following files:
Of those five files we are interested in iotdk.conf and mraa-upm.conf, their content should look like the following:
src iotdk-all http://iotdk.intel.com/repos/2.0/iotdk/all http://iotdk.intel.com/repos/2.0/iotdk/all
src iotdk-i586 http://iotdk.intel.com/repos/2.0/iotdk/i586 http://iotdk.intel.com/repos/2.0/iotdk/i586
src iotdk-quark http://iotdk.intel.com/repos/2.0/iotdk/quark http://iotdk.intel.com/repos/2.0/iotdk/quark
src iotdk-x86 http://iotdk.intel.com/repos/2.0/iotdk/x86 http://iotdk.intel.com/repos/2.0/iotdk/x86
src mraa-upm http://iotdk.intel.com/repos/2.0/intelgalactic http://iotdk.intel.com/repos/2.0/intelgalactic
What you need to do is change their content to this:
src iotdk-i586 http://iotdk.intel.com/repos/3.0/iotdk/i586/ http://iotdk.intel.com/repos/3.0/iotdk/i586/
src iotdk-intel-core-2-32 http://iotdk.intel.com/repos/3.0/iotdk/intel_core2_32/ http://iotdk.intel.com/repos/3.0/iotdk/intel_core2_32/
src iotdk-quark http://iotdk.intel.com/repos/3.0/iotdk/quark/ http://iotdk.intel.com/repos/3.0/iotdk/quark/
src iotdk-x86 http://iotdk.intel.com/repos/3.0/iotdk/x86/ http://iotdk.intel.com/repos/3.0/iotdk/x86/
src iotdk-core-2-32 http://iotdk.intel.com/repos/3.0/iotdk/core2-32/ http://iotdk.intel.com/repos/3.0/iotdk/core2-32/
src mraa-upm http://iotdk.intel.com/repos/3.0/intelgalactic/opkg/i586/ http://iotdk.intel.com/repos/3.0/intelgalactic/opkg/i586/
After you've done it, you can enter the command opkg update and then install mraa and upm with the command opkg install mraa upm.
Let me know if it works, I'll be glad to help you if otherwise.
I don't think custom-iotdk.conf is necessary. If you are able to install mraa, you should be able to also install upm, run the following commands and let me know what it outputs:
opkg list | grep upm
If it finds upm, then install it with the command opkg instal upm, if otherwise, let me know.
Are you sure that you have space on your microSD card? Seems strange that mraa updated and upm did not.
I got :
Updated list of available packages in /var/lib/opkg/mraa-upm.
Eclipse is not able to install upm too :
It makes sense that you receive that error message since that address (http://iotdk.intel.com/repos/3.0/intelgalactic/ http://iotdk.intel.com/repos/3.0/intelgalactic/) is only the parent of the opkg and rpm repos. I mean there's no content there. I would like to see the content of your board's /etc/opkg directory, I believe you might have extra files there, remember you should only see the following files:
Now, since you are having issues with installing upm, I will explain to you how to download it directly (without using the repo) and install it:
1. Go to the directory where you want to store the download file (I'm using /home/root).
2. Type the command: wget http://iotdk.intel.com/repos/3.0/intelgalactic/opkg/i586/upm_0.6.2_i586.ipk http://iotdk.intel.com/repos/3.0/intelgalactic/opkg/i586/upm_0.6.2_i586.ipk and wait for the file to be downloaded.
3. On the same directory where you downloaded the .ipk type the command opkg install upm_0.6.2_i586.ipk.
After this you should have version 0.6.2 of upm installed on your Galileo.
Let me know if it works.