Re: Non-interactive apt-get package installation

2009-12-08 Thread Robert Markula
Hi Tim, Tim Cutts wrote: > Isn't in the first one that's wrong, not the second? If the quotes have > made it through to the command line (because it wasn't executed with a > shell) then the value of DPkg::Options will include the quotes, which > isn't correct. I suspect this is a case of whether

Re: Non-interactive apt-get package installation

2009-12-08 Thread Tim Cutts
On 7 Dec 2009, at 10:42 pm, Robert Markula wrote: > which cause cf-agent to hang since the underlying process expects a > user > input. Looking at the processes, I can see that in the second line > (see > below), the quotes are missing around "--force-confdef" and > "--force-confold": > > htt

Non-interactive apt-get package installation

2009-12-07 Thread Robert Markula
Hi! For installing software packages I'm using this body: http://paste.debian.net/53424/> body package_method apt { package_changes => "bulk"; package_list_command => "/usr/bin/dpkg -l"; package_list_name_regex=> "ii\s+([^\s]+).*"; package_list_version_regex =>