FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 10-13-2010, 07:05 PM
Hilco Wijbenga
 
Default emerge --unmerge fails

Hi all,

I'm trying to unmerge some packages. They all fail like this:

centaur ~ # emerge --unmerge arora
* This action can remove important packages! In order to be safer, use
* `emerge -pv --depclean <atom>` to check for reverse dependencies before
* removing packages.

www-client/arora
selected: 0.11.0
protected: none
omitted: none

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.

>>> Waiting 5 seconds before starting...
>>> (Control-C to abort)...
>>> Unmerging in: 5 4 3 2 1
>>> Unmerging www-client/arora-0.11.0...
* The 'prerm' phase of the 'www-client/arora-0.11.0' package has failed
* with exit value -1.
*
* The problem occurred while executing the ebuild file named
* 'arora-0.11.0.ebuild' located in the '/var/db/pkg/www-
* client/arora-0.11.0' directory. If necessary, manually remove the
* environment.bz2 file and/or the ebuild file located in that directory.
*
* Removal of the environment.bz2 file is preferred since it may allow the
* removal phases to execute successfully. The ebuild will be sourced and
* the eclasses from the current portage tree will be used when necessary.
* Removal of the ebuild file will cause the pkg_prerm() and pkg_postrm()
* removal phases to be skipped entirely.

* Messages for package www-client/arora-0.11.0:

* The 'prerm' phase of the 'www-client/arora-0.11.0' package has failed
* with exit value -1.
*
* The problem occurred while executing the ebuild file named
* 'arora-0.11.0.ebuild' located in the '/var/db/pkg/www-
* client/arora-0.11.0' directory. If necessary, manually remove the
* environment.bz2 file and/or the ebuild file located in that directory.
*
* Removal of the environment.bz2 file is preferred since it may allow the
* removal phases to execute successfully. The ebuild will be sourced and
* the eclasses from the current portage tree will be used when necessary.
* Removal of the ebuild file will cause the pkg_prerm() and pkg_postrm()
* removal phases to be skipped entirely.
Traceback (most recent call last):
File "/usr/bin/emerge", line 42, in <module>
retval = emerge_main()
File "/usr/lib/portage/pym/_emerge/main.py", line 1492, in emerge_main
myopts, myaction, myfiles, spinner)
File "/usr/lib/portage/pym/_emerge/actions.py", line 2305, in action_uninstall
valid_atoms, ldpath_mtimes, ordered=ordered)
File "/usr/lib/portage/pym/_emerge/unmerge.py", line 507, in unmerge
scheduler=scheduler)
File "/usr/lib/portage/pym/portage/dbapi/vartree.py", line 4509, in unmerge
ldpath_mtimes=ldpath_mtimes)
File "/usr/lib/portage/pym/portage/dbapi/vartree.py", line 2160, in unmerge
vartree=self.vartree)
File "/usr/lib/portage/pym/portage/package/ebuild/doebuild.py", line
793, in doebuild
fd_pipes=fd_pipes, returnpid=returnpid)
File "/usr/lib/portage/pym/portage/package/ebuild/doebuild.py", line
1261, in spawn
buf.fromfile(f, buffsize)
IOError: [Errno 5] Input/output error

centaur ~ # eix sys-apps/portage
[i] sys-apps/portage
Available versions: [P]2.1.6.7 2.1.6.13 2.1.7.17 2.1.8.3
(~)2.1.9 (~)2.1.9.1 (~)2.1.9.2 {M}(~)2.2_rc67 [M](~)2.2_rc77
[M](~)2.2_rc78 [M]**9999 {build doc epydoc linguas_pl python3 selinux}
Installed versions: 2.2_rc67(10:58:51 07/14/10)(-build -doc
-epydoc -linguas_pl -python3 -selinux)
Homepage: http://www.gentoo.org/proj/en/portage/index.xml
Description: Portage is the package management and
distribution system for Gentoo

centaur ~ # eix dev-lang/python
[D] dev-lang/python
Available versions:
(2.4) 2.4.6
(2.5) 2.5.4-r4
(2.6) 2.6.4-r1 2.6.5-r2 2.6.5-r3{tbz2}
(2.7) [M](~)2.7
(3.1) 3.1.2-r3 3.1.2-r4{tbz2}
{-berkdb bootstrap build +cxx doc elibc_uclibc examples gdbm
ipv6 +ncurses +readline sqlite +ssl +threads tk +wide-unicode wininst
+xml}
Installed versions: 2.6.6-r1(2.6){tbz2}(09:17:19 10/13/10)(gdbm
ncurses readline ssl threads wide-unicode xml -berkdb -build -doc
-elibc_uclibc -examples -ipv6 -sqlite -tk -wininst)
3.1.2-r4(3.1){tbz2}(12:04:46 09/07/10)(gdbm ncurses readline ssl
threads wide-unicode xml -build -doc -elibc_uclibc -examples -ipv6
-sqlite -tk -wininst)
Homepage: http://www.python.org/
Description: Python is an interpreted, interactive,
object-oriented programming language.

centaur ~ # eselect python list
Available Python interpreters:
[1] python2.6 *
[2] python3.1

Any ideas?

Cheers,
Hilco
 
Old 10-13-2010, 08:23 PM
Paul Hartman
 
Default emerge --unmerge fails

On Wed, Oct 13, 2010 at 2:05 PM, Hilco Wijbenga
<hilco.wijbenga@gmail.com> wrote:
> Hi all,
>
> I'm trying to unmerge some packages. They all fail like this:


> ** The 'prerm' phase of the 'www-client/arora-0.11.0' package has failed
> ** with exit value -1.
> **
> ** The problem occurred while executing the ebuild file named
> ** 'arora-0.11.0.ebuild' located in the '/var/db/pkg/www-
> ** client/arora-0.11.0' directory. If necessary, manually remove the
> ** environment.bz2 file and/or the ebuild file located in that directory.
> **
> ** Removal of the environment.bz2 file is preferred since it may allow the
> ** removal phases to execute successfully. The ebuild will be sourced and
> ** the eclasses from the current portage tree will be used when necessary.

As the error suggests, remove that file
(/var/db/pkg/www-client/arora-0.11.0/environment.bz2) and then try
again, it should hopefully work then.

See this bug for more info:
https://bugs.gentoo.org/show_bug.cgi?id=211833
 
Old 10-13-2010, 09:43 PM
Hilco Wijbenga
 
Default emerge --unmerge fails

On 13 October 2010 13:23, Paul Hartman <paul.hartman+gentoo@gmail.com> wrote:
> On Wed, Oct 13, 2010 at 2:05 PM, Hilco Wijbenga
> <hilco.wijbenga@gmail.com> wrote:
>> Hi all,
>>
>> I'm trying to unmerge some packages. They all fail like this:
>
>
>> ** The 'prerm' phase of the 'www-client/arora-0.11.0' package has failed
>> ** with exit value -1.
>> **
>> ** The problem occurred while executing the ebuild file named
>> ** 'arora-0.11.0.ebuild' located in the '/var/db/pkg/www-
>> ** client/arora-0.11.0' directory. If necessary, manually remove the
>> ** environment.bz2 file and/or the ebuild file located in that directory.
>> **
>> ** Removal of the environment.bz2 file is preferred since it may allow the
>> ** removal phases to execute successfully. The ebuild will be sourced and
>> ** the eclasses from the current portage tree will be used when necessary.
>
> As the error suggests, remove that file
> (/var/db/pkg/www-client/arora-0.11.0/environment.bz2) and then try
> again, it should hopefully work then.
>
> See this bug for more info:
> https://bugs.gentoo.org/show_bug.cgi?id=211833

Nope, removing environment.bz2 doesn't make any difference. Also, note
that it's not just this package. I have the same problem for at least
2 others. It seems a pandemic. :-)
 
Old 10-13-2010, 10:29 PM
Dean Matzkov
 
Default emerge --unmerge fails

Have you tried upgrading to the latest version of Portage 2.2? The
newest version in the tree is currently portage-2.2_rc95, while you're
still using portage-2.2_rc67. Perhaps there's a bug causing this that
was fixed in subsequent release?
 
Old 10-13-2010, 10:40 PM
walt
 
Default emerge --unmerge fails

On 10/13/2010 12:05 PM, Hilco Wijbenga wrote:

Hi all,

I'm trying to unmerge some packages. They all fail like this:


Unmerging www-client/arora-0.11.0...

* The 'prerm' phase of the 'www-client/arora-0.11.0' package has failed
* with exit value -1.




centaur ~ # eix sys-apps/portage
Installed versions: 2.2_rc67(10:58:51 07/14/10)(-build -doc

centaur ~ # eix dev-lang/python
Installed versions: 2.6.6-r1(2.6)


Hm, well I'm just now updating my ~amd64 machine and I see that both python
and portage are about to be updated. I'm still with the 2.1.x portage, so
I can't comment on the version you're running. Were your python and portage
just recently updated?

Did you run python-updater after the upgrade? Perhaps the python ebuild does
that for you, I'm not sure. Anyway I'd run it again just to make sure.

This could be a new bug in portage, too. I'd suggest downgrading to your
previous portage version -- but I'm not sure how safe that is. Anyone else
know?
 

Thread Tools




All times are GMT. The time now is 02:10 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org