Comment 17 for bug 1693226

Revision history for this message
nimbosa (darth-serious) wrote :

on Ubuntu Xenial this still gives this error:
```
Traceback (most recent call last):
  File "/usr/bin/click", line 37, in <module>
    import click_package as click
ImportError: No module named 'click_package'
dpkg: warning: subprocess old pre-removal script returned error exit status 1
dpkg: trying script from the new package instead ...
Traceback (most recent call last):
  File "/usr/bin/click", line 37, in <module>
    import click_package as click
ImportError: No module named 'click_package'
dpkg: error processing archive /var/cache/apt/archives/click-apparmor_0.3.13.1_amd64.deb (--unpack):
 subprocess new pre-removal script returned error exit status 1
```

i did a little experiment:
`sudo apt update && sudo apt install python3-click-package python3-click libclick-0.4-dev libclick-0.4`

then reinstalling:
`sudo apt install click click-apparmor --reinstall --force-yes`

fixes this now on Xenial Xerus