[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#843401: apt-file: Use of uninitialized value



Cristian Ionescu-Idbohrn:
> On Sun, 6 Nov 2016, Niels Thykier wrote:
>>
>> Hi Cristian,
> 
> Niels.
> 
>> Thanks for the report.
> 
> Thanks for looking into this.
> 
>> Unfortunately, I cannot reproduce it at all locally.  I suspect it may
>> be due to differences in our repos or in our systems.
> 
> Yes, I suspect that too.
> I'm using apt sources at http://www.deb-multimedia.org.
> I believe both bugs I filed on apt-file have the same source.  See
> below.
> 

Indeed, the other bug gave me sufficient hint to reproduce it.

An upload is on its way to unstable to fix this. :)

>> Could you please provide the full output of:
>>
>>> $ apt-file -v --filter-suites sid list apt-file
>>> $ apt-get indextargets --format '$(IDENTIFIER) $(ARCHITECTURE) $(ORIGIN) $(CODENAME),$(SUITE) $(FILENAME)'
> 
> Using the later hint, I found out the possible cause of the problem.
> The files /var/lib/apt/lists/*_InRelease the header:
> 
> 	Origin: Debian
> 	        ^^^^^^
> to just _one_ word.  deb-multimedia uses 3 words:
> 
> 	Origin: Unofficial Multimedia Packages
> 	        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 
> and the parser does not make the distinction.  One may argue
> deb-multimedia is at fault here [...]
> 
> Cheers,
> 

Apparently it is allowed to have spaces in the Origin, so I have gone
with just fixing apt-file. :)

Look out for apt-file/3.1.3, which should appear in an unstable mirror
near you. :)

Thanks,
~Niels


Reply to: