On Tue, 19 Jul 2011 09:22:30 +0200, Dominique Dumont wrote:

> > It fails to open /var/cache/apt/pkgcache.bin and then the package lists and
> > status file could not be parsed.

> I think it's related to this debian/control snippet introduced in last 
> version 
> of libconfig-model-perl package:

> ${corelist:Depends} is computed in debian/rules:
>   CORELIST = $(shell apt-cache policy libmodule-corelist-perl | awk 
> '/Candidate/ {sub(/-[^-]+$$/,"",$$2); print $$2;}')

Yes, of course, that's the point where it's failing ...
        
> Looks like CORELIST variable can be empty in the buildd. 

... because of the "fails to open /var/cache/apt/pkgcache.bin".
Now the interesting question is _why_ this happens.

> We need to re-think how this dependency is computed.

Hm, yeah, as Lucas has proven that might be too fragile ...

Any ideas on how to get the version without using apt-cache?
Or should we use a default version if we don't get the real one?
Or something completley different?

Cheers,
gregor

-- 
 .''`.   Homepage: http://info.comodo.priv.at/ - PGP/GPG key ID: 0x8649AA06
 : :' :  Debian GNU/Linux user, admin, & developer - http://www.debian.org/
 `. `'   Member of VIBE!AT & SPI, fellow of Free Software Foundation Europe
   `-    BOFH excuse #61:  not approved by the FCC 

Attachment: signature.asc
Description: Digital signature

Reply via email to