Package: python-apt Version: 1.1.0~beta5 Severity: important -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
I noticed that aptsources.sourceslist doesn't take the content of souces.list.d sources files into account. paul@testavoira /etc/apt $ ls -al sources.list ls: cannot access 'sources.list': No such file or directory paul@testavoira /etc/apt $ ls -al sources.list.d total 12 drwxr-xr-x 2 root root 4096 dec 24 20:15 . drwxr-xr-x 6 root root 4096 dec 24 20:15 .. - -rw-r--r-- 1 root root 313 dec 24 10:50 default.sources paul@testavoira /etc/apt $ cat sources.list.d/default.sources Types: deb deb-src URIs: https://deb.debian.org/debian Suites: stretch Components: main contrib non-free Types: deb URIs: https://deb.debian.org/debian-security Suites: stretch/updates Components: main contrib non-free Types: deb URIs: https://deb.debian.org/debian-debug Suites: stretch-debug Components: main >>> from aptsources import sourceslist >>> sl = sourceslist.SourcesList() WARNING:root:could not open file '/etc/apt/sources.list' >>> len(sl.list) 0 - -- System Information: Debian Release: stretch/sid APT prefers testing-debug APT policy: (500, 'testing-debug'), (500, 'testing'), (200, 'testing'), (50, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 4.8.0-2-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages python-apt depends on: ii dirmngr 2.1.16-3 ii gnupg 2.1.16-3 ii libapt-inst2.0 1.4~beta2 ii libapt-pkg5.0 1.4~beta2 ii libc6 2.24-8 ii libgcc1 1:6.2.1-5 ii libstdc++6 6.2.1-5 ii python 2.7.11-2 ii python-apt-common 1.1.0~beta5 pn python:any <none> Versions of packages python-apt recommends: ii iso-codes 3.72-1 ii lsb-release 9.20161125 ii xz-utils 5.2.2-1.2 Versions of packages python-apt suggests: ii apt 1.4~beta2 pn python-apt-dbg <none> pn python-apt-doc <none> - -- no debconf information -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEWLZtSHNr6TsFLeZynFyZ6wW9dQoFAlheytYACgkQnFyZ6wW9 dQodCgf/aGwEQTj4ZX1kpDsAFVsY5IW2QC3+4eqUgZyuCE233HIzElZlgQ9cHGZk oaLzx54Pwlhs37DHoD6glrzehn2nLUR3KHVZD1ULU3WpBrd2TiZNCU0ltUkRt78u 3Qra7nQmmqpDCqTHWXF3PsZrFsz1v2K8HP73Lc+kuVgj+iqewbz51kdbEhGFsJ0S itSA8RhHmOsfS3MLAtdjDYggFDK38EBqcWYIktZGQIA9c5hiZqH8FoPoYzwO2JJ7 FDFrDCK4/6VY3mcISxD/NG0qN60BPKdNpLTFQSdXBF0Sm7ZA/kkN4GYKHBy5Qc7G xTye42WdcJfWaxfXQB7r9mUnQXwFZQ== =6hIb -----END PGP SIGNATURE-----

