Composer missing unzip?

For quite some time I get this warning on composer update with
Composer version 1.7.2 2018-08-16 16:57:12 :

As there is no 'unzip' command installed zip files are being unpacked using the PHP zip extension.
This may cause invalid reports of corrupted archives. Installing 'unzip' may remediate them.

Maybe add unzip to apt_packages_default ?

What kind of package is trying to be updated from composer? Sounds like it’s a custom repo of some kind. As zip isn’t needed for most composer packages, that would probably why it isn’t a default Ubuntu package.

You can instruct trellis to install it using what I posted on a different thread: Trellis good practice suggestions for ongoing maintenance

What? Any WP-plugin comes as a zip, doesn’t it?
I get this warning for every composer package in bedrock, e.g. also for johnpbloch/wordpress.

I know and I do this already. I’m just wondering if I’m the only one that gets this warning and if it might make sense to add unzip to apt_packages_default. When you google that warning you find some github repos that did something like that.

1 Like