Summary: | It takes emerge -av <pkg> over 1 minute to figure out <pkg> does not exist | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Jan Matějka (RETIRED) <yac> |
Component: | Core | Assignee: | Portage team <dev-portage> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 290428 | ||
Bug Blocks: |
Description
Jan Matějka (RETIRED)
2015-04-24 23:57:24 UTC
Note it also makes no sense that emerge is displaying "calculating dependencies" during all that time. We can do away with all those calls shown in comment #0 if we assume that the top-level directory mtime is bumped when appropriate as discussed in bug 290428. It could cause problems if an alternative package manager such as Paludis has been used to install packages, though. In order for vardbapi to take advantage of the mtime updates from bug 290428, it will have to store the mtimes for the top-level and category-level directories in vdb_metadata.pickle and vdb_metadata_delta.json. Then it can use those mtimes to trigger cache invalidation, and avoid redundant listdir/stat calls when the cache is valid. |