Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 63892 - Store and use calculated dependencies after emerge -pv
Summary: Store and use calculated dependencies after emerge -pv
Status: RESOLVED WONTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-13 07:37 UTC by norbert kamenicky
Modified: 2004-09-22 08:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description norbert kamenicky 2004-09-13 07:37:05 UTC
emerge -uDpv world
calculates all dependencies and shows what to update ...

next, (if I am happy with the result), I run
emerge -uD world
emerge calculates dependencies again, although it was successfully done
in previous command, what is wasting of time etc.

I suppose to store dependencies (similary as revdep-rebuild does)
for emerge with --pretend (-p) switch.

Dependencies can be used in these cases:

If --verbose switch is added to previous emerge command
If --pretend or --verbose (or their shortcuts) is removed
    from previous emerge command

Every other emerge command cancels stored deps.


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Nicholas Jones (RETIRED) gentoo-dev 2004-09-21 17:08:30 UTC
No.

Cache/Concurrency issue.

It's safer to not cache.
Comment 2 norbert kamenicky 2004-09-22 07:56:23 UTC
Hi Nicholas,

I really do not understand why would be using stored
dependencies (which were stored few minutes before
and nothing changed on system) dangerous.
The only danger I see in bad implementation.
IMHO not using cache is bad implementation too.
Comment 3 Marius Mauch (RETIRED) gentoo-dev 2004-09-22 08:23:13 UTC
you want `emerge --ask`. General caching is problematic as you can change USE flags or other stuff that invalidates the cache between emerge runs which would result in a lot of checks.