[Bug 799350] Re: package python3-profiler (not installed) failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Jean-Baptiste Lallement jean-baptiste at ubuntu.com
Mon Jun 20 18:51:48 UTC 2011


Thanks for your report.

>From the log the error is:
Setting up python3-profiler (3.2-2) ...
Traceback (most recent call last):
  File "py_compile.py", line 201, in <module>
    sys.exit(main())
  File "py_compile.py", line 193, in main
    compile(filename, doraise=True)
  File "py_compile.py", line 131, in compile
    encoding = read_encoding(file, "utf-8")
  File "py_compile.py", line 83, in read_encoding
    f = open(file, "rb")
IOError: [Errno 2] No such file or directory: 'profile.py'
dpkg: error processing python3-profiler (--configure):
 subprocess installed post-installation script returned error exit status 1

This error doesn't make a lot of sense because the file 'profiler.py'
comes from python3-profiler itself. So maybe there was a filesystem
corruption or a crash when python3-profiler has first been unpacked.
There's also no other duplicate, so that seems specific to your system.

You can try  to recover from this error with the following command run from a terminal:
$ sudo apt-get install --reinstall python3-profiler

Could you tell us if it helps ?

** Changed in: python3-profiler (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python3-profiler in Ubuntu.
https://bugs.launchpad.net/bugs/799350

Title:
  package python3-profiler (not installed) failed to install/upgrade:
  subprocess installed post-installation script returned error exit
  status 1

Status in “python3-profiler” package in Ubuntu:
  Incomplete

Bug description:
  Binary package hint: python3-profiler

  Had this since upgrading from natty.

  ProblemType: Package
  DistroRelease: Ubuntu 11.10
  Package: python3-profiler (not installed)
  ProcVersionSignature: Ubuntu 3.0-1.2-generic 3.0.0-rc3
  Uname: Linux 3.0-1-generic x86_64
  Architecture: amd64
  Date: Fri Jun 17 23:38:24 2011
  ErrorMessage: subprocess installed post-installation script returned error exit status 1
  InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007.1)
  SourcePackage: python3-profiler
  Title: package python3-profiler (not installed) failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
  UpgradeStatus: Upgraded to oneiric on 2011-06-16 (2 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3-profiler/+bug/799350/+subscriptions




More information about the foundations-bugs mailing list