Re: Bug#231914: Command line option (--option DPkg::Pre-Install-Pkgs) does not work
On Thu, Feb 12, 2004 at 11:27:48PM -0700, Jason Gunthorpe wrote:
> You have the syntax wrong, I forget where this is documented, but for the
> various list type items you need to use this format:
>
> # apt-get --option 'DPkg::Pre-Install-Pkgs::=false' \
> --yes install hello
Yes, Matt Zimmerman <mdz@debian.org> pointed that out
already. Thanks to both of you!
> Note the extra colon before the =. You can use 'apt-config dump -o blah'
> to see what it does ie:
>
> [..]
> DPkg::Pre-Install-Pkgs "";
> DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";
> DPkg::Pre-Install-Pkgs:: "false";
That's a very useful feature.
I'm using "apt-get install --option
'DPkg::Options::=--dry-run' --yes" to download packages with
all depencencies. ("apt-get --download-only" does not
handle dependencies.)
Cheers,
--
W. Borgert <debacle@debian.org>
Reply to: