summaryrefslogtreecommitdiff
path: root/apt-private
diff options
context:
space:
mode:
Diffstat (limited to 'apt-private')
-rw-r--r--apt-private/private-cachefile.cc5
-rw-r--r--apt-private/private-install.cc4
2 files changed, 4 insertions, 5 deletions
diff --git a/apt-private/private-cachefile.cc b/apt-private/private-cachefile.cc
index 32cad1c33..77090f8eb 100644
--- a/apt-private/private-cachefile.cc
+++ b/apt-private/private-cachefile.cc
@@ -108,10 +108,9 @@ bool CacheFile::CheckDeps(bool AllowBroken)
}
else
{
- c1out << _("You might want to run 'apt-get -f install' to correct these.") << endl;
+ c1out << _("You might want to run 'apt --fix-broken install' to correct these.") << endl;
ShowBroken(c1out,*this,true);
-
- return _error->Error(_("Unmet dependencies. Try using -f."));
+ return _error->Error(_("Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution)."));
}
return true;
diff --git a/apt-private/private-install.cc b/apt-private/private-install.cc
index 761e4d175..e3fe46960 100644
--- a/apt-private/private-install.cc
+++ b/apt-private/private-install.cc
@@ -657,9 +657,9 @@ bool DoCacheManipulationFromCommandLine(CommandLine &CmdL, std::vector<std::stri
packages */
if (BrokenFix == true && Cache->BrokenCount() != 0)
{
- c1out << _("You might want to run 'apt-get -f install' to correct these:") << std::endl;
+ c1out << _("You might want to run 'apt --fix-broken install' to correct these.") << std::endl;
ShowBroken(c1out,Cache,false);
- return _error->Error(_("Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution)."));
+ return _error->Error(_("Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution)."));
}
if (Fix != NULL)