Bug#809029: apt: trusted=yes option in sources.list not recognized
On 2015-12-27 Christoph Anton Mittererwrote: > On Sat, 2015-12-26 at 18:53 +0100, Andreas Metzler wrote: > > I do not know on how to improve on that. Feel free to close this > > bug-report. > I think the proper way would be to use some formatting to differ > between terminal and non-terminal symbols. > E.g. Underlining any non-terminal symbols. Underlined square brackets do not render very well but it is an improvement. cu Andreas -- `What a good friend you are to him, Dr. Maturin. His other friends are so grateful to you.' `I sew his ears on from time to time, sure' diff --git a/doc/sources.list.5.xml b/doc/sources.list.5.xml index 297939a..64f9e13 100644 --- a/doc/sources.list.5.xml +++ b/doc/sources.list.5.xml @@ -136,8 +136,8 @@ The format for two one-line-style entries using the deb and deb-src types is: - deb [ option1=value1 option2=value2 ] uri suite [component1] [component2] [...] -deb-src [ option1=value1 option2=value2 ] uri suite [component1] [component2] [...] + deb [ [option1=value1 option2=value2] ] uri suite [component1] [component2] [...] +deb-src [ [option1=value1 option2=value2] ] uri suite [component1] [component2] [...] Alternatively the equivalent entry in deb822 style looks like this:
Bug#809029: apt: trusted=yes option in sources.list not recognized
On Sun, 2015-12-27 at 11:44 +0100, Andreas Metzler wrote: > Underlined square brackets do not render very well but it is an > improvement. Well that's just one formatting idea... but many manpages seem to use it that way, e.g. mdadm(8) Cheers, Chris. smime.p7s Description: S/MIME cryptographic signature
Bug#809029: apt: trusted=yes option in sources.list not recognized
On 2015-12-26 Niels Thykierwrote: [...] > I believe you have to use > deb [trusted=yes] http://... ... > Which is admittedly not very clear from: > deb [ option1=value1 option2=value2 ] uri suite [component1] \ >[component2] [...] > Where [] is also used as an marker of optional items. Ahhh. Thanks. On re-reading the man-page already tries quite hard to bring this across ("If options should be provided they are separated by spaces and all of them together are enclosed by square brackets") and there is an example, too. I do not know on how to improve on that. Feel free to close this bug-report. Thanks, cu Andreas -- `What a good friend you are to him, Dr. Maturin. His other friends are so grateful to you.' `I sew his ears on from time to time, sure'
Bug#809029: apt: trusted=yes option in sources.list not recognized
Package: apt Version: 1.1.5 Severity: normal Hello, == sources.list(5): deb [ option1=value1 option2=value2 ] uri suite [component1] [compone nt2] [...] [...] THE DEB AND DEB-SRC TYPES: OPTIONS Each source entry can have options specified to modify which source is accessed and how data is acquired from it. [...] ยท Trusted (trusted) is a tri-state value which defaults to APT deciding if a source is considered trusted or if warnings should be raised before e.g. packages are installed from this source. This option can be used to override that decision. The value yes tells APT always to consider this source as trusted, even if it doesn't pass authentication checks. == However this fails: root@argenau:~cat /etc/apt/sources.list deb trusted=yes http://ftp.at.debian.org/debian/ stretch main contrib non-free root@argenau:~# apt update E: Malformed entry 1 in list file /etc/apt/sources.list (URI parse) E: The list of sources could not be read. This also applies to 1.1.6. cu Andreas -- `What a good friend you are to him, Dr. Maturin. His other friends are so grateful to you.' `I sew his ears on from time to time, sure'
Bug#809029: apt: trusted=yes option in sources.list not recognized
Andreas Metzler: > On 2015-12-26 Andreas Metzlerwrote: > [...] >> root@argenau:~cat /etc/apt/sources.list >> deb trusted=yes http://ftp.at.debian.org/debian/ stretch main contrib >> non-free >> root@argenau:~# apt update >> E: Malformed entry 1 in list file /etc/apt/sources.list (URI parse) >> E: The list of sources could not be read. > [...] > > FWIW "Trusted: yes" in deb822 style sources works. > > cu Andreas > Hi Andreas, I believe you have to use deb [trusted=yes] http://... ... Which is admittedly not very clear from: deb [ option1=value1 option2=value2 ] uri suite [component1] \ [component2] [...] Where [] is also used as an marker of optional items. Thanks, ~Niels signature.asc Description: OpenPGP digital signature
Bug#809029: apt: trusted=yes option in sources.list not recognized
On 2015-12-26 Andreas Metzlerwrote: [...] > root@argenau:~cat /etc/apt/sources.list > deb trusted=yes http://ftp.at.debian.org/debian/ stretch main contrib > non-free > root@argenau:~# apt update > E: Malformed entry 1 in list file /etc/apt/sources.list (URI parse) > E: The list of sources could not be read. [...] FWIW "Trusted: yes" in deb822 style sources works. cu Andreas -- `What a good friend you are to him, Dr. Maturin. His other friends are so grateful to you.' `I sew his ears on from time to time, sure'
Bug#809029: apt: trusted=yes option in sources.list not recognized
On Sat, 2015-12-26 at 18:53 +0100, Andreas Metzler wrote: > I do not know on how to improve on that. Feel free to close this > bug-report. I think the proper way would be to use some formatting to differ between terminal and non-terminal symbols. E.g. Underlining any non-terminal symbols. Cheers, Chris. smime.p7s Description: S/MIME cryptographic signature