summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
authorSam Bingner <sam@bingner.com>2018-09-28 08:34:18 -1000
committerSam Bingner <sam@bingner.com>2018-09-28 10:02:56 -1000
commit35f80ea571b726ae77bcabab4e896b85e541bf04 (patch)
tree359f51506354ea0a6f6c469d294f5adb5df6031a /apt-pkg
parent2aa218273eb6009880e987f90d3e24b8efb04642 (diff)
Remove errors that we don't need
Diffstat (limited to 'apt-pkg')
-rw-r--r--apt-pkg/acquire.cc1
-rw-r--r--apt-pkg/deb/debmetaindex.cc3
2 files changed, 0 insertions, 4 deletions
diff --git a/apt-pkg/acquire.cc b/apt-pkg/acquire.cc
index 4ccfa2605..5d85beec6 100644
--- a/apt-pkg/acquire.cc
+++ b/apt-pkg/acquire.cc
@@ -603,7 +603,6 @@ static void CheckDropPrivsMustBeDisabled(pkgAcquire const &Fetcher)
struct passwd const * const pw = getpwnam(SandboxUser.c_str());
if (pw == NULL)
{
- _error->Warning(_("No sandbox user '%s' on the system, can not drop privileges"), SandboxUser.c_str());
_config->Set("APT::Sandbox::User", "");
return;
}
diff --git a/apt-pkg/deb/debmetaindex.cc b/apt-pkg/deb/debmetaindex.cc
index 091b187a2..1a89fcc88 100644
--- a/apt-pkg/deb/debmetaindex.cc
+++ b/apt-pkg/deb/debmetaindex.cc
@@ -458,9 +458,6 @@ bool debReleaseIndex::Load(std::string const &Filename, std::string * const Erro
if (CheckValidUntil == true)
{
- if (Date == 0)
- _error->Warning( _("Invalid '%s' entry in Release file %s"), "Date", Filename.c_str());
-
std::string const Label = Section.FindS("Label");
std::string const StrValidUntil = Section.FindS("Valid-Until");