package apport 2.20.1-0ubuntu2.4 failed to install/upgrade: subprocess new pre-removal script returned error exit status 2

Bug #1660053 reported by Shubham
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
python-defaults (Ubuntu)
Confirmed
High
Unassigned

Bug Description

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: apport 2.20.1-0ubuntu2.4
ProcVersionSignature: Ubuntu 4.4.0-59.80-generic 4.4.35
Uname: Linux 4.4.0-59-generic x86_64
ApportLog:
 ERROR: apport (pid 11367) Fri Jan 27 04:11:51 2017: called for pid 10831, signal 11, core limit 0
 ERROR: apport (pid 11367) Fri Jan 27 04:11:51 2017: executable: /usr/lib/firefox/plugin-container (command line "/usr/lib/firefox/plugin-container /usr/lib/flashplugin-installer/libflashplayer.so -greomni /usr/lib/firefox/omni.ja -appomni /usr/lib/firefox/browser/omni.ja -appdir /usr/lib/firefox/browser 2196 true plugin")
 ERROR: apport (pid 11367) Fri Jan 27 04:11:51 2017: executable version is blacklisted, ignoring
ApportVersion: 2.20.1-0ubuntu2.4
Architecture: amd64
CrashReports:
 644:0:116:0:2017-01-26 21:26:16.589169125 +0530:2017-01-26 21:26:16.589169125 +0530:/var/crash/bluefish-data.0.upload
 640:0:116:204816:2017-01-26 21:26:15.569168806 +0530:2017-01-26 21:26:16.569168806 +0530:/var/crash/bluefish-data.0.crash
 600:0:116:159472:2017-01-28 22:32:36.371843338 +0530:2017-01-28 22:32:37.371843338 +0530:/var/crash/apport.0.crash
 600:109:116:0:2017-01-27 03:37:06.746315169 +0530:2017-01-27 03:37:06.746315169 +0530:/var/crash/bluefish-data.0.uploaded
Date: Sat Jan 28 22:32:37 2017
ErrorMessage: subprocess new pre-removal script returned error exit status 2
InstallationDate: Installed on 2016-12-04 (54 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
PackageArchitecture: all
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.1
 apt 1.2.19
SourcePackage: apport
Title: package apport 2.20.1-0ubuntu2.4 failed to install/upgrade: subprocess new pre-removal script returned error exit status 2
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Shubham (sarohashubham) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in apport (Ubuntu):
status: New → Confirmed
Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

Please open a new report about the bug you mentioned in the description

(https://help.ubuntu.com/community/ReportingBugs#Reporting_non-crash_hardware_and_desktop_application_bugs)

Changed in apport (Ubuntu):
importance: Undecided → High
Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

It was "a marker instead of cursor comes on my screen now and then".

description: updated
Revision history for this message
Benjamin Drung (bdrung) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.

The relevant log:

```
Preparing to unpack .../apport_2.20.1-0ubuntu2.5_all.deb ...
import: unable to open image `sys': Is a directory @ error/blob.c/OpenBlob/2712.
from: can't read /var/mail/os
from: can't read /var/mail/os.path
/usr/bin/pyclean: 29: /usr/bin/pyclean: Syntax error: word unexpected (expecting ")")
```

So this looks like a problem of pyclean or a broken system. Reassigning to python-minimal (source python-defaults) which ships pyclean.

affects: apport (Ubuntu) → python-defaults (Ubuntu)
Revision history for this message
Shubham (sarohashubham) wrote : Re: [Bug 1660053] Re: package apport 2.20.1-0ubuntu2.4 failed to install/upgrade: subprocess new pre-removal script returned error exit status 2
Download full text (3.2 KiB)

Thanks Bejamin for sharing the details. :D

Best,
Shubham

On Wed, Nov 9, 2022 at 4:35 PM Benjamin Drung <email address hidden>
wrote:

> Thank you for taking the time to report this bug and helping to make
> Ubuntu better.
>
> The relevant log:
>
> ```
> Preparing to unpack .../apport_2.20.1-0ubuntu2.5_all.deb ...
> import: unable to open image `sys': Is a directory @
> error/blob.c/OpenBlob/2712.
> from: can't read /var/mail/os
> from: can't read /var/mail/os.path
> /usr/bin/pyclean: 29: /usr/bin/pyclean: Syntax error: word unexpected
> (expecting ")")
> ```
>
> So this looks like a problem of pyclean or a broken system. Reassigning
> to python-minimal (source python-defaults) which ships pyclean.
>
> ** Package changed: apport (Ubuntu) => python-defaults (Ubuntu)
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1660053
>
> Title:
> package apport 2.20.1-0ubuntu2.4 failed to install/upgrade: subprocess
> new pre-removal script returned error exit status 2
>
> Status in python-defaults package in Ubuntu:
> Confirmed
>
> Bug description:
> ProblemType: Package
> DistroRelease: Ubuntu 16.04
> Package: apport 2.20.1-0ubuntu2.4
> ProcVersionSignature: Ubuntu 4.4.0-59.80-generic 4.4.35
> Uname: Linux 4.4.0-59-generic x86_64
> ApportLog:
> ERROR: apport (pid 11367) Fri Jan 27 04:11:51 2017: called for pid
> 10831, signal 11, core limit 0
> ERROR: apport (pid 11367) Fri Jan 27 04:11:51 2017: executable:
> /usr/lib/firefox/plugin-container (command line
> "/usr/lib/firefox/plugin-container
> /usr/lib/flashplugin-installer/libflashplayer.so -greomni
> /usr/lib/firefox/omni.ja -appomni /usr/lib/firefox/browser/omni.ja -appdir
> /usr/lib/firefox/browser 2196 true plugin")
> ERROR: apport (pid 11367) Fri Jan 27 04:11:51 2017: executable version
> is blacklisted, ignoring
> ApportVersion: 2.20.1-0ubuntu2.4
> Architecture: amd64
> CrashReports:
> 644:0:116:0:2017-01-26 21:26:16.589169125 +0530:2017-01-26
> 21:26:16.589169125 +0530:/var/crash/bluefish-data.0.upload
> 640:0:116:204816:2017-01-26 21:26:15.569168806 +0530:2017-01-26
> 21:26:16.569168806 +0530:/var/crash/bluefish-data.0.crash
> 600:0:116:159472:2017-01-28 22:32:36.371843338 +0530:2017-01-28
> 22:32:37.371843338 +0530:/var/crash/apport.0.crash
> 600:109:116:0:2017-01-27 03:37:06.746315169 +0530:2017-01-27
> 03:37:06.746315169 +0530:/var/crash/bluefish-data.0.uploaded
> Date: Sat Jan 28 22:32:37 2017
> ErrorMessage: subprocess new pre-removal script returned error exit
> status 2
> InstallationDate: Installed on 2016-12-04 (54 days ago)
> InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64
> (20160719)
> PackageArchitecture: all
> RelatedPackageVersions:
> dpkg 1.18.4ubuntu1.1
> apt 1.2.19
> SourcePackage: apport
> Title: package apport 2.20.1-0ubuntu2.4 failed to install/upgrade:
> subprocess new pre-removal script returned error exit status 2
> UpgradeStatus: No upgrade log present (probably fresh install)
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/python-defaults/+bug/16600...

Read more...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.