package click-apparmor 0.3.17 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #1633291 reported by Rob Moore
48
This bug affects 9 people
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:amd64
 ubuntu-app-launch
 ubuntu-system-settings
 url-dispatcher-tools
 ubuntu-app-launch-tools
 libunity-scopes1.0:amd64
 ubuntu-system-settings-online-accounts
 unity8
 account-plugin-ubuntuone
 unity-plugin-scopes:amd64
 unity-greeter-session-broadcast
 unity8-desktop-session
 ubuntu-push-client
 unity-scope-click
 account-plugin-facebook
 pay-service
 unity8-common
 unity8-private:amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 16.10
Package: click-apparmor 0.3.17
ProcVersionSignature: Ubuntu 4.8.0-22.24-generic 4.8.0
Uname: Linux 4.8.0-22-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.20.3-0ubuntu8
AptOrdering:
 ubuntu-release-upgrader-gtk:amd64: Install
 ubuntu-release-upgrader-core:amd64: Install
 python3-distupgrade:amd64: Install
 NULL: ConfigurePending
Architecture: amd64
Date: Thu Oct 13 20:54:48 2016
DuplicateSignature:
 package:click-apparmor:0.3.17
 Setting up click (0.4.45.1+16.10.20160916-0ubuntu1) ...
 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)
RelatedPackageVersions:
 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)

Revision history for this message
Rob Moore (roborative) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Jeff-stafford (jeff-stafford) wrote :

This is caused by having a conflicting Python package "click". To fix:

sudo pip3 uninstall click
sudo apt install -f

Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in click-apparmor (Ubuntu):
status: New → Confirmed
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.