summaryrefslogtreecommitdiff
path: root/apt-pkg/srcrecords.cc
diff options
context:
space:
mode:
authorNis Martensen <nis.martensen@web.de>2020-02-12 23:25:59 +0100
committerNis Martensen <nis.martensen@web.de>2020-02-12 23:25:59 +0100
commit531bcb755905fdf351749cf0de84e883b1f6e030 (patch)
tree995a8fc48f4cd6622115821e37cc242aa74a04db /apt-pkg/srcrecords.cc
parent7e445a53444e253cca44c54ed5978276f1581a50 (diff)
apt-pkg/srcrecords.cc: 'source' means 'deb-src' in error message
The filename "sources.list" suggests that all contained lines are meant to describe some package source, so users might not immediately understand that this refers to 'deb-src' type lines. Please see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=919285 for an example of the resulting confusion.
Diffstat (limited to 'apt-pkg/srcrecords.cc')
-rw-r--r--apt-pkg/srcrecords.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/srcrecords.cc b/apt-pkg/srcrecords.cc
index a830a28f0..03bda75e9 100644
--- a/apt-pkg/srcrecords.cc
+++ b/apt-pkg/srcrecords.cc
@@ -52,7 +52,7 @@ pkgSrcRecords::pkgSrcRecords(pkgSourceList &List) : d(NULL), Files(0)
// Doesn't work without any source index files
if (Files.empty() == true)
{
- _error->Error(_("You must put some 'source' URIs"
+ _error->Error(_("You must put some 'deb-src' URIs"
" in your sources.list"));
return;
}