- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
When trying to add a pkg on my galileo2
I receive this error
Collected errors:
* opkg_conf_parse_file: Duplicate src declaration (all http://iotdk.intel.com/repos/1.1/iotdk/all). Skipping.
* opkg_install_cmd: Cannot install package cronie.
here si the conf file
root@Galileo:/etc/opkg# vi base-feeds.conf
src/gz all http://repo.opkg.net/edison/repo/all
src/gz edison http://repo.opkg.net/edison/repo/edison
src/gz core2-32 http://repo.opkg.net/edison/repo/core2-32
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hello Laurentg91,
Thanks for reaching out!
Could you please let us know which image you are using? You can find out with the command cat /etc/version. You should see the output 201605251601, if you receive something else, update your image to the latest which can be downloaded from https://software.intel.com/en-us/iot/hardware/galileo/downloads.
In the latest image the repo should be already set up, anyhow, the latest image does not use base-feeds.conf but instead it use the files called iotdk.conf and mraa-upm.conf. Both of them are found in /etc/opkg and this is how they should look like to work on the latest image:
iotdk.conf
src iotdk-all http://iotdk.intel.com/repos/3.5/iotdk/galileo/all
src iotdk-i586 http://iotdk.intel.com/repos/3.5/iotdk/galileo/i586
src iotdk-quark http://iotdk.intel.com/repos/3.5/iotdk/galileo/quark
src iotdk-x86 http://iotdk.intel.com/repos/3.5/iotdk/galileo/x86
mraa-upm.conf
src mraa-upm http://iotdk.intel.com/repos/3.5/intelgalactic/opkg/i586/
Make sure these files have this content and then run the command opkg update. After this you can install packages found on the repo with the command opkg install XXXXXXX. For example opkg install mraa will install the latest version of mraa on your board.
I hope this information helps you,
Pedro M.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hello
Thanks a lot for you cear answer
seems i have a pretty old version
201409031130
Is it possible to upgrade without loosing what is actually on my galileo?
That's why i would rather not upgrade
Here is my iotdk.conf
src iotdk http://iotdk.intel.com/repos/1.1/iotdk
src/gz all http://iotdk.intel.com/repos/1.1/iotdk/all
src/gz i586 http://iotdk.intel.com/repos/1.1/iotdk/i586
mraa-upm.conf
src mraa-upm http://iotdk.intel.com/repos/1.1/intelgalactic
Is it possible to keep actual OS and get latests packages ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
No, it is not possible to update Galileo's image without losing the data currently on Galileo. You would have to back up your data on a different drive.
You can indeed get the latest repo on an old image by updating your iotdk.conf and mraa-upm.conf files to the content I shared above. However, we highly suggest you that you always use the latest image.
Pedro M.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Thank you
I updated the conf files.
I can see under /var/lib/opkg/core2-32>>:Package: cronie
but when launching
opkg install cronie
i receive:
Unknown package 'cronie'.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi Laurentg91,
If all the problem is about cronie, take a look at the thread
HTH,
Fernando.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
@FGT
Fedorahost is retired so i can not download the cronie package from there
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Did you try to search for the source code? The specific host is not important, actually
Fernando.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
No, May you help me in locating the Cronie src and copmiling/building it on galileo 2?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Did you try to search for the source code? The specific host is not important, actually
Laurentg91 wrote:
No, ...
well.. you should... it's a plain and simple web search.
... May you help me in locating the Cronie src and copmiling/building it on galileo 2?
Search: among the first results, from many (you should try), https://github.com/cronie-crond/cronie/releases/tag/cronie1.5.0 Release cronie1.5.0: Release new version 1.5.0 · cronie-crond/cronie · GitHub
Instructions are in the thread I referred to in my previous post, which I copy here:
gunzip cronie-cronie1.5.0.tar.gz
tar -xvf cronie-cronie1.5.0.tar
cd cronie-cronie1.5.0
./configure
make
make install
mkdir -p /usr/local/var/spool/cron
cp src/crond /etc/init.d/
update-rc.d crond defaults
you'll need to reboot in order to crond to start
3) reboot
And I think crond is now "up&running", because
root@galileo:~# ps | grep cron
146 root 2508 S /etc/init.d/crond start
217 root 2508 S grep cron
HTH,
Fernando.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Great Thanks Fernando for taking time to help me.
It is working perfectly.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page