package click-apparmor 0.3.17 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
click-apparmor (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
This occurred as part of an upgrade to 16.10.
It was part of a number of failed upgrades:
Errors were encountered while processing:
click
click-apparmor
url-dispatcher
ubuntu-app-launch
ubuntu-
url-dispatcher
ubuntu-
libunity-
ubuntu-
unity8
account-
unity-
unity-
unity8-
ubuntu-push-client
unity-scope-click
account-
pay-service
unity8-common
unity8-
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Package
DistroRelease: Ubuntu 16.10
Package: click-apparmor 0.3.17
ProcVersionSign
Uname: Linux 4.8.0-22-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.3-0ubuntu8
AptOrdering:
ubuntu-
ubuntu-
python3-
NULL: ConfigurePending
Architecture: amd64
Date: Thu Oct 13 20:54:48 2016
DuplicateSignature:
package:
Setting up click (0.4.45.
Cannot start click due to a conflict with a different locally-installed Python 'click' package. Remove it using Python packaging tools and try again.
dpkg: error processing package click (--configure):
subprocess installed post-installation script returned error exit status 1
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2016-04-10 (186 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Beta amd64 (20160323)
RelatedPackageV
dpkg 1.18.10ubuntu1
apt 1.3.1
SourcePackage: click-apparmor
Title: package click-apparmor 0.3.17 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to yakkety on 2016-10-14 (0 days ago)
tags: | removed: need-duplicate-check |
This is caused by having a conflicting Python package "click". To fix:
sudo pip3 uninstall click
sudo apt install -f