Comment 2 for bug 599208

Revision history for this message
Michael Bienia (geser) wrote :

After fixing the postinst, I got the following output but the package configuration succeeded (dpkg lists it as installed):

$ sudo dpkg --configure --pending
Setting up python3 (3.1.2-2ubuntu1) ...
Traceback (most recent call last):
  File "/usr/lib/python3.1/runpy.py", line 128, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib/python3.1/runpy.py", line 34, in _run_code
    exec(code, run_globals)
  File "/usr/lib/python3.1/py_compile.py", line 185, in <module>
    sys.exit(main())
  File "/usr/lib/python3.1/py_compile.py", line 177, in main
    compile(filename, doraise=True)
  File "/usr/lib/python3.1/py_compile.py", line 131, in compile
    encoding = read_encoding(file, "utf-8")
  File "/usr/lib/python3.1/py_compile.py", line 83, in read_encoding
    f = open(file, "rb")
IOError: [Errno 2] No such file or directory: '-'