Configuring luci-i18n-firewall-zh-cn. Collected errors: * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-fs-nfs: * kernel (= 4.9.91-1-d882c8d0bcc953d0c9f6cc520732d071) * kernel (= 4.9.91-1-d882c8d0bcc953d0c9f6cc520732d071) * kernel (= 4.9.91-1-d882c8d0bcc953d0c9f6cc520732d071) * * opkg_install_cmd: Cannot install package kmod-fs-nfs. * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-fs-nfs-v3: * kernel (= 4.9.91-1-d882c8d0bcc953d0c9f6cc520732d071) * * opkg_install_cmd: Cannot install package kmod-fs-nfs-v3. * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-leds-gpio: * kernel (= 4.9.91-1-d882c8d0bcc953d0c9f6cc520732d071) * * opkg_install_cmd: Cannot install package kmod-leds-gpio. * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-ledtrig-heartbeat: * kernel (= 4.9.91-1-d882c8d0bcc953d0c9f6cc520732d071) * * opkg_install_cmd: Cannot install package kmod-ledtrig-heartbeat. * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-ledtrig-timer: * kernel (= 4.9.91-1-d882c8d0bcc953d0c9f6cc520732d071) * * opkg_install_cmd: Cannot install package kmod-ledtrig-timer. * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-lib-crc-ccitt: * kernel (= 4.9.91-1-d882c8d0bcc953d0c9f6cc520732d071) * * opkg_install_cmd: Cannot install package kmod-lib-crc-ccitt. * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-nf-reject: * kernel (= 4.9.91-1-d882c8d0bcc953d0c9f6cc520732d071) * * opkg_install_cmd: Cannot install package kmod-nf-reject. * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-nf-reject6: * kernel (= 4.9.91-1-d882c8d0bcc953d0c9f6cc520732d071) * * opkg_install_cmd: Cannot install package kmod-nf-reject6. * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-nf-ipt: * kernel (= 4.9.91-1-d882c8d0bcc953d0c9f6cc520732d071) * * opkg_install_cmd: Cannot install package kmod-nf-ipt. * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-nf-ipt6: * kernel (= 4.9.91-1-d882c8d0bcc953d0c9f6cc520732d071) * * opkg_install_cmd: Cannot install package kmod-nf-ipt6. * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-ipt-core: * kernel (= 4.9.91-1-d882c8d0bcc953d0c9f6cc520732d071) * * opkg_install_cmd: Cannot install package kmod-ipt-core. * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-nf-conntrack: * kernel (= 4.9.91-1-d882c8d0bcc953d0c9f6cc520732d071) * * opkg_install_cmd: Cannot install package kmod-nf-conntrack. * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-nf-conntrack6: * kernel (= 4.9.91-1-d882c8d0bcc953d0c9f6cc520732d071) * * opkg_install_cmd: Cannot install package kmod-nf-conntrack6. * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-nf-nat: * kernel (= 4.9.91-1-d882c8d0bcc953d0c9f6cc520732d071) * * opkg_install_cmd: Cannot install package kmod-nf-nat. * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-ipt-conntrack: * kernel (= 4.9.91-1-d882c8d0bcc953d0c9f6cc520732d071) * * opkg_install_cmd: Cannot install package kmod-ipt-conntrack. * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-ipt-ipopt: * kernel (= 4.9.91-1-d882c8d0bcc953d0c9f6cc520732d071) * * opkg_install_cmd: Cannot install package kmod-ipt-ipopt. * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-ipt-nat: * kernel (= 4.9.91-1-d882c8d0bcc953d0c9f6cc520732d071) * * opkg_install_cmd: Cannot install package kmod-ipt-nat. * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-ip6tables: * kernel (= 4.9.91-1-d882c8d0bcc953d0c9f6cc520732d071) * * opkg_install_cmd: Cannot install package kmod-ip6tables. * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-nls-base: * kernel (= 4.9.91-1-d882c8d0bcc953d0c9f6cc520732d071) * * opkg_install_cmd: Cannot install package kmod-nls-base. * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-softdog: * kernel (= 4.9.91-1-d882c8d0bcc953d0c9f6cc520732d071) * * opkg_install_cmd: Cannot install package kmod-softdog. * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-usb-core: * kernel (= 4.9.91-1-d882c8d0bcc953d0c9f6cc520732d071) * * opkg_install_cmd: Cannot install package kmod-usb-core. * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-usb-ohci: * kernel (= 4.9.91-1-d882c8d0bcc953d0c9f6cc520732d071) * * opkg_install_cmd: Cannot install package kmod-usb-ohci. * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-usb-ehci: * kernel (= 4.9.91-1-d882c8d0bcc953d0c9f6cc520732d071) * * opkg_install_cmd: Cannot install package kmod-usb-ehci. * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-usb2: * kernel (= 4.9.91-1-d882c8d0bcc953d0c9f6cc520732d071) * * opkg_install_cmd: Cannot install package kmod-usb2. make[2]: *** [package/install] Error 255 make[2]: Leaving directory `/opt/svnworking/A1806_Openwrt-lede.bak/source/master' make[1]: *** [/opt/svnworking/A1806_Openwrt-lede.bak/source/master/staging_dir/target-mipsel_24kc_musl/stamp/.package_install] Error 2 make[1]: Leaving directory `/opt/svnworking/A1806_Openwrt-lede.bak/source/master' Build failed - please re-run with -j1 to see the real error message make: *** [world] 错误 1
排查问题:根据http://www.mm126.cc/305.html里的内容, 确定是md5不一致的问题,而md5的生成是通过kernel-defualts.mk进行生成md5, 所以问题是不同设备树编译相同内核时,由于内核配置不一样,导致.config.set不一致引起md5的问题,引起上面问题。 要保持内核配置内容基本一致, 生成的.config.set 就会保持一致,编译的时候就不会产生内核版本不致问题
根据链接 http://www.mm126.cc/305.html 的解释, 通过读取.config.set 再通过./include/kernel-defaults.mk里换算生成的.vermagic , 通过.vermagic生成的control文件的version与上述编译的内核版本不一样引起的问题
最终解决方法:
1、要么进行make clean 重新编译
2、按照 http://www.mm126.cc/305.html 把编译的内核版本的md5写入到. vermagic文件