I have a package that I've been building using checkinstall
for a while now, and I wanted to automate it (pass the values in via command line instead of typing the selection, pasting the value in, etc...)
I am not sure if this is a checkinstall bug, or not, but how can I include multiple packages via the command line --requires
option. It seems to barf if I include the minimum version of a package (for exmple --requires="libvte9 (>= 0.28.2)"
), or multiple packages at once (for example --requires "libvte9, libc6"
)
Has anyone had better success with the command line arguments for multiple packages? Am I doing something wrong, or is this a bug.
Note: If I run the script, and choose the requires option (10), and paste my entire line with multiple packages and minimum versions (such as libvte9 (>= 0.28.2), libc6 (>= 2.13)
, it works fine, it just seems to be on the command line that it's having issues. Also this is with building a debian package, using the -D
option.
After reading Aleks-Daniel Jakimenko-A.'s answer, Reallumpi's one and doing some tests on a real life case, here is what you should do:
,
(comma) without spaces to separate required packages ;(
and)
parenthesis when specifying package's version ;>
(greater sign) when specifying package's version ;Example
Output