17.01.2 (Final) - Frustrating error/problem caused by kmod-fs-btrfs

When I'm trying to install kmod-fs-btrfs, I get these errors:

root@LEDE:/etc/opkg# opkg install kmod-fs-btrfs
Installing kmod-fs-btrfs (4.4.71-1) to root...
Downloading http://downloads.lede-project.org/releases/17.01.2/targets/mvebu/generic/packages/kmod-fs-btrfs_4.4.71-1_arm_cortex-a9_vfpv3.ipk
Configuring kmod-lib-zlib-deflate.
failed to find a module named zlib_deflate
Configuring kmod-lib-zlib-inflate.
failed to find a module named zlib_inflate
Configuring kmod-lib-lzo.
failed to find a module named lzo_compress
failed to find a module named lzo_decompress
Configuring kmod-fs-btrfs.
Collected errors:
 * pkg_run_script: package "kmod-lib-zlib-deflate" postinst script returned status 255.
 * opkg_configure: kmod-lib-zlib-deflate.postinst returned 255.
 * pkg_run_script: package "kmod-lib-zlib-inflate" postinst script returned status 255.
 * opkg_configure: kmod-lib-zlib-inflate.postinst returned 255.
 * pkg_run_script: package "kmod-lib-lzo" postinst script returned status 255.
 * opkg_configure: kmod-lib-lzo.postinst returned 255.

After that, the same error messages appear whatever package I'm trying to install, e.g. at nano installation:

root@LEDE:/etc/opkg# opkg install nano
Installing nano (2.7.5-1) to root...
Downloading http://downloads.lede-project.org/releases/17.01.2/packages/arm_cortex-a9_vfpv3/packages/nano_2.7.5-1_arm_cortex-a9_vfpv3.ipk
Configuring kmod-lib-zlib-deflate.
failed to find a module named zlib_deflate
Configuring nano.
Configuring kmod-lib-zlib-inflate.
failed to find a module named zlib_inflate
Configuring kmod-lib-lzo.
failed to find a module named lzo_compress
failed to find a module named lzo_decompress
Collected errors:
 * pkg_run_script: package "kmod-lib-zlib-deflate" postinst script returned status 255.
 * opkg_configure: kmod-lib-zlib-deflate.postinst returned 255.
 * pkg_run_script: package "kmod-lib-zlib-inflate" postinst script returned status 255.
 * opkg_configure: kmod-lib-zlib-inflate.postinst returned 255.
 * pkg_run_script: package "kmod-lib-lzo" postinst script returned status 255.
 * opkg_configure: kmod-lib-lzo.postinst returned 255.

It starts getting on my nerves, please fix it!

kmods are frozen for the release so a fix will not happen before 17.01.3 but you can workaround the problem by removing /usr/lib/opkg/info/kmod-lib-lzo.postinst and /usr/lib/opkg/info/kmod-lib-zlib-inflate.postinst.

PS: a report to bugs.lede-project.org is more useful in such a case, bug reports in the forum are easily overlooked (and they'll not be properly documented in changelogs)

Thank's a lot jow.

Bug report:
https://bugs.lede-project.org/index.php?do=details&task_id=842

Still broken in 17.01.3 :frowning:

This seems to affect different platforms.

The problem is the lack of some .ko files in kmod-lib-lzo, kmod-lib-zlib-inflate and kmod-lib-zlib-deflate packages.

For example, the above 3 "normal" packages have this file structure:

kmod-lib-lzo:

/etc/modules.d/lib-lzo
/lib/modules/4.4.89/lzo_compress.ko
/lib/modules/4.4.89/lzo_decompress.ko

kmod-lib-zlib-inflate:

/etc/modules.d/lib-zlib-inflate
/lib/modules/4.4.89/zlib_inflate.ko

kmod-lib-zlib-deflate:

/etc/modules.d/lib-zlib-deflate
/lib/modules/4.4.89/zlib_deflate.ko

The "problematic" packages do not contain the .ko files and as a result... their installation (direct or as a dependency) produce the errors mentioned in the first post.

Hope to see it fixed soon, at least in the next service/major release, whether it is LEDE or OpenWrt. :slight_smile:

The bugs linked they are both closed but I am still suffering this bug.

can someone explain the reason for the closing?

ATM, the status of FS#645 which seems to be the first report for this issue, is "Reopened".
https://bugs.lede-project.org/index.php?do=details&task_id=645

But still no fix.