Ticket #156 (closed defect: wontfix)
Failure when trying to install to an alternative ROOT
| Reported by: | nirbheek.chauhan@… | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | pkgcore | Version: | 0.4.2 |
| Keywords: | Cc: |
Description
When trying to install packages to an alternative ROOT, if the ROOT doesn't have an existing vdb, pkgcore fails as shown:
# ROOT=/mnt/test pmerge -a sed Error in configuration: Instantiating default domain 'livefs domain': Caught exception "initialization failed: lstat failed on base '/mnt/test/var/db/pkg'" instantiating pkgcore.vdb.ondisk.tree
/mnt/test/ was an empty directory before trying
# ls -dl /mnt/test/ drwxr-xr-x 2 root root 48 Mar 31 01:54 /mnt/test/
It does work, however, if there's an existing vdb in the alternative ROOT. This is contrary to portage behaviour, which proceeds with glee.
Change History
Note: See
TracTickets for help on using
tickets.
