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

Re: apt: pin: how to debug?



On 25 Mar 2001, Kai Henningsen wrote:

> Incidentally, what *is* the right command line option for apt-get to turn
> on --force-overwrite? I can do it with apt.conf, but I haven't managed to
> find something that works with -o.

apt-get -o dpkg::options::=--force-overwrite

-o foo=bar, sets foo == bar

If foo ends in ::, then bar is appended to the list foo.  So, doing
-o foo::=bar -o foo::=baz, will work as expected.

You can test out this syntax, by using apt-config -o ... dump.



Reply to: