Community
cancel
Showing results for 
Search instead for 
Did you mean: 
RModi1
Novice
1,202 Views

opkg from Galileo Gen2 is not able to locate any package

Jump to solution

Hi There,

I am a beginner and struggling a lot while working with opkg on Intel Galileo Gen 2 board. My aim is to read barcode from the camera which will be attached to Galileo.

For that I need to install zbar package but I am not able to work with opkg at all. I am not able to install any package because opkg can not locate that and while running the command " opkg install " every time I am getting the error

Unknown package 'package_name'.

Collected errors:

* opkg_install_cmd: Cannot install package 'package_name'.

Neither I am able to run 'wget' nor I am able to extract any compressed file like .gz, .bz2 etc

My Linux yocto image has the following files on SD card:

boot

grub.efi

bzImage

image-full-galileo-clanton.ext3

core-image-minimal-initramfs-clanton.cpio.gz

Is the Linux image is corrupted on my SD card which is mounted on Galileo board ?

Your help will be really Appreciated..

Thanks in advance

0 Kudos
1 Solution
idata
Community Manager
73 Views

Hello rahulmodi8812,

 

 

Thanks for reaching out!

 

 

First of all, make sure you are using the latest image by downloading it from https://software.intel.com/en-us/iot/hardware/galileo/downloads. Follow the steps in https://software.intel.com/en-us/get-started-galileo-windows to make sure you are booting correctly. If everything goes as expected, if you enter the command cat /etc/version, you should see the output: 201605251601.

 

 

If you are on the latest image, the opkg repo should be correctly set up. So, you would just have to set up an internet connection on Galileo, you can do so with connman as it is also explained on the guide I shared above.

 

 

However, zbar is not found on the official repo, so you'll have to install it from source. You can get the package from http://zbar.sourceforge.net/index.html, I suggest you to follow the instructions found in the source code and if you have issues building the package, contact the developers in https://sourceforge.net/p/zbar/discussion/664596/.

 

 

I hope this information helps you,

 

Pedro M.

View solution in original post

1 Reply
idata
Community Manager
74 Views

Hello rahulmodi8812,

 

 

Thanks for reaching out!

 

 

First of all, make sure you are using the latest image by downloading it from https://software.intel.com/en-us/iot/hardware/galileo/downloads. Follow the steps in https://software.intel.com/en-us/get-started-galileo-windows to make sure you are booting correctly. If everything goes as expected, if you enter the command cat /etc/version, you should see the output: 201605251601.

 

 

If you are on the latest image, the opkg repo should be correctly set up. So, you would just have to set up an internet connection on Galileo, you can do so with connman as it is also explained on the guide I shared above.

 

 

However, zbar is not found on the official repo, so you'll have to install it from source. You can get the package from http://zbar.sourceforge.net/index.html, I suggest you to follow the instructions found in the source code and if you have issues building the package, contact the developers in https://sourceforge.net/p/zbar/discussion/664596/.

 

 

I hope this information helps you,

 

Pedro M.

View solution in original post

Reply