[Bug 1023577] Re: package python3 3.2.3-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 4

Daniel Holbert dholbert+launchpad at gmail.com
Thu Jul 12 18:47:38 UTC 2012


So at least in my case, the error was something like:
> running python rtupdate hooks for python3.2...
> Usage: py3clean [-V VERSION] [-p PACKAGE | DIR_OR_FILE]

and it was happening because I had a ".rtupdate" file that included the command
> py3clean -p ubuntu-drivers-common /usr/share/ubuntu-drivers-common
which is apparently invalid because it's trying to clean a directory _and_ a package at the same time.

MY WORKAROUND: I edited the affected .rtupdate file to separate that out into 2 commands, and that fixed it for me -- e.g. to say instead:
> py3clean -p ubuntu-drivers-common
> py3clean /usr/share/ubuntu-drivers-common

You can see if you have any files with a broken py3clean command using a command like this:
> for x in `locate "*rtupdate"`; do grep py3clean $x; done
and then skimming the results for commands that include both "-p packagename" and a file path.

(you may need to run "sudo updatedb" for 'locate' to provide up-to-date
results)

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

Title:
  package python3 3.2.3-1ubuntu1 failed to install/upgrade: subprocess
  installed post-installation script returned error exit status 4

Status in “ubiquity” package in Ubuntu:
  Confirmed

Bug description:
  just install/upgrade

  ProblemType: Package
  DistroRelease: Ubuntu 12.10
  Package: python3 3.2.3-1ubuntu1
  ProcVersionSignature: Ubuntu 3.5.0-4.4-generic 3.5.0-rc6
  Uname: Linux 3.5.0-4-generic x86_64
  ApportVersion: 2.3-0ubuntu4
  Architecture: amd64
  Date: Wed Jul 11 15:30:07 2012
  ErrorMessage: subprocess installed post-installation script returned error exit status 4
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20111129.1)
  PackageArchitecture: all
  SourcePackage: python3-defaults
  Title: package python3 3.2.3-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 4
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1023577/+subscriptions




More information about the foundations-bugs mailing list