[Bug 831739] Re: package python3 3.2-3 [modified: usr/share/doc/python3/changelog.Debian.gz] failed to install/upgrade: subprocess installed pre-removal script returned error exit status 134

Barry Warsaw 831739 at bugs.launchpad.net
Tue Aug 30 19:28:55 UTC 2011


What does this give you:

$ locale charmap

?  I get "UTF-8" (sans quotes).  The manpage claims this is exactly the
string returned by nl_langinfo(CODESET)[*].  It would also be
interesting to know whether nl_langinfo() is returning NULL or the empty
string, since the manpage states it should only return the empty string
if CODESET were not valid.  nl_langinfo() is not documented to return
NULL.

FWIW, the locale command gives me exactly the same output as you have.

Python tracker issues that could be relevant: 8610 (closed).

[*] I'm not sure I believe the manpage though.  Try compiling and
running this C program.  For me, this prints 'ANSI_X3.4-1968' (i.e. US-
ASCII) while 'locale charmap' returns UTF-8.


#include <stdio.h>
#include <langinfo.h>

int main(int argc, char** argv)
{
   char *info = nl_langinfo(CODESET);
   
   if (info == NULL) {
      printf("langinfo is NULL\n");
   }
   else {
      printf("langinfo: '%s'\n", info);
   }
   return 0;
}

What does that C program print for you?

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

Title:
  package python3 3.2-3 [modified:
  usr/share/doc/python3/changelog.Debian.gz] failed to install/upgrade:
  subprocess installed pre-removal script returned error exit status 134

Status in “python3.2” package in Ubuntu:
  Incomplete

Bug description:
  trying to play a movie with mplayer

  ProblemType: Package
  DistroRelease: Ubuntu 11.10
  Package: python3 3.2-3
  ProcVersionSignature: Ubuntu 3.0.0-9.12-generic 3.0.3
  Uname: Linux 3.0.0-9-generic x86_64
  Architecture: amd64
  Date: Mon Aug 22 17:03:42 2011
  ErrorMessage: subprocess installed pre-removal script returned error exit status 134
  InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
  PackageArchitecture: all
  SourcePackage: python3-defaults
  Title: package python3 3.2-3 [modified: usr/share/doc/python3/changelog.Debian.gz] failed to install/upgrade: subprocess installed pre-removal script returned error exit status 134
  UpgradeStatus: Upgraded to oneiric on 2011-08-15 (8 days ago)

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




More information about the foundations-bugs mailing list