Gentoo Archives: gentoo-alt

From: Markus Duft <mduft@g.o>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] upgrading packages with EAPI=prefix 1?
Date: Fri, 17 Apr 2009 08:56:16
Message-Id: 1239957987.13173.8.camel@localhost
In Reply to: [gentoo-alt] upgrading packages with EAPI=prefix 1? by Markus Duft
1 On Fri, 2009-04-17 at 10:28 +0200, Markus Duft wrote:
2 > Hey all!
3 >
4 > have a question to throw into the room :)
5 >
6 > i'm just about to do -avuD world on a rather old (1 month) prefix. of
7 > course as first step i had to do -v1 --nodeps portage to be able to do
8 > anything. after that things went quite fine, up until
9 > libxfce4util-4.4.3.
10 >
11 > i get this problem (on interix, i guess hpux would have the same issue):
12 >
13 > [stack trace partially omitted]
14 > File "/opt/gentoo/usr/lib/portage/pym/portage/dbapi/vartree.py", line
15 > 2580, in unmerge
16 > self._unmerge_pkgfiles(pkgfiles, others_in_slot)
17 > File "/opt/gentoo/usr/lib/portage/pym/portage/dbapi/vartree.py", line
18 > 2858, in _unmerge_pkgfiles
19 > unlink(obj, lstatobj)
20 > File "/opt/gentoo/usr/lib/portage/pym/portage/dbapi/vartree.py", line
21 > 2796, in unlink
22 > os.unlink(file_name)
23 > OSError: [Errno 26] Text file busy:
24 > '/opt/gentoo/usr/lib/libxfce4util.so.4.0.2'
25
26 i forgot to mention: on interix and hp-ux, busy files cannot be deleted,
27 so there is a bashrc hook, which has some mv magic to mv/cp files around
28 as that unmerging is possible... seems that hook is not called since the
29 EAPI doesn't match...
30
31 >
32 > scolling back a little through well-looking merge output, i stumbled
33 > across this one:
34 >
35 > ...
36 > >>> /opt/gentoo/usr/lib/libxfce4util.so.4 -> libxfce4util.so.4.1.1
37 > >>> Safely unmerging already-installed instance...
38 > !!! FAILED
39 > prerm: /opt/gentoo/var/db/pkg/xfce-base/libxfce4util-4.4.3/EAPI
40 > Unable to do any operations on 'xfce-base/libxfce4util-4.4.3', since
41 > it's EAPI is higher than this portage version's. Please upgrade to a
42 > portage version that supports EAPI 'prefix 1'.
43 > No package files given... Grabbing a set.
44 > --- replaced
45 > obj /opt/gentoo/usr/share/locale/ur/LC_MESSAGES/libxfce4util.mo
46 > ...
47 >
48 > is this
49 >
50 > a) known?
51 > b) solvable?
52 >
53 > thanks guys...
54 >
55 > cheers, Markus
56 >
57 >

Replies

Subject Author
Re: [gentoo-alt] upgrading packages with EAPI=prefix 1? Fabian Groffen <grobian@g.o>