Package zip is not available, but is referred to by another package.

原因

使用​​sudo apt install unzip​​时报这个错,这个问题的原因是ubuntu的/etc/apt/source.list中的源比较旧了,需要更新源。

解决方案

执行:

sudo apt-get -y update

再次执行即可解决问题。