Bug#39008: -o DPkg::Options="--force-overwrite" does not work
Package: apt
Version: 0.3.6
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
But none of them worked ... and the confirmation that none of them work is
that :
~@k6$ sudo apt-get -o DPkg::Options={"--force-overwrite"} -o Debug::pkgDPkgPM="true" install jadetex
[...]
/usr/bin/dpkg --force-depends --force-remove-essential --remove tetex-nonfree
/usr/bin/dpkg --unpack /ftp/debian/dists/unstable/main/binary-i386/tex/jadetex_2.6-3.deb
/usr/bin/dpkg --configure jadetex
The specified tag is not added to the command lines ...
I may be wrong on the syntax of the command line because it's explained
that we must use a list notation (which is not documented) :
Options
This is a list of options to pass to dpkg. The
options must be specified using the list notation
and each list item is passed as a single arugment
to dpkg.
If my syntax is wrong then the correct syntax should be
better documented somewhere ...
Thanks for your great work on apt,
--
Raphaël Hertzog >> 0C4CABF1 >> http://prope.insa-lyon.fr/~rhertzog/
Reply to: