Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-alt
Navigation:
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-alt@g.o
From: Markus Duft <mduft@g.o>
Subject: Re: upgrading packages with EAPI=prefix 1?
Date: Fri, 17 Apr 2009 10:46:27 +0200
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:
Re: upgrading packages with EAPI=prefix 1?
-- Fabian Groffen
References:
upgrading packages with EAPI=prefix 1?
-- Markus Duft
Navigation:
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
upgrading packages with EAPI=prefix 1?
Next by thread:
Re: upgrading packages with EAPI=prefix 1?
Previous by date:
upgrading packages with EAPI=prefix 1?
Next by date:
Re: upgrading packages with EAPI=prefix 1?


Updated Jun 17, 2009

Summary: Archive of the gentoo-alt mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.