Control: tags -1 wontfix

On 2014-03-06 21:30, Guillem Jover wrote:
> 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:
> 


Hi,

Thanks for filing this.  Though as you may noticed in the header, I am
not intending to work on fixing this.  Rather, I want APT to provide a
way to fetch things for apt-file rather than having apt-file re-invent
every single wheel that also gets included in APT.

Mind you, if someone wants to step up and re-invent this particular
wheel, I am willing to review the patch. But in general, I want APT to
do the heavy lifting for "fetching" stuff - (my) life is too short to
reimplement APT in apt-file. :)

> [...]
> 
> ,---
> $ 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
> `---
> 

This seems wrong though and I will have a look at fixing those.  At the
very list, apt-file ought to recognise the file as something it does not
support.

> [...]
> 
> 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
> 

Sadly, libapt-pkg-perl does not seem to expose half the things that
python-apt does.

~Niels


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to