View previous topic :: View next topic |
Author |
Message |
dhave Apprentice
Joined: 28 Oct 2005 Posts: 298 Location: Still outside the Matrix ...
|
Posted: Wed Mar 07, 2007 5:05 pm Post subject: [PALUDIS] stale cache warning? [SOLVED] |
|
|
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 |
|
|
dhave Apprentice
Joined: 28 Oct 2005 Posts: 298 Location: Still outside the Matrix ...
|
Posted: Wed Mar 07, 2007 5:16 pm Post subject: |
|
|
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 |
|
|
truc Advocate
Joined: 25 Jul 2005 Posts: 3199
|
Posted: Wed Mar 07, 2007 5:56 pm Post subject: Re: [PALUDIS] stale cache warning? |
|
|
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 |
|
|
dhave Apprentice
Joined: 28 Oct 2005 Posts: 298 Location: Still outside the Matrix ...
|
Posted: Wed Mar 07, 2007 6:31 pm Post subject: |
|
|
Thank you very much, truc. I was hoping somebody could explain what was going on. _________________ This space available! |
|
Back to top |
|
|
|