Package: apt-file Version: 2.5.2 Severity: wishlist Hi!
The new deb822 sources.list format is not supported (filed as wishlist because it seems the new format is still considered experimental), and apt-file spews the following error with this sample entry: ,--- sources.list --- Types: deb deb-src URIs: http://ftp.debian.org/debian/ Suites: sid experimental Sections: main contrib non-free `--- ,--- $ apt-file list foo Use of uninitialized value $scheme in string at /usr/bin/apt-file line 185, <SOURCE> line 4. Use of uninitialized value $scheme in concatenation (.) or string at /usr/bin/apt-file line 186, <SOURCE> line 4. W: Don't know how to handle E: No valid sources in /etc/apt/sources.list `--- If the sample stanza is instead: ,--- sources.list Types: deb deb-src URIs: http://ftp.fi.debian.org/debian/ Suites: sid experimental Sections: main contrib `--- The error then is: ,--- $ apt-file list foo E: No valid sources in /etc/apt/sources.list `--- I guess libapt-pkg-perl does not expose interfaces to parse the sources.list package as apt-file is parsing it itself. Maybe libapt-pkg does not expose those either, have not checked. Although that would be nice as then apt-file would not need to implement those itself. Thanks, Guillem -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org