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

Re: Bug#39008: -o DPkg::Options="--force-overwrite" does not work



On Sat, 5 Jun 1999, Raphael Hertzog wrote:

> With the latest dpkg that does not force-overwrite by default I wanted
> apt to add this tag automatically to the dpkg command line, so I read
> the man pages apt-get and apt.conf and tried those commande lines :
> 
> ~@k6$ sudo apt-get -o DPkg::Options="--force-overwrite" dist-upgrade
> ~@k6$ sudo apt-get -o DPkg::Options={"--force-overwrite"} dist-upgrade

Indeed, this is the wrong syntax.. The correct syntax is
dpkg::options::="--force-overwrite". The trailing :: designates it as
being part of a list. I don't think this was documented anyplace.
 
Jason


Reply to: