zlocal and /var/state/lunar/depends.cache

Moritz Heiber moe at lunar-linux.org
Fri Jun 8 13:27:03 CEST 2007


On 8 Jun 2007 19:52:59 +0900
i-hope-they-die <i-hope-they-die at inter7.jp> wrote:

> Hi, I wanted to lin "imlib" without linning gtk+(1).
> So I copied imlib module to /zlocal and delete a line "depends gtk+".
> Then I invoked "lin -cr imlib" and it still tried to lin gtk+...
> I realised that /var/state/lunar/depends.cache was responsible
> for it, so  I deleted a line "imlib:gtk+:required:::"
> from the file, and finally got an expected result.
> I had first thought that "lunar fixdepends" was there for the case.
> But it wan't.
> 
> So my question is, 
> do I have to edit depends.cache any time
> when I modified DEPENDS file of modules?

You can recreate the cache by running two commands:

$ lsh create_module_index
$ lsh create_depends_cache

That will regenerate the module index file and after that update the
dependency cache for those modules.

Regards,

Moritz

-- 
GPG public key B189E8C8


More information about the Lunar mailing list