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
Bugs, which is subscribed to 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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to