package python-samba 2:4.1.17+dfsg-4ubuntu3.2 failed to install/upgrade: subprocess new pre-removal script returned error exit status 1

Bug #1557318 reported by Manish Demblani
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
samba (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

My entire system became a rread only file sysem and busy box showed an unexpected error, indicating a corrupt file with no DT(DateTime).

ProblemType: Package
DistroRelease: Ubuntu 15.10
Package: python-samba 2:4.1.17+dfsg-4ubuntu3.2
ProcVersionSignature: Ubuntu 4.2.0-30.36-generic 4.2.8-ckt3
Uname: Linux 4.2.0-30-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.19.1-0ubuntu5
Architecture: amd64
Date: Fri Mar 11 12:32:14 2016
DuplicateSignature: package:python-samba:2:4.1.17+dfsg-4ubuntu3.2:subprocess new pre-removal script returned error exit status 1
ErrorMessage: subprocess new pre-removal script returned error exit status 1
InstallationDate: Installed on 2015-10-21 (145 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
NmbdLog:

RelatedPackageVersions:
 dpkg 1.18.2ubuntu5.1
 apt 1.0.10.2ubuntu1
SambaServerRegression: Yes
SmbConfIncluded: Yes
SmbLog:

SourcePackage: samba
Title: package python-samba 2:4.1.17+dfsg-4ubuntu3.2 failed to install/upgrade: subprocess new pre-removal script returned error exit status 1
UpgradeStatus: Upgraded to wily on 2015-12-03 (102 days ago)
WindowsFailedConnect: Yes

Revision history for this message
Manish Demblani (manish-demblani) wrote :
Revision history for this message
Steve Beattie (sbeattie) wrote : Bug is not a security issue

Thanks for taking the time to report this bug and helping to make Ubuntu better. We appreciate the difficulties you are facing, but this appears to be a "regular" (non-security) bug. I have unmarked it as a security issue since this bug does not show evidence of allowing attackers to cross privilege boundaries nor directly cause loss of data/privacy. Please feel free to report any other bugs you may find.

information type: Private Security → Public
tags: removed: need-duplicate-check
Revision history for this message
Joshua Powers (powersj) wrote :

From log:

  File "/usr/bin/pyclean", line 63
    except (IOError, OSError), e:
                             ^
SyntaxError: invalid syntax

This is generally reported when you have changed your default python interpretor from Python 2 to Python 3 or some other version. You really should not change this as it will lead to unexpected behavior like what you have observed.

I am marking this "Invalid", however if you have additional details about the issue please feel free to add them here and mark this as "New" to be looked at again.

Changed in samba (Ubuntu):
status: New → Invalid
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.