19.07.0, zip package cannot be installed

Hi Guys

after updating to stable 19.07.0 i cannot install zip package any more. While trying to install i get:

Unknown package 'zip'.
Collected errors:
 * opkg_install_cmd: Cannot install package zip.

Was zip package removed for good in new release or it is a bug?

Thank you.

maybe you forgot to

opkg update


  1. First check you are connected to the internet with the router.

  2. If connected to the internet, try this command:

opkg update && opkg install zip

Should work.

Please see the output from console which is proving the problem:

BusyBox v1.30.1 () built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 OpenWrt 19.07.0, r10860-a3ffeb413b
root@router:~# opkg update && opkg install zip
Downloading http://downloads.openwrt.org/releases/19.07.0/targets/ramips/mt7621/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_core
Downloading http://downloads.openwrt.org/releases/19.07.0/targets/ramips/mt7621/packages/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/19.07.0/targets/ramips/mt7621/kmods/4.14.162-1-2e88863ccdd594fb8e842df3c25842ee/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_kmods
Downloading http://downloads.openwrt.org/releases/19.07.0/targets/ramips/mt7621/kmods/4.14.162-1-2e88863ccdd594fb8e842df3c25842ee/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/19.07.0/packages/mipsel_24kc/base/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_base
Downloading http://downloads.openwrt.org/releases/19.07.0/packages/mipsel_24kc/base/Packages.sig Signature check passed.
Downloading http://downloads.openwrt.org/releases/19.07.0/packages/mipsel_24kc/luci/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_luci
Downloading http://downloads.openwrt.org/releases/19.07.0/packages/mipsel_24kc/luci/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/19.07.0/packages/mipsel_24kc/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_packages
Downloading http://downloads.openwrt.org/releases/19.07.0/packages/mipsel_24kc/packages/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/19.07.0/packages/mipsel_24kc/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_routing
Downloading http://downloads.openwrt.org/releases/19.07.0/packages/mipsel_24kc/routing/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/19.07.0/packages/mipsel_24kc/telephony/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_telephony
Downloading http://downloads.openwrt.org/releases/19.07.0/packages/mipsel_24kc/telephony/Packages.sig
Signature check passed.
Unknown package 'zip'.
Collected errors:
 * opkg_install_cmd: Cannot install package zip.

Router can ping

Can anyone check if you can install this package on your router with OpenWrt 19.07.0?

Thank you.

Likely a bug.
I can't install it on master although the package Makefile is in the packages feed repo and looks normal at the first glance.

The peculiar part is that there is no downloadable package, and no item in the package listing, but still there is no failure log at buildbot.

you could install gzip instead

But I was able to compile it by myself and install that .ipk in my router quite normally. Strange.

How can i report the bug so it could be fixed?

By filing a bug against it here: https://github.com/openwrt/packages/issues

Thank you.

I believe that I figured out the reason: name collision

@mkresin introduced zip as a main repo build tool a year ago with https://github.com/openwrt/openwrt/commit/ad8c2d6099a7da5192ee6e2c52a8303642271877

That is now both in 19.07 and master.

And that host tool is defined as a package, so it likely prevents the actual installable package from the packages feed to get compiled in buildbot.

1 Like


I opened a bug at https://bugs.openwrt.org/index.php?do=details&task_id=3043

Workaround is to manually install the 18.06 package for your architecture. Less than optimal solution.