我正在创建一个deb软件包,该软件包取决于一长串软件包,所有软件包均以开头aisoy-
。使用apt-get安装时,可以使用全部安装,apt-get install aisoy-*
但是如果我将其写入deb软件包的控制文件中,则失败dpkg-gencontrol: failure: error detected when analyzing «Depends» field
。
我的控制文件非常简单:
Source: aisoy-raspberry
Section: devel
Priority: optional
Maintainer: [omitted]
Build-Depends:
Homepage: [omitted]
Package: aisoy-raspberry
Architecture: any
Depends: [other packages that work well], aisoy-*
Description: All packages needed to install Aisoy in Raspberry Pi
有没有办法aisoy-*
一次包含所有软件包?
这是不可能的,您必须明确。如果您查看debian打包库代码,则依赖项的正则表达式非常简单:http : //anonscm.debian.org/gitweb/? p=dpkg/dpkg.git;a=blob;f= scripts/Dpkg /Deps.pm;h=449bafb23e782088cdd42e036146230627d05470;hb=HEAD#l593
它仅与包含以下内容的软件包名称匹配: [a-zA-Z0-9][a-zA-Z0-9+.-]*
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句