← Back to team overview

desktop-packages team mailing list archive

[Bug 1522714] Re: package apport 2.19.1-0ubuntu3 failed to install/upgrade: subprocess new pre-removal script returned error exit status 127

 

[Expired for apport (Ubuntu) because there has been no activity for 60
days.]

** Changed in: apport (Ubuntu)
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/1522714

Title:
  package apport 2.19.1-0ubuntu3 failed to install/upgrade: subprocess
  new pre-removal script returned error exit status 127

Status in apport package in Ubuntu:
  Expired

Bug description:
  hi

  I am new to ubuntu15.10

  the following error I am getting while using the following commands

  sudo apt-get update

  dpkg: warning: subprocess old pre-removal script returned error exit status 127
  dpkg: trying script from the new package instead ...
  /var/lib/dpkg/tmp.ci/prerm: 6: /var/lib/dpkg/tmp.ci/prerm: pyclean: not found
  dpkg: error processing archive /var/cache/apt/archives/python-samba_2%3a4.1.17+dfsg-4ubuntu3_i386.deb (--unpack):
   subprocess new pre-removal script returned error exit status 127
  /var/lib/dpkg/info/python-samba.postinst: 6: /var/lib/dpkg/info/python-samba.postinst: pycompile: not found
  dpkg: error while cleaning up:
   subprocess installed post-installation script returned error exit status 127


  Preparing to unpack .../apport_2.19.1-0ubuntu5_all.deb ...
  /var/lib/dpkg/info/apport.prerm: 14: /var/lib/dpkg/info/apport.prerm: pyclean: not found
  dpkg: warning: subprocess old pre-removal script returned error exit status 127
  dpkg: trying script from the new package instead ...
  /var/lib/dpkg/tmp.ci/prerm: 14: /var/lib/dpkg/tmp.ci/prerm: pyclean: not found
  dpkg: error processing archive /var/cache/apt/archives/apport_2.19.1-0ubuntu5_all.deb (--unpack):
   subprocess new pre-removal script returned error exit status 127

  
  Errors were encountered while processing:
   /var/cache/apt/archives/python-samba_2%3a4.1.17+dfsg-4ubuntu3_i386.deb
   /var/cache/apt/archives/apport_2.19.1-0ubuntu5_all.deb
  E: Sub-process /usr/bin/dpkg returned an error code (1)
  root@silico-All-Series:/home/silico# dpkg: warning: subprocess old pre-removal script returned error exit status 127
  No command 'dpkg:' found, did you mean:
   Command 'dpkg' from package 'dpkg' (main)
  dpkg:: command not found
  root@silico-All-Series:/home/silico# dpkg: trying script from the new package instead ...
  No command 'dpkg:' found, did you mean:
   Command 'dpkg' from package 'dpkg' (main)
  dpkg:: command not found
  root@silico-All-Series:/home/silico# /var/lib/dpkg/tmp.ci/prerm: 6: /var/lib/dpkg/tmp.ci/prerm: pyclean: not found
  bash: /var/lib/dpkg/tmp.ci/prerm:: No such file or directory
  root@silico-All-Series:/home/silico# dpkg: error processing archive /var/cache/apt/archives/python-samba_2%3a4.1.17+dfsg-4ubuntu3_i386.deb (--unpack):
  bash: syntax error near unexpected token `('
  root@silico-All-Series:/home/silico#  subprocess new pre-removal script returned error exit status 127
  subprocess: command not found
  root@silico-All-Series:/home/silico# /var/lib/dpkg/info/python-samba.postinst: 6: /var/lib/dpkg/info/python-samba.postinst: pycompile: not found
  bash: /var/lib/dpkg/info/python-samba.postinst:: No such file or directory
  root@silico-All-Series:/home/silico# dpkg: error while cleaning up:
  No command 'dpkg:' found, did you mean:
   Command 'dpkg' from package 'dpkg' (main)
  dpkg:: command not found
  root@silico-All-Series:/home/silico#  subprocess installed post-installation script returned error exit status 127
  subprocess: command not found
  root@silico-All-Series:/home/silico#

  ProblemType: Package
  DistroRelease: Ubuntu 15.10
  Package: apport 2.19.1-0ubuntu3
  ProcVersionSignature: Ubuntu 4.2.0-16.19-generic 4.2.3
  Uname: Linux 4.2.0-16-generic i686
  ApportVersion: 2.19.1-0ubuntu3
  Architecture: i386
  Date: Fri Dec  4 18:38:20 2015
  DuplicateSignature: package:apport:2.19.1-0ubuntu3:subprocess new pre-removal script returned error exit status 127
  ErrorMessage: subprocess new pre-removal script returned error exit status 127
  InstallationDate: Installed on 2015-12-03 (1 days ago)
  InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release i386 (20151021)
  PackageArchitecture: all
  RelatedPackageVersions:
   dpkg 1.18.2ubuntu5.1
   apt  1.0.10.2ubuntu1
  SourcePackage: apport
  Title: package apport 2.19.1-0ubuntu3 failed to install/upgrade: subprocess new 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/apport/+bug/1522714/+subscriptions


References