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
On Fri, 2009-04-17 at 10:28 +0200, Markus Duft wrote:
> Hey all! > > have a question to throw into the room :) > > i'm just about to do -avuD world on a rather old (1 month) prefix. of > course as first step i had to do -v1 --nodeps portage to be able to do > anything. after that things went quite fine, up until > libxfce4util-4.4.3. > > i get this problem (on interix, i guess hpux would have the same issue): > > [stack trace partially omitted] > File "/opt/gentoo/usr/lib/portage/pym/portage/dbapi/vartree.py", line > 2580, in unmerge > self._unmerge_pkgfiles(pkgfiles, others_in_slot) > File "/opt/gentoo/usr/lib/portage/pym/portage/dbapi/vartree.py", line > 2858, in _unmerge_pkgfiles > unlink(obj, lstatobj) > File "/opt/gentoo/usr/lib/portage/pym/portage/dbapi/vartree.py", line > 2796, in unlink > os.unlink(file_name) > OSError: [Errno 26] Text file busy: > '/opt/gentoo/usr/lib/libxfce4util.so.4.0.2'
i forgot to mention: on interix and hp-ux, busy files cannot be deleted, so there is a bashrc hook, which has some mv magic to mv/cp files around as that unmerging is possible... seems that hook is not called since the EAPI doesn't match...
> > scolling back a little through well-looking merge output, i stumbled > across this one: > > ... > >>> /opt/gentoo/usr/lib/libxfce4util.so.4 -> libxfce4util.so.4.1.1 > >>> Safely unmerging already-installed instance... > !!! FAILED > prerm: /opt/gentoo/var/db/pkg/xfce-base/libxfce4util-4.4.3/EAPI > Unable to do any operations on 'xfce-base/libxfce4util-4.4.3', since > it's EAPI is higher than this portage version's. Please upgrade to a > portage version that supports EAPI 'prefix 1'. > No package files given... Grabbing a set. > --- replaced > obj /opt/gentoo/usr/share/locale/ur/LC_MESSAGES/libxfce4util.mo > ... > > is this > > a) known? > b) solvable? > > thanks guys... > > cheers, Markus > >

Replies

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