[gentoo-user] Crashed Emerge

2009-09-10 Thread Maximilian Bräutigam
Hi all,

please help me. my computer is the hell since i wanted to update world
(at ~amd64) today morning. i installed the packages listed below (=
emerge.log).

Now if I run emerge it returns:

Traceback (most recent call last):
  File /usr/bin/emerge, line 40, in module
retval = _emerge.emerge_main()
  File /usr/lib64/portage/pym/_emerge/__init__.py, line 15497, in
emerge_main
trees[myroot][vartree].dbapi._counter_hash()
  File /usr/lib64/portage/pym/portage/dbapi/vartree.py, line 137, in
_counter_hash
counter, = self.aux_get(cpv, aux_keys)
  File /usr/lib64/portage/pym/portage/dbapi/vartree.py, line 484, in
aux_get
pkg_data = self._aux_cache[packages].get(mycpv)
  File /usr/lib64/portage/pym/portage/dbapi/vartree.py, line 392, in
_aux_cache
self._aux_cache_init()
  File /usr/lib64/portage/pym/portage/dbapi/vartree.py, line 412, in
_aux_cache_init
aux_cache = mypickle.load()
TypeError: 'NoneType' object does not support item assignment


if i run revdep-rebuild it returns:

Parse Error reading PROVIDE and USE in
'/var/db/pkg/app-emulation/emul-linux-x86-compat-20081109'
Exception: 'NoneType' object does not support item assignment

FOR EVERY PACKAGE IN PORTAGE.

An old emerge-info is at
http://www.xbra.de/images/emerge-info.txt

the above errors occur with python2.6.
When i eselect python3.1, the error for emerge is:

  File /usr/bin/emerge, line 41
except PermissionDenied, e:
   ^
SyntaxError: invalid syntax


Is it a python (e.g. dev-python/setuptools) or a poppler issue?
i really don't know what to do because nothing is working anymore!

I would be very grateful if you could help.
Thank you very much in advance for your help.

Kind regards,
der Max

EMERGE.LOG:
1252576309: Started emerge on: Sep 10, 2009 09:51:49
1252576309:  *** emerge  sync
1252576309:  === sync
1252576309:  Starting rsync with
rsync://140.211.166.165/gentoo-portage
1252576434: === Sync completed with
rsync://140.211.166.165/gentoo-portage
1252576435:  *** terminating.
1252576947: Started emerge on: Sep 10, 2009 10:02:27
1252576947:  *** emerge --newuse --deep --ask --update --verbose world
1252576956:   emerge (1 of 17) sys-apps/hdparm-9.27 to /
1252576961:  === (1 of 17) Cleaning
(sys-apps/hdparm-9.27::/usr/portage/sys-apps/hdparm/hdparm-9.27.ebuild)
1252576961:  === (1 of 17) Compiling/Merging
(sys-apps/hdparm-9.27::/usr/portage/sys-apps/hdparm/hdparm-9.27.ebuild)
1252576966:  === (1 of 17) Merging
(sys-apps/hdparm-9.27::/usr/portage/sys-apps/hdparm/hdparm-9.27.ebuild)
1252576967:   AUTOCLEAN: sys-apps/hdparm:0
1252576967:  === Unmerging... (sys-apps/hdparm-9.20)
1252576968:   unmerge success: sys-apps/hdparm-9.20
1252576968:  === (1 of 17) Post-Build Cleaning
(sys-apps/hdparm-9.27::/usr/portage/sys-apps/hdparm/hdparm-9.27.ebuild)
1252576968:  ::: completed emerge (1 of 17) sys-apps/hdparm-9.27 to /
1252576968:   emerge (2 of 17) app-shells/bash-4.0_p33 to /
1252576969:  === (2 of 17) Cleaning
(app-shells/bash-4.0_p33::/usr/portage/app-shells/bash/bash-4.0_p33.ebuild)
1252576969:  === (2 of 17) Compiling/Merging
(app-shells/bash-4.0_p33::/usr/portage/app-shells/bash/bash-4.0_p33.ebuild)
1252577007:  === (2 of 17) Merging
(app-shells/bash-4.0_p33::/usr/portage/app-shells/bash/bash-4.0_p33.ebuild)
1252577008:   AUTOCLEAN: app-shells/bash:0
1252577008:  === Unmerging... (app-shells/bash-4.0_p28)
1252577008:   unmerge success: app-shells/bash-4.0_p28
1252577009:  === (2 of 17) Post-Build Cleaning
(app-shells/bash-4.0_p33::/usr/portage/app-shells/bash/bash-4.0_p33.ebuild)
1252577009:  ::: completed emerge (2 of 17) app-shells/bash-4.0_p33 to /
1252577009:   emerge (3 of 17) media-libs/x264-0.0.20090908 to /
1252577010:  === (3 of 17) Cleaning
(media-libs/x264-0.0.20090908::/usr/portage/media-libs/x264/x264-0.0.20090908.ebuild)
1252577010:  === (3 of 17) Compiling/Merging
(media-libs/x264-0.0.20090908::/usr/portage/media-libs/x264/x264-0.0.20090908.ebuild)
1252577018:  === (3 of 17) Merging
(media-libs/x264-0.0.20090908::/usr/portage/media-libs/x264/x264-0.0.20090908.ebuild)
1252577019:   AUTOCLEAN: media-libs/x264:0
1252577019:  === Unmerging... (media-libs/x264-0.0.20090629)
1252577021:   unmerge success: media-libs/x264-0.0.20090629
1252577022:  === (3 of 17) Post-Build Cleaning
(media-libs/x264-0.0.20090908::/usr/portage/media-libs/x264/x264-0.0.20090908.ebuild)
1252577022:  ::: completed emerge (3 of 17) media-libs/x264-0.0.20090908
to /
1252577022:   emerge (4 of 17) x11-libs/libdrm-2.4.13 to /
1252577022:  === (4 of 17) Cleaning
(x11-libs/libdrm-2.4.13::/usr/portage/x11-libs/libdrm/libdrm-2.4.13.ebuild)
1252577022:  === (4 of 17) Compiling/Merging
(x11-libs/libdrm-2.4.13::/usr/portage/x11-libs/libdrm/libdrm-2.4.13.ebuild)
1252577033:  === (4 of 17) Merging
(x11-libs/libdrm-2.4.13::/usr/portage/x11-libs/libdrm/libdrm-2.4.13.ebuild)
1252577034:   AUTOCLEAN: x11-libs/libdrm:0
1252577034:  === Unmerging... (x11-libs/libdrm-2.4.12)
1252577035:   unmerge success: 

Re: [gentoo-user] Crashed Emerge

2009-09-10 Thread David

Maximilian Bräutigam wrote:

Hi all,

please help me. my computer is the hell since i wanted to update world
(at ~amd64) today morning

python3 will not work, I would reinstall python-2.6 from a tinderbox;
http://forums.gentoo.org/viewtopic-t-720191-start-0.html
http://forums.gentoo.org/viewtopic-p-4669397.html#4669397

I masked python-3

cat /etc/portage/package.mask
=dev-lang/python-3*

eselect python list
eselect python set number
emerge python


--
Powered by Gentoo GNU/Linux
http://linuxcrazy.com



Re: [gentoo-user] Crashed Emerge

2009-09-10 Thread Volker Armin Hemmann
On Donnerstag 10 September 2009, Maximilian Bräutigam wrote:
 Hi all,
 
 please help me. my computer is the hell since i wanted to update world
 (at ~amd64) today morning. i installed the packages listed below (=
 emerge.log).
 
 Now if I run emerge it returns:
 
 Traceback (most recent call last):
   File /usr/bin/emerge, line 40, in module
 retval = _emerge.emerge_main()
   File /usr/lib64/portage/pym/_emerge/__init__.py, line 15497, in
 emerge_main
 trees[myroot][vartree].dbapi._counter_hash()
   File /usr/lib64/portage/pym/portage/dbapi/vartree.py, line 137, in
 _counter_hash
 counter, = self.aux_get(cpv, aux_keys)
   File /usr/lib64/portage/pym/portage/dbapi/vartree.py, line 484, in
 aux_get
 pkg_data = self._aux_cache[packages].get(mycpv)
   File /usr/lib64/portage/pym/portage/dbapi/vartree.py, line 392, in
 _aux_cache
 self._aux_cache_init()
   File /usr/lib64/portage/pym/portage/dbapi/vartree.py, line 412, in
 _aux_cache_init
 aux_cache = mypickle.load()
 TypeError: 'NoneType' object does not support item assignment
 
 
 if i run revdep-rebuild it returns:
 
 Parse Error reading PROVIDE and USE in
 '/var/db/pkg/app-emulation/emul-linux-x86-compat-20081109'
 Exception: 'NoneType' object does not support item assignment
 
 FOR EVERY PACKAGE IN PORTAGE.
 
 An old emerge-info is at
 http://www.xbra.de/images/emerge-info.txt
 
 the above errors occur with python2.6.
 When i eselect python3.1, the error for emerge is:
 
   File /usr/bin/emerge, line 41
 except PermissionDenied, e:
^
 SyntaxError: invalid syntax
 
 
 Is it a python (e.g. dev-python/setuptools) or a poppler issue?
 i really don't know what to do because nothing is working anymore!
 
 

and what happens with python2.5?


poppler is a pdf lib and has nothing to do with portage or python.



Re: [gentoo-user] Crashed Emerge

2009-09-10 Thread Paul Hartman
2009/9/10 Maximilian Bräutigam max-br...@gmx.de:
 Hi all,

 please help me. my computer is the hell since i wanted to update world
 (at ~amd64) today morning. i installed the packages listed below (=
 emerge.log).

Last time I had some python problem (going from 2.5 to 2.6) I used
eselect to change version, then immediately eselect to change back
again and everything worked.

Also did you try python-updater?