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

Bug#966462: apt: apt build-dep --download ... installs packages



Package: apt
Version: 1.8.2.1
Severity: normal

The behavior of "apt build-dep --download FOO" confusingly proceeds to
install the build-deps of FOO. Seems like I wanted --download-only
instead.

The apt man page doesn't appear to even document the existence of "apt
build-dep", or the --download flag.

From a short dialog on IRC:

11:40 < vagrantc> TIL apt build-dep --download FOO ... installs the
packages rather than just downloading them
11:42 < tumbleweed> sounds like a bug?
11:44 < _jwilk> Weird. --download-only does the right thing.
11:46 < tumbleweed> and that is what's in the manpage
11:47 < tumbleweed> is --download the inverse of --no-download then?
11:48 < vagrantc> i think i got the same with -d
11:48 < tumbleweed> nope , -d seems to do the right thing
11:49 < vagrantc> yes, i suppose it sounds like a bug
11:49 < vagrantc> e.g. it shouldn't work with unsupported options ...
11:49 < tumbleweed> I could imagine that that option has an effect when
the config file sets the equivalent of --no-download
11:49 < tumbleweed> but I'm guessing
11:53 < vagrantc> right ...
11:54 < _jwilk> Not every --no-foo has a --foo counterpart. For example,
there's --no-act, but --act is not a thing. So at the minimum
                the existence of --download should be documented, IMHO.


So I'm guessing the --download option needs to be documented, at
least...

Thanks for maintaining apt!

live well,
  vagrant

Attachment: signature.asc
Description: PGP signature


Reply to: