apt
如果我的源代码没有 zip,如何在 Steam 操作系统(Debian Wheezy 衍生版本)上安装 zip ?
# apt-get install zip
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package zip is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'zip' has no installation candidate
# apt-cache show zip
N: Can't select versions from package 'zip' as it is purely virtual
N: No packages found
答案1
该包zip
是纯虚拟的。这意味着什么?下面的任何软件包zip
都允许你使用压缩器(我不知道为什么 SteamOS 是这样的,Debian 使用真包)。因此,您应该使用apt-cache depends zip
查找哪些包提供了 zip 包,但我确信您会想要该unzip
包。