Options[option_internal[j]] = Tags.FindS(option_deb822[j]);
// now create one item per suite/section
- string Suite = Tags.FindS("Suite");
+ string Suite = Tags.FindS("Suites");
Suite = SubstVar(Suite,"$(ARCH)",_config->Find("APT::Architecture"));
- string const Section = Tags.FindS("Section");
+ string const Section = Tags.FindS("Sections");
std::vector<std::string> list_dist = StringSplit(Suite, " ");
std::vector<std::string> list_section = StringSplit(Section, " ");
&apt-email;
&apt-product;
<!-- The last update date -->
- <date>2012-06-09T00:00:00Z</date>
+ <date>2014-01-18T00:00:00Z</date>
</refentryinfo>
<refmeta>
<literallayout>
Type: deb
URI: http://example.com
- Suite: stable
- Section: component1 component2
+ Suites: stable
+ Sections: component1 component2
[option1]: [option1-value]
Type: deb-src
URI: http://example.com
- Suite: stable
- Section: component1 component2
+ Suites: stable
+ Sections: component1 component2
[option1]: [option1-value]
</literallayout>
</para>
Type: deb
URI: http://ftp.debian.org/debian
-Suite: stable
-Section: main
+Suites: stable
+Sections: main
Comment: Some random string
that can be very long'
msgtest 'Test deb822 sources.list file which has' 'malformed URI'
echo "Type: deb
-Suite: stable
+Suites: stable
" > $SOURCES
testequal --nomsg "E: Malformed stanza 0 in source list $TMPWORKINGDIRECTORY/rootdir/etc/apt/sources.list (URI parse)
E: The list of sources could not be read." aptget update --print-uris
const char contents[] = ""
"Type: deb\n"
"URI: http://ftp.debian.org/debian\n"
- "Suite: stable\n"
- "Section: main\n"
+ "Suites: stable\n"
+ "Sections: main\n"
"Comment: Some random string\n"
" that can be very long\n"
"\n"