Summary: | [PATCH] Using $ROOT, package moves are unnecessarily reapplied | ||
---|---|---|---|
Product: | Portage Development | Reporter: | TGL <tom.gl> |
Component: | Core | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | radek |
Priority: | High | Keywords: | Inclusion |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=379749 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 137867 | ||
Attachments: |
mtimedbdict.patch
mtimedbdict.patch |
Description
TGL
2003-12-16 05:29:16 UTC
Created attachment 22294 [details, diff]
mtimedbdict.patch
Patch is against 2.0.50_pre1.
Created attachment 24247 [details, diff]
mtimedbdict.patch
The same, updated for 2.0.50_pre19.
The "not updating $ROOT/var/db/pkg" is a serious flaw IMHO, can someone review the patches and/or verify it's true/false? I'm about to manage a complete $ROOTed system from outside and this would make it impossible... (In reply to comment #0) > When you use portage in a non-standard root (`ROOT=/some/path emerge ...`), > it uses an mtimedb located in $ROOT/var/cache/edb/. This is good. But it > also makes it re-apply all portage upgrades (the > /usr/portage/profiles/updates stuff) to /var/db/pkg and binary packages. > This is useless and time consuming. That's been fixed for awhile now: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=0f436b2b66f58b3504be6cf5e75a5d6f1f99e799 > Also, it will never apply any upgrade to > $ROOT/var/db/pkg (and neither to $ROOT/var/cache/edb/{virtuals,world}). You can use emaint --fix movebin and/or moveinst for this. |