Gentoo Archives: gentoo-dev

From: Martin Schlemmer <azarah@g.o>
To: Bastian Fuchs <bastiaf@×××.de>
Cc: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] emerge -c mozilla fails
Date: Fri, 02 Aug 2002 20:43:03
Message-Id: 1028338936.31809.110.camel@nosferatu.lan
In Reply to: [gentoo-dev] emerge -c mozilla fails by Bastian Fuchs
1 On Sat, 2002-08-03 at 03:01, Bastian Fuchs wrote:
2 > I want to uninstall mozilla, but emerge -c mozilla fails:
3 >
4 > -----------------------------------------------------------------
5 > vulpec ~ # emerge -c mozilla
6 >
7 > net-www/mozilla
8 > selected: 1.0-r1
9 > protected: 1.1_beta
10 > omitted: none
11 >
12 > .
13 > .
14 > .
15 > .
16 > .
17 > --- !empty dir /usr/bin
18 > --- !empty dir /usr
19 > --- !empty dir /etc/env.d
20 > --- !empty dir /etc
21 > --- !targe sym /usr/include/mozilla
22 > chmod: failed to get attributes of `//usr/lib/mozilla/component.reg': No such
23 > file or directory
24 > !!! pkg_postrm() script failed; exiting.
25 > -----------------------------------------------------------------
26 >
27 >
28 > Is there an feature like --force for emerge or other ways to deinstall the
29 > older version?
30 >
31
32 Edit the ebuild in
33
34 /var/db/pkg/net-www/mozilla-<version>/mozilla-<version>.ebuild
35
36 And remove pkg_postrm(). Then try to unmerge again.
37
38
39 --
40
41 Martin Schlemmer
42 Gentoo Linux Developer, Desktop Team Developer
43 Cape Town, South Africa