diff options
| author | Max Coplan <mchcopl@gmail.com> | 2019-11-20 16:03:39 +0000 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2025-05-19 18:29:45 +0200 |
| commit | d493545484fbb100e559e39618b30a3b3a3526d1 (patch) | |
| tree | 96194abb303587eba773e2bd892f1c93d54ee337 /apt-private | |
| parent | 529d34728126ad19f4729ddf9bf95420b343378b (diff) | |
💬 Recommend use of `apt update` over `apt-get update`
Diffstat (limited to 'apt-private')
| -rw-r--r-- | apt-private/private-install.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-private/private-install.cc b/apt-private/private-install.cc index f3f52dae9..c619aa45a 100644 --- a/apt-private/private-install.cc +++ b/apt-private/private-install.cc @@ -276,7 +276,7 @@ bool InstallPackages(CacheFile &Cache, APT::PackageVector &HeldBackPackages, boo std::swap(NewHeldBackPackages, HeldBackPackages); } else - return _error->Error(_("Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?")); + return _error->Error(_("Unable to fetch some archives, maybe run apt update or try with --fix-missing?")); } Fetcher.Shutdown(); if (_error->PendingError() == true) @@ -546,7 +546,7 @@ bool InstallPackages(CacheFile &Cache, APT::PackageVector &HeldBackPackages, boo } if (Failed == true && _config->FindB("APT::Get::Fix-Missing",false) == false) - return _error->Error(_("Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?")); + return _error->Error(_("Unable to fetch some archives, maybe run apt update or try with --fix-missing?")); if (Transient == true && Failed == true) return _error->Error(_("--fix-missing and media swapping is not currently supported")); |
