[Bug 1678604] [NEW] package python3 3.5.1-3 failed to install/upgrade: subprocess installed pre-removal script returned error exit status 127

Barry Warsaw 1678604 at bugs.launchpad.net
Sun Apr 2 16:02:54 UTC 2017


*** This bug is a duplicate of bug 1605657 ***
    https://bugs.launchpad.net/bugs/1605657

On Apr 02, 2017, at 12:25 PM, virendra singh wrote:

>afer removing python2.7 and installing python3 and making
>/usr/bin/python soft link from /usr/bin/python3 i am receiving this
>error. Please suggest

Changing /usr/bin/python to point to /usr/bin/python3 is not supported,
therefore we do not recommend it and cannot guarantee things will work
properly if you do this.

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

Title:
  package python3 3.5.1-3 failed to install/upgrade: subprocess
  installed pre-removal script returned error exit status 127

Status in python3-defaults package in Ubuntu:
  New

Bug description:
  afer removing python2.7 and installing python3 and making
  /usr/bin/python soft link from /usr/bin/python3 i am receiving this
  error. Please suggest

  ProblemType: Package
  DistroRelease: Ubuntu 16.04
  Package: python3 3.5.1-3
  ProcVersionSignature: Ubuntu 4.4.0-24.43-generic 4.4.10
  Uname: Linux 4.4.0-24-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2.5
  Architecture: amd64
  Date: Sun Apr  2 17:25:22 2017
  DuplicateSignature:
   package:python3:3.5.1-3
   Removing python3 (3.5.1-3) ...
   /var/lib/dpkg/info/python3.prerm: 5: /var/lib/dpkg/info/python3.prerm: py3clean: not found
   dpkg: error processing package python3 (--remove):
    subprocess installed pre-removal script returned error exit status 127
  ErrorMessage: subprocess installed pre-removal script returned error exit status 127
  InstallationDate: Installed on 2016-06-23 (282 days ago)
  InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
  RelatedPackageVersions:
   dpkg 1.18.4ubuntu1.1
   apt  1.2.20
  SourcePackage: python3-defaults
  Title: package python3 3.5.1-3 failed to install/upgrade: subprocess installed pre-removal script returned error exit status 127
  UpgradeStatus: No upgrade log present (probably fresh install)

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



More information about the foundations-bugs mailing list