]> git.saurik.com Git - apt.git/blobdiff - apt-private/private-download.cc
Merge remote-tracking branch 'mvo/feature/srv-records' into debian/experimental
[apt.git] / apt-private / private-download.cc
index 09914618760ef9311742efa0de46b18666f5aadb..18a9b1fbce23429b63bf8f956c868d6e8d7c3cfe 100644 (file)
@@ -114,10 +114,12 @@ bool AuthPrompt(std::vector<std::string> const &UntrustedList, bool const Prompt
 
       return true;
    }
-   else if (_config->FindB("APT::Get::Force-Yes",false) == true)
+   else if (_config->FindB("APT::Get::Force-Yes",false) == true) {
+      _error->Warning(_("--force-yes is deprecated, use one of the options starting with --allow instead."));
       return true;
+   }
 
-   return _error->Error(_("There are problems and -y was used without --force-yes"));
+   return _error->Error(_("There were unauthenticated packages and -y was used without --allow-unauthenticated"));
 }
                                                                        /*}}}*/
 bool AcquireRun(pkgAcquire &Fetcher, int const PulseInterval, bool * const Failure, bool * const TransientNetworkFailure)/*{{{*/