1 |
On Fri, 2009-08-28 at 11:04 +0200, Fabian Groffen wrote: |
2 |
> On 28-08-2009 09:48:45 +0100, Alan Hourihane wrote: |
3 |
> > Hi, |
4 |
> > |
5 |
> > I'm using an EPREFIX set to "/" and I have a symlink like so.... |
6 |
> > |
7 |
> > /usr -> /j/usr |
8 |
> > |
9 |
> > Now, when I come to unemerging a package the code in vartree.py does |
10 |
> > it's thing and when it gets to the above it removes my symlink /usr |
11 |
> > which should point to /j/usr and everything breaks until I re-instate |
12 |
> > it. |
13 |
> > |
14 |
> > I think that even when EPREFIX is used normally then this problem could |
15 |
> > arise. How many people unemerge something in prefix now ??? |
16 |
> |
17 |
> I guess the problem is more why it wants to remove that /usr. Maybe |
18 |
> because of the same problem we once had during install, where paths |
19 |
> "below" the offset prefix shouldn't be taken into account at all, |
20 |
> because you should not do anything there, and may not even be able to do |
21 |
> so. |
22 |
|
23 |
All you need to do is look at the CONTENTS file which as something like |
24 |
this... |
25 |
|
26 |
dir /usr |
27 |
dir /usr/bin |
28 |
obj /usr/bin/comm 4e28628520359733270907c62c738b3f 1250795126 |
29 |
obj /usr/bin/arch 59d8b1d83cfbc020751c8febc4706901 1250795126 |
30 |
obj /usr/bin/factor a68ac36164e0ac5c1245e358e688942e 1250795126 |
31 |
|
32 |
Look at the first line.... Enough said... |
33 |
|
34 |
Alan. |