apt no longer accepts the following command line:
apt-get --dry-run build-dep --arch-only -- guile-2.0
Swapping build-dep and --arch-only will make it with the current apt
again.
Signed-off-by: Peter Palfrader <peter@palfrader.org>
self.apt_simulate_and_ask(['install', '--'] + packages)
def apt_build_dep(self, packages, archonly=False):
- cmd = ['build-dep'] + (['--arch-only'] if archonly else []) + ['--']
+ cmd = (['--arch-only'] if archonly else []) + ['build-dep', '--']
self.apt_simulate_and_ask(cmd + packages)
def apt_simulate_and_ask(self, cmd, split_download=True, run_clean=True):