Gentoo Archives: gentoo-alt

From: Fabian Groffen <grobian@g.o>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] unemerging causes a bad symlink removal
Date: Fri, 28 Aug 2009 04:08:53
Message-Id: 20090828091859.GK6839@gentoo.org
In Reply to: Re: [gentoo-alt] unemerging causes a bad symlink removal by Alan Hourihane
1 On 28-08-2009 10:08:11 +0100, Alan Hourihane wrote:
2 > > I guess the problem is more why it wants to remove that /usr. Maybe
3 > > because of the same problem we once had during install, where paths
4 > > "below" the offset prefix shouldn't be taken into account at all,
5 > > because you should not do anything there, and may not even be able to do
6 > > so.
7 >
8 > All you need to do is look at the CONTENTS file which as something like
9 > this...
10 >
11 > dir /usr
12 > dir /usr/bin
13 > obj /usr/bin/comm 4e28628520359733270907c62c738b3f 1250795126
14 > obj /usr/bin/arch 59d8b1d83cfbc020751c8febc4706901 1250795126
15 > obj /usr/bin/factor a68ac36164e0ac5c1245e358e688942e 1250795126
16 >
17 > Look at the first line.... Enough said...
18
19 right, but your prefix is '/', so that makes sense.
20
21 the "fix" is most probably that portage shouldn't remove a symlink if it
22 expects a dir. Put differently, portage should ensure that it only
23 unmerges what it expects. Would that theory work?
24
25
26 --
27 Fabian Groffen
28 Gentoo on a different level

Replies

Subject Author
Re: [gentoo-alt] unemerging causes a bad symlink removal Alan Hourihane <alanh@×××××××××××.uk>