[Bug 1699456] Re: package python3-colorama 0.3.7-1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Carlo Lobrano
c.lobrano at gmail.com
Wed Jun 21 15:27:45 UTC 2017
>From DpkgTerminalLog
```
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 4.8.0-56-generic /boot/vmlinuz-4.8.0-56-generic
Error! Could not locate dkms.conf file.
File: does not exist.
Setting up linux-headers-generic-hwe-16.04 (4.8.0.56.27) ...
Setting up linux-generic-hwe-16.04 (4.8.0.56.27) ...
Setting up python3-colorama (0.3.7-1) ...
dpkg-query: error: parsing file '/var/lib/dpkg/updates/0056' near line 0:
newline in field name '#padding'
Traceback (most recent call last):
File "/usr/bin/py3compile", line 290, in <module>
main()
File "/usr/bin/py3compile", line 270, in main
options.force, options.optimize, e_patterns)
File "/usr/bin/py3compile", line 154, in compile
for fn, versions_to_compile in filter_files(files, e_patterns, versions):
File "/usr/bin/py3compile", line 106, in filter_files
for fn in files:
File "/usr/share/python3/debpython/files.py", line 71, in filter_public
for fn in files:
File "/usr/share/python3/debpython/files.py", line 53, in from_package
raise Exception("cannot get content of %s" % package_name)
Exception: cannot get content of python3-colorama
dpkg: error processing package python3-colorama (--configure):
subprocess installed post-installation script returned error exit status 1
```
-> Not a python-colorama bug
It seems a corrupted update (0045).
dpkg-query: error: parsing file '/var/lib/dpkg/updates/0056' near
line 0:
As workaround
```
cd /var/lib/dpkg/updates && rm -rf 0045
sudo dpkg --configure -a
```
** Changed in: python-colorama (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python-colorama in Ubuntu.
https://bugs.launchpad.net/bugs/1699456
Title:
package python3-colorama 0.3.7-1 failed to install/upgrade: subprocess
installed post-installation script returned error exit status 1
Status in python-colorama package in Ubuntu:
Invalid
Bug description:
Immediately after login I was prompted with this error message.
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: python3-colorama 0.3.7-1
ProcVersionSignature: Ubuntu 4.8.0-56.61~16.04.1-generic 4.8.17
Uname: Linux 4.8.0-56-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.6
Architecture: amd64
Date: Tue Jun 20 07:38:31 2017
Dependencies:
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2016-09-09 (284 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
PackageArchitecture: all
RelatedPackageVersions:
dpkg 1.18.4ubuntu1.2
apt 1.2.20
SourcePackage: python-colorama
Title: package python3-colorama 0.3.7-1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-colorama/+bug/1699456/+subscriptions
More information about the foundations-bugs
mailing list