Bug#1112325: line indentation silently breaks debian.sources
Harald Dunkel <[email protected]>
| Newsgroups | gmane.linux.debian.apt.devel |
|---|---|
| Message-ID | <uzdplcfinpv.fsf__27459.4818636373$1756387644$gmane$org@dpcl082.ac.aixigo.de> |
Package: apt Version: 3.0.3 if *all* lines in /etc/apt/sources.list.d/myrepo.sources are indented by a few space chars, then these lines are silently ignored. This is unexpected. deb822(5) mentions lines starting with # are ignored, but leading space chars are only documented for continuation lines in folded fields. If the very first line is indented it is obviously not a continuation line. I would suggest to show at least a warning, or (even better) drop this weird format altogether in favour of standard yaml or json files. Regards Harri