public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Albert Hopkins <marduk@letterboxes.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Package removal error
Date: Mon, 31 Mar 2008 17:19:50 -0500	[thread overview]
Message-ID: <1207001990.5111.21.camel@localhost> (raw)
In-Reply-To: <47F1616C.1010308@sbcglobal.net>

On Mon, 2008-03-31 at 17:10 -0500, Anthony E. Caudel wrote:
> While updating world and after emerging a new version of texinfo, I 
> received the following error when it tried to remove the old version:
> 
> ==========================================
>  sys-apps/texinfo
>     selected: 4.8-r5
>    protected: 4.11-r1
>      omitted: none
> 
>  >>> 'Selected' packages are slated for removal.
>  >>> 'Protected' and 'omitted' packages will not be removed.
> 
>  >>> Unmerging sys-apps/texinfo-4.8-r5...
> /var/tmp/binpkgs/sys-apps/texinfo-4.8-r5/temp/environment: line 256: 
> syntax error near unexpected token `('
> /var/tmp/binpkgs/sys-apps/texinfo-4.8-r5/temp/environment: line 256: 
> `            done <<(get_mounts);'
>  *
>  * ERROR: sys-apps/texinfo-4.8-r5 failed.
>  * Call stack:
>  *               ebuild.sh, line 1641:  Called die
>  * The specific snippet of code:
>  *      preprocess_ebuild_env || \
>  *              die "error processing environment"
>  *  The die message:
>  *   error processing environment
>  *
>  * If you need support, post the topmost build error, and the call stack 
> if relevant.
>  * A complete build log is located at 
> '/var/tmp/binpkgs/sys-apps/texinfo-4.8-r5/temp/build.log'.
>  * The ebuild environment file is located at 
> '/var/tmp/binpkgs/sys-apps/texinfo-4.8-r5/temp/environment'.
>  *
> !!! FAILED prerm: 1
>  * The 'prerm' phase of the 'sys-apps/texinfo-4.8-r5' package has failed
>  * with exit value 1. The problem occurred while executing the ebuild
>  * located at '/var/db/pkg/sys-apps/texinfo-4.8-r5/texinfo-4.8-r5.ebuild'.
>  * If necessary, manually remove the ebuild in order to skip the execution
>  * of removal phases.
> ========================================
> 
> How do I handle this?  I notice it recommends removing the ebuild but 
> how would that remove the old package?  Should I just wait and re-sync 
> after a while, hoping they fix it.  Nothing in BGO yet.
> 

Perhaps you could post the pkg_prerm function
in /var/db/pkg/sys-apps/texinfo-4.8-r5/texinfo-4.8-r5.ebuild or look at
it yourself so we'd know what it is doing and possibly find our why it's
failing.

-a

-- 
gentoo-user@lists.gentoo.org mailing list



  reply	other threads:[~2008-03-31 22:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-31 22:10 [gentoo-user] Package removal error Anthony E. Caudel
2008-03-31 22:19 ` Albert Hopkins [this message]
2008-03-31 22:35   ` Anthony E. Caudel
2008-04-01  4:07 ` [gentoo-user] Package removal error [solved] Anthony E. Caudel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1207001990.5111.21.camel@localhost \
    --to=marduk@letterboxes.org \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox