1 |
On Sun, Dec 30, 2001 at 03:48:09PM +0200, Dan Armak wrote: |
2 |
> Hi all, |
3 |
> |
4 |
> Sometimes an old ebuild cannot be unmerged. This happened to me with the |
5 |
> recent eclass changes - the old inheriting ebuilds already installed no |
6 |
> longer worked. (I have since provided backward compatibility.) |
7 |
> |
8 |
> This creates a problem: when an older ebuild of the same revision is |
9 |
> automatically unmerged, if unmerging fails, the old CONTENTS stays in |
10 |
> /var/db/pkg, but the new files have already been merged into the live |
11 |
> filesystem. So you are left with a CONTENTS not corresponding to the files |
12 |
> actually installed (since they all have at least different mtimes). |
13 |
> |
14 |
> I think the correct thing here would be to overwrite the old /var/db/pkg |
15 |
> record with the new one in any case, to ensure that it matches the installed |
16 |
> files. |
17 |
|
18 |
Just try unmerging it again; it should do the right thing. |
19 |
|
20 |
-- |
21 |
Daniel Robbins <drobbins@g.o> |
22 |
Chief Architect/President http://www.gentoo.org |
23 |
Gentoo Technologies, Inc. |