New 19.07.05 built leads to kernel dependency errors

I just built a new image with the 19.07.05 release and have a question.
Now I can no longer install packages as I get a dependency error. I read the page https://openwrt.org/faq/cannot_satisfy_dependencies but have trouble understanding why I can't install packages as I'm not using a snapshot version.

I used Git Clone, and Git Checkout v19.07.05

Maybe I'm not doing it right, what would be the correct way of building a new v19.07.05 image and still be able to install packages?

Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-usb2:
 *      kernel (= 4.14.209-1-ce57010438699985314b7e62055dc961)
 * opkg_install_cmd: Cannot install package kmod-usb2.
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-usb3:
 *      kernel (= 4.14.209-1-ce57010438699985314b7e62055dc961)
 * opkg_install_cmd: Cannot install package kmod-usb3.

Did you build your image with exactly the same parameters as the official release? Otherwise, kernel modules from the repo are incompatible with the kernel you built.

1 Like

Thank you for responding.
What would these parameters refer to?

I wanna make sure I got the terminology right. By official release, do you mean the ready to install image available on the device page? Eg: https://openwrt.org/toh/globalscale/globalscale_espressobin_v7

This image has some features disabled (such as i2c that's why I needed to build a new image)

And as you change kernel options, you deviate from the release defaults, and change the checksum used in the opkg compatibility dependency checks. So, we render yourself incompatible.

Just compile and include also the other needed kernel packages to your image.

1 Like

Thank you. To confirm, does including the required modules in the build have any downsides compared to installing them afterwards from a stability standpoint?

No.

The benefit is that the binaries get compressed (so that the package consume less flash space than if you install them later).

1 Like

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