summaryrefslogtreecommitdiff
path: root/apt-private
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2013-11-28 19:45:44 +0100
committerMichael Vogt <mvo@debian.org>2013-11-28 19:45:44 +0100
commitc872ac503156caff9d0e33306c4121dd667a6567 (patch)
tree7e4e8ae4b157f69784441973546b34fa1484598a /apt-private
parent96ae6de5d3d5ae31100079c78fffc5ebc4a0b81c (diff)
add "-f" option to "build-dep" as sbuild is using it to fix regression with cross-building (LP: #1255806)
Diffstat (limited to 'apt-private')
-rw-r--r--apt-private/private-cmndline.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/apt-private/private-cmndline.cc b/apt-private/private-cmndline.cc
index b6f257bcb..718a7ce6a 100644
--- a/apt-private/private-cmndline.cc
+++ b/apt-private/private-cmndline.cc
@@ -151,6 +151,9 @@ bool addArgumentsAPTGet(std::vector<CommandLine::Args> &Args, char const * const
addArg('a', "host-architecture", "APT::Get::Host-Architecture", CommandLine::HasArg);
addArg(0, "purge", "APT::Get::Purge", 0);
addArg(0, "solver", "APT::Solver", CommandLine::HasArg);
+ // this has no effect *but* sbuild is using it (see LP: #1255806)
+ // once sbuild is fixed, this option can be removed
+ addArg('f', "fix-broken", "APT::Get::Fix-Broken", 0);
}
else if (CmdMatches("clean", "autoclean", "check", "download", "changelog") ||
CmdMatches("markauto", "unmarkauto")) // deprecated commands