Gentoo Archives: gentoo-user

From: Albert Hopkins <marduk@×××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Package removal error
Date: Mon, 31 Mar 2008 22:19:53
Message-Id: 1207001990.5111.21.camel@localhost
In Reply to: [gentoo-user] Package removal error by "Anthony E. Caudel"
1 On Mon, 2008-03-31 at 17:10 -0500, Anthony E. Caudel wrote:
2 > While updating world and after emerging a new version of texinfo, I
3 > received the following error when it tried to remove the old version:
4 >
5 > ==========================================
6 > sys-apps/texinfo
7 > selected: 4.8-r5
8 > protected: 4.11-r1
9 > omitted: none
10 >
11 > >>> 'Selected' packages are slated for removal.
12 > >>> 'Protected' and 'omitted' packages will not be removed.
13 >
14 > >>> Unmerging sys-apps/texinfo-4.8-r5...
15 > /var/tmp/binpkgs/sys-apps/texinfo-4.8-r5/temp/environment: line 256:
16 > syntax error near unexpected token `('
17 > /var/tmp/binpkgs/sys-apps/texinfo-4.8-r5/temp/environment: line 256:
18 > ` done <<(get_mounts);'
19 > *
20 > * ERROR: sys-apps/texinfo-4.8-r5 failed.
21 > * Call stack:
22 > * ebuild.sh, line 1641: Called die
23 > * The specific snippet of code:
24 > * preprocess_ebuild_env || \
25 > * die "error processing environment"
26 > * The die message:
27 > * error processing environment
28 > *
29 > * If you need support, post the topmost build error, and the call stack
30 > if relevant.
31 > * A complete build log is located at
32 > '/var/tmp/binpkgs/sys-apps/texinfo-4.8-r5/temp/build.log'.
33 > * The ebuild environment file is located at
34 > '/var/tmp/binpkgs/sys-apps/texinfo-4.8-r5/temp/environment'.
35 > *
36 > !!! FAILED prerm: 1
37 > * The 'prerm' phase of the 'sys-apps/texinfo-4.8-r5' package has failed
38 > * with exit value 1. The problem occurred while executing the ebuild
39 > * located at '/var/db/pkg/sys-apps/texinfo-4.8-r5/texinfo-4.8-r5.ebuild'.
40 > * If necessary, manually remove the ebuild in order to skip the execution
41 > * of removal phases.
42 > ========================================
43 >
44 > How do I handle this? I notice it recommends removing the ebuild but
45 > how would that remove the old package? Should I just wait and re-sync
46 > after a while, hoping they fix it. Nothing in BGO yet.
47 >
48
49 Perhaps you could post the pkg_prerm function
50 in /var/db/pkg/sys-apps/texinfo-4.8-r5/texinfo-4.8-r5.ebuild or look at
51 it yourself so we'd know what it is doing and possibly find our why it's
52 failing.
53
54 -a
55
56 --
57 gentoo-user@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Package removal error "Anthony E. Caudel" <tony.caudel@×××××××××.net>