Unable to install any packages using opkg

I have built openwrt snapshot image adding support for my target (arm_cortex-a7_neon-vfpv4) DART6ULL dev kit.

On opkg update, there was issues with updating the packages with the below error like statement for all the packages
Package wpa-supplicant version 2018-12-02-c2c6c01b-6 has no valid architecture, ignoring.

on modifying the
cat /etc/opkg/distfeeds.conf

from arm_cortex-a7_neon ---> arm_cortex-a7_neon-vfpv4
src/gz openwrt_base http://downloads.openwrt.org/snapshots/packages/arm_cortex-a7_neon-vfpv4/base

error related to downloading the Packages.gz worked. So now i get something like below

Downloading http://downloads.openwrt.org/snapshots/targets/imx6/generic/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_core
Downloading http://downloads.openwrt.org/snapshots/targets/imx6/generic/packages/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/snapshots/packages/arm_cortex-a7_neon-vfpv4/base/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_base
Downloading http://downloads.openwrt.org/snapshots/packages/arm_cortex-a7_neon-vfpv4/base/Packages.sig
Signature check passed.

But

root@OpenWrt:~# opkg install wireless-tools
Unknown package 'wireless-tools'.
Collected errors:
 * opkg_install_cmd: Cannot install package wireless-tools.

I get this error.
I want to install iw package and relevant wireless package, but im stuck and I'm not able to install.
Can someone help me to resolve this issue.

You need to point distfeeds to your own snapshot build server or rebuild the snapshot with the required packages included.

You could also manually copy the packages from your snapshot build and use opkg offline installation

1 Like

This is my current settings, can you please help me how to find correct one to update ?

root@OpenWrt:~# cat /etc/opkg/distfeeds.conf
src/gz openwrt_core http://downloads.openwrt.org/snapshots/targets/imx6/generic/packages
src/gz openwrt_base http://downloads.openwrt.org/snapshots/packages/arm_cortex-a7_neon-vfpv4/base
root@OpenWrt:~# cat /etc/openwrt_version
r10263-bc47285cb3

Read section titled

Configure Package Repositories

https://openwrt.org/docs/guide-user/additional-software/imagebuilder

Also

https://openwrt.org/docs/guide-developer/feeds

3 Likes