[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apt ignores -o DPkg::Options ?



On Thu, 26 Jun 2003, Nikita V. Youshchenko wrote:

> Hmm...
>
> Seems that apt-get ignores -o DPkg::Options.
>
> nikita@zigzag:~> cat /tmp/xxx
> #!/bin/sh
> echo dpkg $*
> exit 1
>
> nikita@zigzag:~> LANG=C apt-get -o 'Dir::Bin::dpkg=/tmp/xxx' -o
> 'DPkg::Options={"--xxx";}' install nvi
> Reading Package Lists... Done
> Building Dependency Tree... Done
> The following NEW packages will be installed:
>   nvi
> 0 packages upgraded, 1 newly installed, 0 to remove and 13 not upgraded.
> Need to get 265kB of archives.
> After unpacking 598kB of additional disk space will be used.
> Get:1 http://zigzag.lvk.cs.msu.su stable/main nvi 1.79-20 [265kB]
> Fetched 265kB in 0s (349kB/s)
> dpkg --unpack /var/cache/apt/archives/nvi_1.79-20_i386.deb
> E: Sub-process /tmp/xxx returned an error code (1)

-o dpkg::options::=foo -o dpkg::optons::=bar



Reply to: