[Bug 599208] Re: python3 fails to install (postinst has invalid shebang line)
Michael Bienia
michael at bienia.de
Mon Jun 28 09:38:42 BST 2010
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: '-'
--
python3 fails to install (postinst has invalid shebang line)
https://bugs.launchpad.net/bugs/599208
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is a direct subscriber.
Status in “python3-defaults” package in Ubuntu: New
Bug description:
Setting up python3 (3.1.2-2ubuntu1) ...
dpkg (subprocess): unable to execute installed post-installation script (/var/lib/dpkg/info/python3.postinst): Exec format error
dpkg: error processing python3 (--configure):
subprocess installed post-installation script returned error exit status 2
More information about the Ubuntu-sponsors
mailing list