package python3-pil:amd64 3.3.1-1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pillow (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Logs:
Setting up python3-pil:amd64 (3.3.1-1) ...
Sorry: ValueError: source code string cannot contain null bytes
Sorry: ValueError: source code string cannot contain null bytes
Sorry: ValueError: source code string cannot contain null bytes
dpkg: error processing package python3-pil:amd64 (--configure):
subprocess installed post-installation script returned error exit status 1
Happened after running do-release-upgrade to upgrade from 16.04.1 to 16.10
ProblemType: Package
DistroRelease: Ubuntu 16.10
Package: python3-pil:amd64 3.3.1-1
ProcVersionSign
Uname: Linux 4.4.0-42-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.1-0ubuntu2.1
AptOrdering:
libmpfi-dev:amd64: Install
NULL: ConfigurePending
Architecture: amd64
Date: Wed Oct 19 19:36:17 2016
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2016-08-18 (62 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
RelatedPackageV
dpkg 1.18.10ubuntu1
apt 1.3.1
SourcePackage: pillow
Title: package python3-pil:amd64 3.3.1-1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to yakkety on 2016-10-20 (0 days ago)
Changed in pillow (Ubuntu): | |
status: | New → Invalid |
Removing then reinstalling the package fixed the problem. It looks like the file installed was corrupted.