summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2014-01-18 08:52:02 +0100
committerMichael Vogt <mvo@debian.org>2014-01-18 08:52:02 +0100
commit24a48afaaea7e6206ced99a13a45f38366231280 (patch)
treecd5735e8b24ac553f4c260770d7dea7a9b43ae67 /apt-pkg
parent47d7761243a02368bb60b7227bd05a19ca4660d1 (diff)
parent866e9fadf892368fcb50e6a192bcdd350cfe8e5c (diff)
Merge remote-tracking branch 'mvo/feature/source-deb822' into debian/experimental-no-abi-break
Diffstat (limited to 'apt-pkg')
-rw-r--r--apt-pkg/sourcelist.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-pkg/sourcelist.cc b/apt-pkg/sourcelist.cc
index 09d8287a0..51b766095 100644
--- a/apt-pkg/sourcelist.cc
+++ b/apt-pkg/sourcelist.cc
@@ -78,7 +78,7 @@ bool pkgSourceList::Type::ParseStanza(vector<metaIndex *> &List,
{
map<string, string> Options;
- string URI = Tags.FindS("Uri");
+ string URI = Tags.FindS("URI");
if (!FixupURI(URI))
{
_error->Error(_("Malformed stanza %u in source list %s (URI parse)"),i,Fd.Name().c_str());
@@ -87,7 +87,7 @@ bool pkgSourceList::Type::ParseStanza(vector<metaIndex *> &List,
// Define external/internal options
const char* option_deb822[] = {
- "Architectures", "Architectures-Add", "Architectures-Delete", "Trusted",
+ "Architectures", "Architectures-Add", "Architectures-Remove", "Trusted",
};
const char* option_internal[] = {
"arch", "arch+", "arch-", "trusted",