Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[PALUDIS] stale cache warning? [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
dhave
Apprentice
Apprentice


Joined: 28 Oct 2005
Posts: 298
Location: Still outside the Matrix ...

PostPosted: Wed Mar 07, 2007 5:05 pm    Post subject: [PALUDIS] stale cache warning? [SOLVED] Reply with quote

Today when I did "paludis -pi world" I got this:

Code:
Building target list...
Building dependency list...paludis@1173268933: [WARNING] Stale cache file at '/usr/portage/metadata/cache/app-portage/gentoolkit-0.2.3'
paludis@1173268933: [WARNING] Stale cache file at '/var/cache/paludis/metadata/gentoo/app-portage/gentoolkit-0.2.3'
paludis@1173268933: [WARNING] No usable cache entry for 'app-portage/gentoolkit-0.2.3' in 'gentoo'


I regenerated the cache with " paludis --regenerate-installed-cache", but the warning message persists.

I coudn't find anything about this, but I may not have looked thoroughly enough. Does anybody have a clue? Thanks.
_________________
This space available!


Last edited by dhave on Wed Mar 07, 2007 6:32 pm; edited 1 time in total
Back to top
View user's profile Send private message
dhave
Apprentice
Apprentice


Joined: 28 Oct 2005
Posts: 298
Location: Still outside the Matrix ...

PostPosted: Wed Mar 07, 2007 5:16 pm    Post subject: Reply with quote

Hmm. I just did another sync, and the warning went away. I'll refrain from marking this thread "SOLVED" in case somebody wants to enlighten us a bit on what's happening here.

From the screen messages produced by "paludis --sync", I gather that paludis is supposed to clean (whatever that means) or rewrite the cache. Maybe this didn't happen previously for some reason.
_________________
This space available!
Back to top
View user's profile Send private message
truc
Advocate
Advocate


Joined: 25 Jul 2005
Posts: 3199

PostPosted: Wed Mar 07, 2007 5:56 pm    Post subject: Re: [PALUDIS] stale cache warning? Reply with quote

Code:
Building dependency list...paludis@1173268933: [WARNING] Stale cache file at '/usr/portage/metadata/cache/app-portage/gentoolkit-0.2.3'

I'm not sure why this cache file was also stale, but for this one
Code:
paludis@1173268933: [WARNING] Stale cache file at '/var/cache/paludis/metadata/gentoo/app-portage/gentoolkit-0.2.3'

this is probably because you defined the write_cache key for the gentoo repository (and you shouldn't need to, since this repository already provides its metadata/cache), and the cache file generated when you searched with paludis (--query) was no longer "valid" at the time you ran the command giving this output.

this is what I understand but I can be wrong:)

Quote:
I regenerated the cache with " paludis --regenerate-installed-cache", but the warning message persists.

Running paludis -q gentoolkit would have been enough to rewrite the '/var/cache/paludis/metadata/gentoo/app-portage/gentoolkit-0.2.3' cache file, but for the other one ( '/usr/portage/metadata/cache/app-portage/gentoolkit-0.2.3' ) the --sync was needed.
_________________
The End of the Internet!
Back to top
View user's profile Send private message
dhave
Apprentice
Apprentice


Joined: 28 Oct 2005
Posts: 298
Location: Still outside the Matrix ...

PostPosted: Wed Mar 07, 2007 6:31 pm    Post subject: Reply with quote

Thank you very much, truc. I was hoping somebody could explain what was going on.
_________________
This space available!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum