New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FS#645 - kmod package postinst script returned status 255 #6460
Comments
camel: forgot to add: device: |
hailfinger: Can reproduce, but not on all targets. See FS#951. |
aabaker: Fails for me too. Examining the package at http://downloads.lede-project.org/releases/17.01.2/targets/lantiq/xrx200/packages/kmod-lib-zlib-deflate_4.4.71-1_mips_24kc.ipk shows that the expected .ko module is not included in the package |
computergeek125: This bug happens for me on the x86_64 platform running in VMware ESXi 6.5. I don't have my hardware router in front of me (TL-WR1043ND; a friend is borrowing it), so I can't test it at the moment, but I can probably get some testing done on it later
|
mkresin: I'm quite sure that all your targets have CONFIG_ZLIB_INFLATE=y in their kernel config. Therefore kmod-lib-zlib-deflate is a stub package which does effectively not contain zlib_inflate.ko. Still no fix, but at least an explanation what is going on. FS#893 is about the same issue but most likely easier to fix. |
NeoRaider: Fixed/workarounded with https://git.openwrt.org/?p=openwrt/openwrt.git;a=commitdiff;h=efb6ca189641aec64ba94f0d6d4e008fb2c1668b Fix will be in 17.01.5; in the mean time, it can be applied manually in /lib/functions.sh . |
camel:
on instalaltion of current runk i got error on installation of: package "kmod-lib-zlib-inflate" postinst script returned status 255
Supply the following if possible:
then you will get: errors on config ..
root@router:~# opkg install kmod-lib-zlib-inflate -V4- 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-zlib-deflate" postinst script returned status 255.
- opkg_configure: kmod-lib-zlib-deflate.postinst returned 255.
opkg_conf_parse_file: Loading conf file /etc/opkg.conf.
opkg_conf_parse_file: Loading conf file /etc/opkg/customfeeds.conf.
opkg_conf_parse_file: Loading conf file /etc/opkg/distfeeds.conf.
opkg_install_cmd: kmod-lib-zlib-inflate
opkg_prepare_url_for_install: applying abpkg flag to kmod-lib-zlib-inflate
pkg_hash_load_feeds:
pkg_parse_line: propagating abpkg flag to pkg kmod-lib-zlib-inflate
...
...
pkg_vec_insert_merge: Adding new pkg=fdisk version=2.28 arch=mipsel_24kc.
pkg_vec_insert_merge: Adding new pkg=picocom version=1.7 arch=mipsel_24kc.
pkg_vec_insert_merge: Adding new pkg=iftop version=2017-02-06-35af3cf6 arch=mipsel_24kc.
pkg_info_preinstall_check: Updating file owner list.
opkg_install_by_name: Old versions from pkg_hash_fetch 4.4.53.
pkg_hash_fetch_best_installation_candidate: Best installation candidate for kmod-lib-zlib-inflate:
pkg_hash_fetch_best_installation_candidate: Adding kmod-lib-zlib-inflate to providers.
pkg_hash_fetch_best_installation_candidate: kmod-lib-zlib-inflate arch=mipsel_24kc arch_priority=10 version=4.4.53.
pkg_hash_fetch_best_installation_candidate: Candidate: kmod-lib-zlib-inflate 4.4.53.
opkg_install_by_name: Versions from pkg_hash_fetch: old 4.4.53 new 4.4.53
opkg_install_by_name: Comparing visible versions of pkg kmod-lib-zlib-inflate:
4.4.53-1 is installed
4.4.53-1 is available
0 was comparison result
Package kmod-lib-zlib-inflate (4.4.53-1) installed in root is up to date.
opkg_configure_packages: Configuring unpacked packages.
opkg_configure_packages: Reordering packages before configuring them...
opkg_recurse_pkgs_in_order: pkg kmod-usb-storage.
opkg_recurse_pkgs_in_order: Descending on pkg kernel.
....
....
opkg_recurse_pkgs_in_order: Descending on pkg collectd.
opkg_recurse_pkgs_in_order: pkg collectd already visited, skipping.
opkg_recurse_pkgs_in_order: pkg kmod-ipt-nat already visited, skipping.
Configuring kmod-lib-zlib-inflate.
pkg_run_script: Running script //usr/lib/opkg/info/kmod-lib-zlib-inflate.postinst.
failed to find a module named zlib_inflate
Configuring kmod-lib-zlib-deflate.
pkg_run_script: Running script //usr/lib/opkg/info/kmod-lib-zlib-deflate.postinst.
failed to find a module named zlib_deflate
write_status_files_if_changed: Nothing to be done.
hash_table: pkg-hash, 12288 bytes
n_buckets=1024, n_elements=1672, n_collisions=839
max_bucket_len=6, n_used_buckets=833, ave_bucket_len=2.01
n_hits=56688, n_misses=14283
hash_table: file-hash, 12288 bytes
n_buckets=1024, n_elements=1370, n_collisions=604
max_bucket_len=5, n_used_buckets=766, ave_bucket_len=1.79
n_hits=0, n_misses=1370
hash_table: obs-file-hash, 768 bytes
n_buckets=64, n_elements=0, n_collisions=0
max_bucket_len=0, n_used_buckets=0, ave_bucket_len=0.00
n_hits=0, n_misses=0
Collected errors:
root@router:~#
The text was updated successfully, but these errors were encountered: