← Back to team overview

touch-packages team mailing list archive

[Bug 1378037] [NEW] ImportError: cannot import name 'click'

 

Public bug reported:

:~$ LANG=en sudo apt-get install apparmor-easyprof-ubuntu
Reading package lists... Done
Building dependency tree       
Reading state information... Done
apparmor-easyprof-ubuntu is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "ru_UA:ru",
        LC_ALL = (unset),
        LANG = "en"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Setting up apparmor-easyprof-ubuntu (1.2.34) ...
(may take a while)
Traceback (most recent call last):
  File "/usr/bin/aa-clickhook", line 14, in <module>
    from apparmor import click
ImportError: cannot import name 'click'
dpkg: error processing package apparmor-easyprof-ubuntu (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 apparmor-easyprof-ubuntu
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: apparmor-easyprof-ubuntu 1.2.34
ProcVersionSignature: Ubuntu 3.16.0-20.27-generic 3.16.3
Uname: Linux 3.16.0-20-generic x86_64
ApportVersion: 2.14.7-0ubuntu3
Architecture: amd64
Date: Mon Oct  6 20:35:15 2014
InstallationDate: Installed on 2014-07-25 (73 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=ru_UA:ru
 TERM=xterm
 PATH=(custom, no user)
 LANG=ru_UA.UTF-8
 SHELL=/bin/bash
SourcePackage: apparmor-easyprof-ubuntu
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: apparmor-easyprof-ubuntu (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug utopic

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apparmor-easyprof-ubuntu
in Ubuntu.
https://bugs.launchpad.net/bugs/1378037

Title:
  ImportError: cannot import name 'click'

Status in “apparmor-easyprof-ubuntu” package in Ubuntu:
  New

Bug description:
  :~$ LANG=en sudo apt-get install apparmor-easyprof-ubuntu
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  apparmor-easyprof-ubuntu is already the newest version.
  0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  1 not fully installed or removed.
  After this operation, 0 B of additional disk space will be used.
  Do you want to continue? [Y/n] y
  perl: warning: Setting locale failed.
  perl: warning: Please check that your locale settings:
          LANGUAGE = "ru_UA:ru",
          LC_ALL = (unset),
          LANG = "en"
      are supported and installed on your system.
  perl: warning: Falling back to the standard locale ("C").
  locale: Cannot set LC_CTYPE to default locale: No such file or directory
  locale: Cannot set LC_MESSAGES to default locale: No such file or directory
  locale: Cannot set LC_ALL to default locale: No such file or directory
  Setting up apparmor-easyprof-ubuntu (1.2.34) ...
  (may take a while)
  Traceback (most recent call last):
    File "/usr/bin/aa-clickhook", line 14, in <module>
      from apparmor import click
  ImportError: cannot import name 'click'
  dpkg: error processing package apparmor-easyprof-ubuntu (--configure):
   subprocess installed post-installation script returned error exit status 1
  Errors were encountered while processing:
   apparmor-easyprof-ubuntu
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  ProblemType: Bug
  DistroRelease: Ubuntu 14.10
  Package: apparmor-easyprof-ubuntu 1.2.34
  ProcVersionSignature: Ubuntu 3.16.0-20.27-generic 3.16.3
  Uname: Linux 3.16.0-20-generic x86_64
  ApportVersion: 2.14.7-0ubuntu3
  Architecture: amd64
  Date: Mon Oct  6 20:35:15 2014
  InstallationDate: Installed on 2014-07-25 (73 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
  PackageArchitecture: all
  ProcEnviron:
   LANGUAGE=ru_UA:ru
   TERM=xterm
   PATH=(custom, no user)
   LANG=ru_UA.UTF-8
   SHELL=/bin/bash
  SourcePackage: apparmor-easyprof-ubuntu
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor-easyprof-ubuntu/+bug/1378037/+subscriptions


Follow ups

References