Gentoo Archives: gentoo-dev

From: Dan Armak <danarmak@g.o>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] emerge issue when package does not unmerge correctly
Date: Sun, 30 Dec 2001 13:46:49
Message-Id: 0GP60031V9MJ48@mxout2.netvision.net.il
In Reply to: Re: [gentoo-dev] emerge issue when package does not unmerge correctly by Daniel Robbins
1 On Sunday 30 December 2001 18:32, you wrote:
2 > Just try unmerging it again; it should do the right thing.
3
4 It doesn't.
5
6 Details: I did the following test:
7 1) create a completely empty app-admin/foo/foo-1.ebuild.
8 2) emerge it.
9 3) edit /var/db/pkg/app-admin/foo-1/foo-1.ebuild to say "exit 1".
10 4) modify /usr/portage/app-admin/foo/foo-1.ebuild to say:
11 src_install() { dodir /tmp; }
12 to differentiate it by its CONTENTS from the one istalled.
13 5) emerge app-admin/foo again. It is merged, and e.g. CONTENTS is updated;
14 but unmerging fails, and the old foo-1.ebuild is kept in
15 /var/db/pkg/app-admin/foo-1, even though all other files (CONTENTS, USE,
16 RDEPEND...) are apparently updated.
17
18 So, there's a problem.
19
20 --
21
22 Dan Armak
23 Gentoo Linux Developer, Desktop Team
24 Matan, Israel

Replies