On Sat, Apr 27, 2013 at 07:22:51PM +0100, Josh Berdine wrote: > Package: apt-file > Version: 2.5.1 > Severity: normal > > Dear Maintainer, > > * What led up to the situation? > > I added the entry > > deb [arch=i386 trusted=yes] http://download.skype.com/linux/repos/debian/ > stable non-free #skype > > to /etc/sources.list . > > * What exactly did you do (or not do) that was effective (or > ineffective)? > > Executed > > $ apt-file search /lib/x86_64-linux-gnu/libc.so.6 > > * What was the outcome of this action? > > > The following output was produced: > > Use of uninitialized value $scheme in string at /usr/bin/apt-file line 185, > <SOURCE> line 15. > Use of uninitialized value $scheme in concatenation (.) or string at > /usr/bin/apt-file line 186, <SOURCE> line 15. > W: Don't know how to handle > Use of uninitialized value $scheme in string at /usr/bin/apt-file line 185, > <SOURCE> line 15. > Use of uninitialized value $scheme in concatenation (.) or string at > /usr/bin/apt-file line 186, <SOURCE> line 15. > W: Don't know how to handle > libc6: /lib/x86_64-linux-gnu/libc.so.6 > > > * What outcome did you expect instead? > > libc6: /lib/x86_64-linux-gnu/libc.so.6 > > If the sources.list entry is modified to > deb [arch=i386] http://download.skype.com/linux/repos/debian/ stable > non-free #skype > or > deb [trusted=yes] http://download.skype.com/linux/repos/debian/ stable > non-free #skype > then no errors are reported.
I experience the exact same errors when spaces are present between the square brackets of the option lists. E.g. each of these lines will trigger the same error: > deb [ arch=amd64,i386 ] http://ftp.nl.debian.org/debian/ jessie main > deb [ arch=amd64 ] http://www.emdebian.org/debian/ jessie main > deb [ arch=armhf ] http://archive.raspbian.org/raspbian/ wheezy main Remove the spaces to get the following and the errors disappear: > deb [arch=amd64,i386] http://ftp.nl.debian.org/debian/ jessie main > deb [arch=amd64] http://www.emdebian.org/debian/ jessie main > deb [arch=armhf] http://archive.raspbian.org/raspbian/ wheezy main -- Met vriendelijke groet, With kind regards, Giel van Schijndel -- "A clever person solves a problem. A wise person avoids it." -- Albert Einstein
signature.asc
Description: Digital signature