Probleme mit Python 2.7 unter Ubuntu 12.04 /Aktualisierungen

Probleme bei der Installation?
Antworten
robbydierobbe
User
Beiträge: 1
Registriert: Montag 4. November 2013, 22:02

Hallo,

ich habe folgende Fehlermeldung:

Code: Alles auswählen

installArchives() failed: (Reading database ... 
(Reading database ... 5%%
(Reading database ... 10%%
(Reading database ... 15%%
(Reading database ... 20%%
(Reading database ... 25%%
(Reading database ... 30%%
(Reading database ... 35%%
(Reading database ... 40%%
(Reading database ... 45%%
(Reading database ... 50%%
(Reading database ... 55%%
(Reading database ... 60%%
(Reading database ... 65%%
(Reading database ... 70%%
(Reading database ... 75%%
(Reading database ... 80%%
(Reading database ... 85%%
(Reading database ... 90%%
(Reading database ... 95%%
(Reading database ... 100%%
(Reading database ... 754661 files and directories currently installed.)
Preparing to replace libpostproc52 4:0.8.6-0ubuntu0.12.04.1 (using .../libpostproc52_4%%3a0.8.8-0ubuntu0.12.04.1_i386.deb) ...
Unpacking replacement libpostproc52 ...
Preparing to replace libswscale2 4:0.8.6-0ubuntu0.12.04.1 (using .../libswscale2_4%%3a0.8.8-0ubuntu0.12.04.1_i386.deb) ...
Unpacking replacement libswscale2 ...
Preparing to replace libavformat53 4:0.8.6-0ubuntu0.12.04.1 (using .../libavformat53_4%%3a0.8.8-0ubuntu0.12.04.1_i386.deb) ...
Unpacking replacement libavformat53 ...
Preparing to replace libavcodec53 4:0.8.6-0ubuntu0.12.04.1 (using .../libavcodec53_4%%3a0.8.8-0ubuntu0.12.04.1_i386.deb) ...
Unpacking replacement libavcodec53 ...
Preparing to replace libavutil51 4:0.8.6-0ubuntu0.12.04.1 (using .../libavutil51_4%%3a0.8.8-0ubuntu0.12.04.1_i386.deb) ...
Unpacking replacement libavutil51 ...
Setting up python2.7 (2.7.3-0ubuntu3.4) ...
SyntaxError: ('EOL while scanning string literal', ('/usr/lib/python2.7/pydoc_data/topics.py', 36, 2774, ' \'formatstrings\': \'\\nFormat String Syntax\\n********************\\n\\nThe ``str.format()`` method and the ``Formatter`` class share the same\\nsyntax for format strings (although in the case of ``Formatter``,\\nsubclasses can define their own format string syntax).\\n\\nFormat strings contain "replacement fields" surrounded by curly braces\\n``{}``. Anything that is not contained in braces is considered literal\\ntext, which is copied unchanged to the output.  If you need to include\\na brace character in the literal text, it can be escaped by doubling:\\n``{{`` and ``}}``.\\n\\nThe grammar for a replacement field is as follows:\\n\\n      replacement_field ::= "{" [field_name] ["!" conversion] [":" format_spec] "}"\\n      field_name        ::= arg_name ("." attribute_name | "[" element_index "]")*\\n      arg_name          ::= [identifier | integer]\\n      attribute_name    ::= identifier\\n      element_index     ::= integer | index_string\\n      index_string      ::= <any source character except "]"> +\\n      conversion        ::= "r" | "s"\\n      format_spec       ::= <described in the next section>\\n\\nIn less formal terms, the replacement field can start with a\\n*field_name* that specifies the object whose value is to be formatted\\nand inserted into the output instead of the replacement field. The\\n*field_name* is optionally followed by a  *conversion* field, which is\\npreceded by an exclamation point ``\\\'!\\\'``, and a *format_spec*, which\\nis preceded by a colon ``\\\':\\\'``.  These specify a non-default format\\nfor the replacement value.\\n\\nSee also the *Format Specification Mini-Language* section.\\n\\nThe *field_name* itself begins with an *arg_name* that is either a\\nnumber or a keyword.  If it\\\'s a number, it refers to a positional\\nargument, and if it\\\'s a keyword, it refers to a named keyword\\nargument.  If the numerical arg_names in a format string are 0, 1, 2,\\n... in sequence, they can all be omitted (not just some) and the\\nnumbers 0, 1, 2, ... will be automatically inserted in that order.\\nBecause *arg_name* is not quote-delimited, it is not possible to\\nspecify arbitrary dictionary keys (e.g., the strings ``\\\'10\\\'`` or\\n``\\\':-]\\\'``) within a format string. The *arg_name* can be followed by\\nany number of index or attribute expressions. An expression of the\\nform ``\\\'.name\\\'`` selects the named attribute using ``getattr()``,\\nwhile an expression of the form ``\\\'[index]\\\'`` does an index lookup\\nusing ``__getitem__()``.\\n\\nChanged in version 2.7: The positional argument specifiers can be\\nomitted, so ``\\\'{} {}\\\'`` is equivalent to ``\\\'{0} {1}\\\'``.\\n\\nSome simple format string examples:\\n\\n   "First, thou shalt count to {0}" # References first positional argument\\n   "Bring me a {}"                  # Implicitly references the firs\n'))
SyntaxError: ('invalid syntax', ('/usr/lib/python2.7/pickletools.py', 1723, 32, '      stack_before=[anyobject],\n'))
dpkg: error processing python2.7 (--configure):
 subprocess installed post-installation script returned error exit status 1
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of python-problem-report:
 python-problem-report depends on python2.7; however:
  Package python2.7 is not configured yet.
dpkg: error processing python-problem-report (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of python-apport:
 python-apport depends on python2.7; however:
  Package python2.7 is not configured yet.
 python-apport depends on python-problem-report (>= 0.94); however:
  Package python-problem-report is not configured yet.
dpkg: error processing python-apport (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of apport:
 apport depends on python-apport (>= 2.0.1-0ubuntu17.5); however:
  Package python-apport is not configured yet.
dpkg: error processing apport (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of apport-gtk:
 apport-gtk depends on python-apport (>= 2.0.1-0ubuntu17.5); however:
  Package python-apport is not configured yet.
 apport-gtk depends on apport (>= 0.41); however:
  Package apport is not configured yet.
dpkg: error processing apport-gtk (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of hplip:
 hplip depends on python2.7; however:
  Package python2.7 is not configured yet.
dpkg: error processing hplip (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of printer-driver-postscript-hp:
 printer-driver-postscript-hp depends on hplip (>= 3.12.2-1ubuntu3.3); however:
  Package hplip is not configured yet.
dpkg: error processing printer-driver-postscript-hp (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of libpython2.7:
 libpython2.7 depends on python2.7 (= 2.7.3-0ubuntu3.4); however:
  Package python2.7 is not configured yet.
dpkg: error processing libpython2.7 (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of python-lazr.restfulclient:
 python-lazr.restfulclient depends on python2.7; however:
  Package python2.7 is not configured yet.
dpkg: error processing python-lazr.restfulclient (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of python-software-properties:
 python-software-properties depends on python2.7; however:
  Package python2.7 is not configured yet.
dpkg: error processing python-software-properties (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of software-properties-common:
 software-properties-common depends on python2.7; however:
  Package python2.7 is not configured yet.
dpkg: error processing software-properties-common (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of software-properties-gtk:
 software-properties-gtk depends on python2.7; however:
  Package python2.7 is not configured yet.
 software-properties-gtk depends on python-software-properties; however:
  Package python-software-properties is not configured yet.
 software-properties-gtk depends on software-properties-common; however:
  Package software-properties-common is not configured yet.
dpkg: error processing software-properties-gtk (--configure):
 dependency problems - leaving unconfigured
Setting up libavutil51 (4:0.8.8-0ubuntu0.12.04.1) ...No apport report written because MaxReports is reached already

Setting up libpostproc52 (4:0.8.8-0ubuntu0.12.04.1) ...
Setting up libswscale2 (4:0.8.8-0ubuntu0.12.04.1) ...
Setting up libavcodec53 (4:0.8.8-0ubuntu0.12.04.1) ...
Setting up libavformat53 (4:0.8.8-0ubuntu0.12.04.1) ...
Processing triggers for libc-bin ...
Errors were encountered while processing:
 python2.7
 python-problem-report
 python-apport
 apport
 apport-gtk
 hplip
 printer-driver-postscript-hp
 libpython2.7
 python-lazr.restfulclient
 python-software-properties
 software-properties-common
 software-properties-gtk
Error in function: 
Setting up python2.7 (2.7.3-0ubuntu3.4) ...
SyntaxError: ('EOL while scanning string literal', ('/usr/lib/python2.7/pydoc_data/topics.py', 36, 2774, ' \'formatstrings\': \'\\nFormat String Syntax\\n********************\\n\\nThe ``str.format()`` method and the ``Formatter`` class share the same\\nsyntax for format strings (although in the case of ``Formatter``,\\nsubclasses can define their own format string syntax).\\n\\nFormat strings contain "replacement fields" surrounded by curly braces\\n``{}``. Anything that is not contained in braces is considered literal\\ntext, which is copied unchanged to the output.  If you need to include\\na brace character in the literal text, it can be escaped by doubling:\\n``{{`` and ``}}``.\\n\\nThe grammar for a replacement field is as follows:\\n\\n      replacement_field ::= "{" [field_name] ["!" conversion] [":" format_spec] "}"\\n      field_name        ::= arg_name ("." attribute_name | "[" element_index "]")*\\n      arg_name          ::= [identifier | integer]\\n      attribute_name    ::= identifier\\n      element_index     ::= integer | index_string\\n      index_string      ::= <any source character except "]"> +\\n      conversion        ::= "r" | "s"\\n      format_spec       ::= <described in the next section>\\n\\nIn less formal terms, the replacement field can start with a\\n*field_name* that specifies the object whose value is to be formatted\\nand inserted into the output instead of the replacement field. The\\n*field_name* is optionally followed by a  *conversion* field, which is\\npreceded by an exclamation point ``\\\'!\\\'``, and a *format_spec*, which\\nis preceded by a colon ``\\\':\\\'``.  These specify a non-default format\\nfor the replacement value.\\n\\nSee also the *Format Specification Mini-Language* section.\\n\\nThe *field_name* itself begins with an *arg_name* that is either a\\nnumber or a keyword.  If it\\\'s a number, it refers to a positional\\nargument, and if it\\\'s a keyword, it refers to a named keyword\\nargument.  If the numerical arg_names in a format string are 0, 1, 2,\\n... in sequence, they can all be omitted (not just some) and the\\nnumbers 0, 1, 2, ... will be automatically inserted in that order.\\nBecause *arg_name* is not quote-delimited, it is not possible to\\nspecify arbitrary dictionary keys (e.g., the strings ``\\\'10\\\'`` or\\n``\\\':-]\\\'``) within a format string. The *arg_name* can be followed by\\nany number of index or attribute expressions. An expression of the\\nform ``\\\'.name\\\'`` selects the named attribute using ``getattr()``,\\nwhile an expression of the form ``\\\'[index]\\\'`` does an index lookup\\nusing ``__getitem__()``.\\n\\nChanged in version 2.7: The positional argument specifiers can be\\nomitted, so ``\\\'{} {}\\\'`` is equivalent to ``\\\'{0} {1}\\\'``.\\n\\nSome simple format string examples:\\n\\n   "First, thou shalt count to {0}" # References first positional argument\\n   "Bring me a {}"                  # Implicitly references the firs\n'))
SyntaxError: ('invalid syntax', ('/usr/lib/python2.7/pickletools.py', 1723, 32, '      stack_before=[anyobject],\n'))
dpkg: error processing python2.7 (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of python-problem-report:
 python-problem-report depends on python2.7; however:
  Package python2.7 is not configured yet.
dpkg: error processing python-problem-report (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of software-properties-common:
 software-properties-common depends on python2.7; however:
  Package python2.7 is not configured yet.
dpkg: error processing software-properties-common (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of hplip:
 hplip depends on python2.7; however:
  Package python2.7 is not configured yet.
dpkg: error processing hplip (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python-lazr.restfulclient:
 python-lazr.restfulclient depends on python2.7; however:
  Package python2.7 is not configured yet.
dpkg: error processing python-lazr.restfulclient (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of software-properties-gtk:
 software-properties-gtk depends on python2.7; however:
  Package python2.7 is not configured yet.
 software-properties-gtk depends on software-properties-common; however:
  Package software-properties-common is not configured yet.
dpkg: error processing software-properties-gtk (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libpython2.7:
Kann mir jemand helfen?

Danke
sebastian19
User
Beiträge: 1
Registriert: Dienstag 7. Januar 2014, 12:16

Was für einen Befehl hast du eingegeben?
Benutzeravatar
diesch
User
Beiträge: 80
Registriert: Dienstag 14. April 2009, 13:36
Wohnort: Brandenburg a.d. Havel
Kontaktdaten:

Versuch mal

Code: Alles auswählen

sudo apt-get clean
sudo apt-get install --reinstall python2.7
http://www.florian-diesch.de
Antworten