| 
  
  
    | Autor | Nachricht |  
    |  | 
        
					| Titel: Python Problem bei d-u  Verfasst am: 15.07.2007, 12:41 Uhr |  |  
    | 
        
          | 
 
 Anmeldung: 23. Jul 2005
 Beiträge: 75
 
 
 |  | 
        
          | Hallo, 
 ein d-u-Problemchen nervt mich jetzt schon was länger. Python-uno kann nicht installiert werden:
 
 Vorbereiten zum Ersetzen von python-uno 2.0.4.dfsg.2-7 (durch .../python-uno_2.0.4.dfsg.2-7etch1_i386.deb) ...
 Traceback (most recent call last):
 File "/usr/bin/pycentral", line 1373, in ?
 main()
 File "/usr/bin/pycentral", line 1367, in main
 rv = action.run(global_options)
 File "/usr/bin/pycentral", line 943, in run
 runtimes = get_installed_runtimes(with_unsupported=True)
 File "/usr/bin/pycentral", line 196, in get_installed_runtimes
 supported = pyversions.supported_versions()
 File "/usr/share/pycentral-data/pyversions.py", line 98, in supported_versions
 value = read_default('supported-versions')
 File "/usr/share/pycentral-data/pyversions.py", line 22, in read_default
 value = config.get('DEFAULT', name)
 UnboundLocalError: local variable 'config' referenced before assignment
 dpkg: Warnung - altes pre-removal-Skript wurde mit Fehler-Status 1 beendet
 dpkg - probiere stattdessen Skript aus dem neuen Paket ...
 Traceback (most recent call last):
 File "/usr/bin/pycentral", line 1373, in ?
 main()
 File "/usr/bin/pycentral", line 1367, in main
 rv = action.run(global_options)
 File "/usr/bin/pycentral", line 943, in run
 runtimes = get_installed_runtimes(with_unsupported=True)
 File "/usr/bin/pycentral", line 196, in get_installed_runtimes
 supported = pyversions.supported_versions()
 File "/usr/share/pycentral-data/pyversions.py", line 98, in supported_versions
 value = read_default('supported-versions')
 File "/usr/share/pycentral-data/pyversions.py", line 22, in read_default
 value = config.get('DEFAULT', name)
 UnboundLocalError: local variable 'config' referenced before assignment
 dpkg: Fehler beim Bearbeiten von /var/cache/apt/archives/python-uno_2.0.4.dfsg.2-7etch1_i386.deb (--unpack):
 Unterprozess neues pre-removal-Skript gab den Fehlerwert 1 zurück
 Traceback (most recent call last):
 File "/usr/bin/pycentral", line 1373, in ?
 main()
 File "/usr/bin/pycentral", line 1367, in main
 rv = action.run(global_options)
 File "/usr/bin/pycentral", line 865, in run
 runtimes = get_installed_runtimes()
 File "/usr/bin/pycentral", line 196, in get_installed_runtimes
 supported = pyversions.supported_versions()
 File "/usr/share/pycentral-data/pyversions.py", line 98, in supported_versions
 value = read_default('supported-versions')
 File "/usr/share/pycentral-data/pyversions.py", line 22, in read_default
 value = config.get('DEFAULT', name)
 UnboundLocalError: local variable 'config' referenced before assignment
 dpkg: Fehler beim Aufräumen:
 Unterprozess post-installation script gab den Fehlerwert 1 zurück
 Fehler traten auf beim Bearbeiten von:
 /var/cache/apt/archives/python-uno_2.0.4.dfsg.2-7etch1_i386.deb
 
 Kennt jemand eine Lösung?
 
 Vielen Dank vorab.
 
 Dirk
 |  
          |  |  
         
	        |  |  |  
    |  |  
    |  |  
    |  | 
        
					| Titel: Python Problem bei d-u  Verfasst am: 15.07.2007, 21:04 Uhr |  |  
    | 
        
          | 
  
 Anmeldung: 08. Jul 2006
 Beiträge: 976
 Wohnort: Sömmerda / Thüringen
 
 |  | 
        
          | Hast du mal versuch  python-uno zur removen und dann neu zu installieren. Ich habe da was im Hinterkopf mit einem Konflikt zu openoffice. |  
          |  |  
         
	        |  |  |  
    |  |  
    |  |  
    |  | 
        
					| Titel: Python Problem bei d-u  Verfasst am: 16.07.2007, 16:21 Uhr |  |  
    | 
        
          | 
  
 Anmeldung: 09. Apr 2005
 Beiträge: 203
 
 
 |  | 
        
          | In den letzten beiden Jahren (gefühlt) ist das immer wieder aufgetaucht. Ich habe es letztlich immer nur so hinbekommen, daß ich die Pakete die bei der Installation von Hand (genauer: mit dpkg) entfernt und dann wieder neu installiert habe. Ging eigentlich immer schneller als befürchtet. |  
          | _________________
 unsensibel, aber empfindlich
 |  
         
	        |  |  |  
    |  |  
    |  |  
    |  | 
        
					| Titel: Python Problem bei d-u  Verfasst am: 21.07.2007, 12:28 Uhr |  |  
    | 
        
          | 
 
 Anmeldung: 23. Jul 2005
 Beiträge: 75
 
 
 |  | 
        
          | Hallo Witwe Bolte, ich habe gerade versucht deinen Tipp umzusetzen. Das Ergebnis: 
 dpkg -r python-uno
 dpkg: Fehler beim Bearbeiten von python-uno (--remove):
 Paket ist in einem sehr schlechten inkonsistenten Zustand - Sie sollten
 es erneut installieren, bevor Sie es zu entfernen versuchen.
 Fehler traten auf beim Bearbeiten von:
 python-uno
 
 Hast du noch einen Tipp, evtl. einen kräftigeren dpkg-Befehl?
 
 Was freue ich mich auf den Thorhammer
   
 Vielen Dank vorab und ein schönes Wochenende
 
 Dirk
 |  
          |  |  
         
	        |  |  |  
    |  |  
    |  |  
    |  | 
        
					| Titel: Python Problem bei d-u  Verfasst am: 21.07.2007, 16:18 Uhr |  |  
    | 
        
          | 
  
 Anmeldung: 09. Apr 2005
 Beiträge: 203
 
 
 |  | 
        
          | Oha. Dieses Prob hatte ich zwar auch schon mal. Ist aber so lange her, daß mir die Lösung nicht mehr einfällt. Ob --pending als Option was hilft...keine Ahnung. SRY
 |  
          | _________________
 unsensibel, aber empfindlich
 |  
         
	        |  |  |  
    |  |  
    |  |  
    |  |  |