Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 243304

Summary: app-portage/gentoolkit- man page for revdep-rebuild should specify the location of env files
Product: Gentoo Linux Reporter: DEMAINE Benoît-Pierre, aka DoubleHP <dhp_gentoo>
Component: Current packagesAssignee: Portage Tools Team <tools-portage>
Severity: enhancement Keywords: InVCS
Priority: High    
Version: 2007.0   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 268001    
Attachments: revdep-rebuild.1-new-files.patch

Description DEMAINE Benoît-Pierre, aka DoubleHP 2008-10-23 01:35:15 UTC
Recently, i stopped a revdep-rebuild process, and wanted to clean the cache files. As usual, i tried as root in it's ~ :
rm ~/.revd*
and it failed.

Fact is, a recent change in revdep is that cache are no more in /root, but in var, and, this is a very nice change.

But i would suggest that those cache files are mentionned in the man page, as for most other programs: the FILES section (which by the way has to be created) should contain a description about this. As for man portage, or man updatedb IE ...

I found the answer to my problem in revdep-rebuild -v: /var/cache/revdep-rebuild/

Standard output file may also provide a message like: "found cache files /var/cache/revdep-rebuild/ from previous execution; if you want to deny previous results, you should delete /var/cache/revdep-rebuild/*" even when not in verbose mode.

Comment 1 Mike Auty (RETIRED) gentoo-dev 2008-10-23 09:27:59 UTC
The latest version of "revdep-rebuild --help" includes the following:

  -i, --ignore         Ignore temporary files from previous runs

So it shouldn't be necessary to manually delete the revdep-rebuild files...
Comment 2 DEMAINE Benoît-Pierre, aka DoubleHP 2008-10-23 14:12:43 UTC
Yes, but still :) a FILES section could give details for free :)
Comment 3 Paul Varner (RETIRED) gentoo-dev 2008-10-23 16:11:51 UTC

*** This bug has been marked as a duplicate of bug 236378 ***
Comment 4 2008-11-28 21:33:53 UTC
Created attachment 173707 [details, diff]

Does this help?
Comment 5 2008-12-13 21:42:57 UTC
Man page should indeed contain FILES section describing the cache, etc.
Comment 6 Paul Varner (RETIRED) gentoo-dev 2009-05-01 03:26:23 UTC
Released in gentoolkit-