List of repositories in built image does not contain community packages repository

Hi everyone. I built OpenWRT for x86_64 with feeds.conf.default left alone and feeds.conf left alone. But I am only able to see a few repositories in the resulting image:

root@OpenWrt:~# opkg update
Downloading https://downloads.openwrt.org/releases/24.10.0/targets/x86/64/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_core
Downloading https://downloads.openwrt.org/releases/24.10.0/targets/x86/64/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/24.10.0/packages/x86_64/base/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_base
Downloading https://downloads.openwrt.org/releases/24.10.0/packages/x86_64/base/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/24.10.0/targets/x86/64/kmods/6.6.73-1-6eb4293ec9db6c5435d517f6b87443f0/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/releases/24.10.0/targets/x86/64/kmods/6.6.73-1-6eb4293ec9db6c5435d517f6b87443f0/Packages.gz

Collected errors:
 * opkg_download: Failed to download https://downloads.openwrt.org/releases/24.10.0/targets/x86/64/kmods/6.6.73-1-6eb4293ec9db6c5435d517f6b87443f0/Packages.gz, wget returned 8.

The error with the kernel repository is expected as I customized the kernel.

I am unable to see the community repository and therefore cannot install packages from it.

/etc/opkg/distfeeds.conf in resulting image:

root@OpenWrt:~# cat /etc/opkg/distfeeds.conf 
src/gz openwrt_core https://downloads.openwrt.org/releases/24.10.0/targets/x86/64/packages
src/gz openwrt_base https://downloads.openwrt.org/releases/24.10.0/packages/x86_64/base
src/gz openwrt_kmods https://downloads.openwrt.org/releases/24.10.0/targets/x86/64/kmods/6.6.73-1-6eb4293ec9db6c5435d517f6b87443f0

VERSION: 24.10.0
TARGET: x86_64 generic

Do you have the feeds enabled in you .config? Do make menuconfig and search (using /) for feed_...

I can only see this:

The problem was an empty feeds.conf that I created in the source directory and forgot to remove.

1 Like

Oops! That'll do it. :grinning_face:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.