[SOLVED] Can't install software - postinst script returned status 255

device:ubnt er-x
rom :https://downloads.openwrt.org/releases/17.01.4/targets/ramips/mt7621/
Regardless of any software installed it is say that :

opkg install strongswan-mod-md4
Package strongswan-mod-md4 (5.5.3-1) installed in root is up to date.
**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**
**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.**

where is the Makefile file?
https://git.openwrt.org/?p=openwrt/openwrt.git;a=commitdiff;h=efb6ca189641aec64ba94f0d6d4e008fb2c1668b#patch1

Did you first issue opkg update?

1 Like

Yes i do
i am update the file /lib/functions.sh after is ok!:)

Hello, I have the same problem. The link above is not available. Could you tell me what to do?
Thanks.


opkg install libmbedtls_2.4.0-2_mips_24kc.ipk

Installing libmbedtls (2.4.0-2) to root...
Configuring libmbedtls.
Configuring kmod-ath9k-htc.
ath9k_htc is already loaded
Collected errors:
   pkg_run_script: package "kmod-ath9k-htc" postinst script returned status 255.
   opkg_configure: kmod-ath9k-htc.postinst returned 255.

@KlenKlenov Please place all code, config, and log output within code boxes... three ways to do so

Hi! Sorry. It`s ok?

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