pycentral - python -zerstört
hi,
ich habe heut ein experimentier tag eingelegt. wollte mir blueman bauen.
http://blueman.tuxfamily.org/index.php?option=com_content&view=article&id=50&Itemid=60
also die
ibbluetooth-dev >= 3.20
bluez-utils >= 3.20
aus unstable geholt. ging nicht da python-notify gegen python2.4 gebaut ist.
also die source von python-notify aus sid gezogen und die ganze sache umgelinkt auf python2.5 - klappte leider nicht, da pynotiy trotzdem immer gegen version 2.4.x gelinkt wurde.
so nun hab ich den salat. default ist python2.4 und man sollte das ja nicht verändern.
nun gut zu spät - also links wieder auf python2.4. umgebogen und gut, dachte ich, natürlich nicht.
sysiphus:/usr/bin# apd
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut
Reading state information... Fertig
Berechne Upgrade...Fertig
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
36 nicht vollständig installiert oder entfernt.
Es müssen 0B Archive geholt werden.
Nach dem Auspacken werden 0B Plattenplatz zusätzlich benutzt.
Möchten Sie fortfahren [J/n]?
Richte python-apt ein (0.7.3.1) ...
Traceback (most recent call last):
File "/usr/bin/pycentral", line 1394, in ?
main()
File "/usr/bin/pycentral", line 1388, in main
rv = action.run(global_options)
File "/usr/bin/pycentral", line 899, in run
self.options.exclude, byte_compile_default=True)
File "/usr/bin/pycentral", line 678, in install
rt.byte_compile(files, bc_option, exclude_regex, ignore_errors)
File "/usr/bin/pycentral", line 156, in byte_compile
shell=False, stdin=subprocess.PIPE)
File "/usr/lib/python2.4/subprocess.py", line 543, in __init__
errread, errwrite)
File "/usr/lib/python2.4/subprocess.py", line 975, in _execute_child
raise child_exception
OSError: [Errno 8] Exec format error
dpkg: Fehler beim Bearbeiten von python-apt (--configure):
Unterprozess post-installation script gab den Fehlerwert 1 zurück
bei jedem paket das von python-central abhängt.
sysiphus:/home/profbunny# ll /usr/bin/py*
-rwxr-xr-x 1 root root 54038 2007-08-24 09:06 /usr/bin/pycentral
-rwxr-xr-x 1 root root 3723 2007-08-24 09:06 /usr/bin/py_compilefiles
lrwxrwxrwx 1 root root 8 2007-11-24 14:45 /usr/bin/pydoc -> pydoc2.4
-rwxr-xr-x 1 root root 79 2007-08-16 02:04 /usr/bin/pydoc2.4
-rwxr-xr-x 1 root root 79 2007-08-17 00:51 /usr/bin/pydoc2.5
lrwxrwxrwx 1 root root 12 2007-11-24 14:45 /usr/bin/pygettext -> pygettext2.4
-rwxr-xr-x 1 root root 22103 2007-08-16 02:04 /usr/bin/pygettext2.4
-rwxr-xr-x 1 root root 22103 2007-08-17 00:51 /usr/bin/pygettext2.5
-rwxr-xr-x 1 root root 4060 2007-05-08 18:51 /usr/bin/pysupport-movemodules
-rwxr-xr-x 1 root root 2441 2006-11-23 22:26 /usr/bin/pysupport-parseversions
lrwxrwxrwx 1 root root 18 2007-11-24 21:22 /usr/bin/python -> /usr/bin/python2.4
-rwxr-xr-x 1 root root 1018188 2007-08-16 02:05 /usr/bin/python2.4
-rwxr-xr-x 1 root root 1276 2007-08-16 02:04 /usr/bin/python2.4-config
-rwxr-xr-x 1 root root 1689 2007-11-24 11:55 /usr/bin/python2.5
-rwxr-xr-x 1 root root 1419 2007-08-17 00:51 /usr/bin/python2.5-config
lrwxrwxrwx 1 root root 16 2007-11-24 15:55 /usr/bin/python-config -> python2.4-config
lrwxrwxrwx 1 root root 29 2007-11-24 14:45 /usr/bin/pyversions -> ../share/python/pyversions.py
update-available hilft mir hier leider auch nicht, da sagt er gleich das die version nicht stimmt.
/usr/bin/pycentral -v updatedefault /usr/bin/python /usr/bin/python2.4
bringt auch nix, obwohl ich nichts weiter geändert hatte als die links auf python-config und python jewals auf verion 2.5 umzusetzten, reicht ein einfaches zurücklinken scheinbar nicht aus.
jemannd ne idee für mich?
tia
Reply to: