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

Bug 34970

Summary: baselayout-1.8.6.12-r2 assumes there is a /home dir, trashes the dependency tree
Product: Gentoo Linux Reporter: wal mart <walmart>
Component: [OLD] Core systemAssignee: Martin Schlemmer (RETIRED) <azarah>
Status: RESOLVED DUPLICATE    
Severity: critical    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description wal mart 2003-12-03 07:06:28 UTC
!!! copy /var/tmp/portage/baselayout-1.8.6.12-r2/image/home/.keep -> /home/.keep
failed.
!!! [Errno 13] Permission denied: '/home/.keep#new'
carnivore root # emerge -upD world

These are the packages that I would merge, in order:

Calculating world dependencies ...done!
Traceback (most recent call last):
  File "/usr/bin/emerge", line 2200, in ?
    mydepgraph.display(mydepgraph.altlist())
  File "/usr/bin/emerge", line 1105, in display
    elif (not "--emptytree" in myopts) and
portage.db[x[1]]["vartree"].exists_specific_cat(x[2]):
  File "/usr/lib/portage/pym/portage.py", line 3480, in exists_specific_cat
    self.invalidentry(self.root+"var/db/pkg/"+a[0]+"/"+x)
AttributeError: vartree instance has no attribute 'invalidentry'
carnivore root # 


Reproducible: Always
Steps to Reproduce:
1. make /home unwriteable (mine is an NFS mount)
2. emerge baselayout-1.8.6.12-r2
3. repeat until bored

Actual Results:  
emerge -p no longer works

Expected Results:  
installed correctly
Comment 1 SpanKY gentoo-dev 2003-12-03 10:02:33 UTC

*** This bug has been marked as a duplicate of 9849 ***