View previous topic :: View next topic |
Author |
Message |
Malaclypse 23rd n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 26 Jun 2004 Posts: 9
|
Posted: Wed Jul 26, 2006 10:40 am Post subject: [gelöst] emerge funktioniert nach Abbruch nicht mehr |
|
|
Hallo!
Ich habe versucht folgendes zu installieren:
Code: | emerge -pv media-sound/listen
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild N ] dev-python/pymad-0.5.2 21 kB
[ebuild NS ] media-libs/gstreamer-0.10.9 1,679 kB
[ebuild N ] dev-libs/liboil-0.3.6 0 kB
[ebuild N ] media-libs/gst-plugins-base-0.10.9 USE="X alsa esd oss xv -debug" 1,231 kB
[ebuild N ] media-plugins/gst-plugins-ogg-0.10.9 0 kB
[ebuild NS ] media-plugins/gst-plugins-alsa-0.10.9 0 kB
[ebuild NS ] media-plugins/gst-plugins-oss-0.10.3 1,138 kB
[ebuild N ] media-plugins/gst-plugins-xvideo-0.10.4-r1 1,072 kB
[ebuild N ] media-plugins/gst-plugins-x-0.10.4 0 kB
[ebuild NS ] media-plugins/gst-plugins-esd-0.10.3 0 kB
[ebuild N ] media-libs/gst-plugins-good-0.10.3 USE="-debug" 0 kB
[ebuild U ] dev-db/sqlite-3.3.6 [3.2.1-r3] USE="-debug% -doc -nothreadsafe -tcltk%" 1,632 kB
[ebuild N ] dev-python/pyrex-0.9.4.1 177 kB
[ebuild N ] sys-apps/dbus-0.61-r1 USE="X gtk mono python qt3 -debug -doc" 1,695 kB
[ebuild N ] media-plugins/gst-plugins-cdparanoia-0.10.4 0 kB
[ebuild N ] dev-python/pycairo-1.0.2 USE="gtk -numeric -svg" 458 kB
[ebuild U ] dev-python/pygtk-2.8.6 [2.6.1] USE="opengl -doc" 739 kB
[ebuild N ] dev-python/gst-python-0.10.5 USE="-doc" 551 kB
[ebuild N ] dev-python/pyvorbis-1.4-r1 38 kB
[ebuild N ] media-plugins/gst-plugins-gnomevfs-0.10.4 0 kB
[ebuild N ] media-plugins/gst-plugins-gconf-0.10.3 USE="-debug" 0 kB
[ebuild N ] gnome-extra/libgda-1.2.2-r1 USE="berkdb -debug -doc -firebird -freetds -ldap -mdb -mysql -oci8 -odbc -postgres -sqlite -xbase" 1,212 kB
[ebuild N ] gnome-extra/gtkhtml-2.6.3 USE="-accessibility -debug" 382 kB
[ebuild N ] dev-python/pyorbit-2.14.0 USE="-debug" 269 kB
[ebuild N ] dev-python/gnome-python-2.12.4 USE="-debug -doc -gtkhtml" 368 kB
[ebuild N ] dev-python/gnome-python-extras-2.14.0-r1 USE="X -debug -doc -firefox -seamonkey" 339 kB
[ebuild NS ] media-plugins/gst-plugins-vorbis-0.10.9 0 kB
[ebuild NS ] media-plugins/gst-plugins-mad-0.10.3 591 kB
[ebuild N ] media-sound/listen-0.4.3-r1 USE="X mad vorbis -aac -cdr -flac -ipod" 367 kB
Total size of downloads: 13,966 kB |
Irgendwo hat emerge mit einem Fehler, den ich leider nicht mehr weis, abgebrochen.
Seitdem funktioniert emerge nicht mehr.
Bei jeglichem Aufruf von emerge erscheint folgender Fehler:
Code: | emerge --sync
Traceback (most recent call last):
File "/usr/bin/emerge", line 12, in ?
import portage
File "/usr/lib/portage/pym/portage.py", line 7184, in ?
init_legacy_globals()
File "/usr/lib/portage/pym/portage.py", line 7145, in init_legacy_globals
portdb = portdbapi(settings["PORTDIR"], mysettings=config(clone=settings))
File "/usr/lib/portage/pym/portage.py", line 4921, in __init__
self.auxdb[x] = self.auxdbmodule(self.depcachedir, x, filtered_auxdbkeys, gid=portage_gid)
File "/usr/lib/portage/pym/cache/sqlite.py", line 39, in __init__
self._db_init_connection(config)
File "/usr/lib/portage/pym/cache/sqlite.py", line 54, in _db_init_connection
self._db_cursor.execute("PRAGMA encoding = %s" % self._db_escape_string("UTF-8"))
pysqlite2.dbapi2.Warning: You can only execute one statement at a time.
|
Was ist da passiert?
Und wie kann man das reparieren?
Hat jemand eine Idee? Das wäre super.
gruß
malaclypse
Last edited by Malaclypse 23rd on Fri Jul 28, 2006 12:31 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kobler n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 02 Aug 2004 Posts: 73
|
Posted: Thu Jul 27, 2006 1:45 pm Post subject: |
|
|
würde mal sagen dein python ist tot, versuch mal ein revdep-rebuild (ist im gentoolkit enthalten)... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
firefly Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
Joined: 31 Oct 2002 Posts: 5331
|
Posted: Thu Jul 27, 2006 2:24 pm Post subject: |
|
|
kobler, wenn pyhton "tot" ist, wird ein revdep-rebuild auch nicht helfen, da es ja irgentwann selbst emerge aufruft ![Wink ;)](images/smiles/icon_wink.gif) _________________ Ein Ring, sie zu knechten, sie alle zu finden,
Ins Dunkel zu treiben und ewig zu binden
Im Lande Mordor, wo die Schatten drohn. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kobler n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 02 Aug 2004 Posts: 73
|
Posted: Fri Jul 28, 2006 6:50 am Post subject: |
|
|
da hast du recht.......eines wass er noch machen könnte python mit hand übersetzen............ |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
tuxianer Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/75481646246ff67dcb04e8.jpg)
Joined: 17 Dec 2005 Posts: 280 Location: Cologne - Germany
|
Posted: Fri Jul 28, 2006 6:57 am Post subject: |
|
|
ich würde sagen schnapp dir das binary von Python von der gentoo homepage ( weiss nicht genau wo googln hilft ). Entpacke das und schau erst mal ob emerge dann klappt. wenn ja ! freuen ! , und du kannst python wieder kompilieren, wenn nicht >> wieder ins forum posten
MfG |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Malaclypse 23rd n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 26 Jun 2004 Posts: 9
|
Posted: Fri Jul 28, 2006 12:30 pm Post subject: neues Python |
|
|
Danke für die freundliche Hilfe.
Das neue Python hat zwar den Fehler nicht ganz behoben, aber ich konnte nun herausfinden woran es lag.
Falls jemand das gleiche Problem hat, hier das Ergebnis:
Ich habe eine neues Python aus dem stage3 genommen, dann erhielt ich eine etwas andere Fehlermeldung:
Code: | emerge --sync
====================================
Error: Failed to import module 'cache.sqlite.database'
File "/usr/lib/portage/pym/portage.py", line 1418, in load_best_module
mod = load_mod(best_mod)
File "/usr/lib/portage/pym/portage.py", line 145, in load_mod
mod = __import__(modname)
File "/usr/lib/portage/pym/cache/sqlite.py", line 12, in ?
from pysqlite2 import dbapi2 as db_module
No module named pysqlite2
====================================
|
Wie man sehen kann hat das was mit pysqlite zu tun.
Das hängt wiederum mit sqlite zusammen und da ist das Problem.
Ich verwende sqlite um portage zu beschleunigen (siehe hier: http://gentoo-wiki.com/TIP_speed_up_portage_with_sqlite)
Habe dann für eine andere Software sqlite demaskiert und upgedatet.
Und da muss irgendwo der Hase im Pfeffer liegen.
Ich habe die "sqlite-Modifikation" für portage rückgängig gemacht und jetzt läuft es wieder.
mfg
mala |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|