I get the following error for sudo apt-get -f install
Preparing to unpack .../click_0.4.46+16.10.20170607.3-0ubuntu1_amd64.deb ...
Traceback (most recent call last):
File "/usr/bin/click", line 37, in <module>
import click
ImportError: No module named 'click'
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
ImportError: No module named 'click'
dpkg: error processing archive /var/cache/apt/archives/click_0.4.46+16.10.20170607.3-0ubuntu1_amd64.deb (--unpack):
subprocess new pre-removal script returned error exit status 1
Job for click-system-hooks.service failed because the control process exited with error code.
See "systemctl status click-system-hooks.service" and "journalctl -xe" for details.
click-system-hooks.service couldn't start.
Errors were encountered while processing:
/var/cache/apt/archives/click_0.4.46+16.10.20170607.3-0ubuntu1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I installed python click with sudo pip3 install click and tried running sudo apt-get -f install
Preparing to unpack .../click_0.4.46+16.10.20170607.3-0ubuntu1_amd64.deb ...
Traceback (most recent call last):
File "/usr/bin/click", line 55, in <module>
from click import commands
ImportError: cannot import name 'commands'
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 55, in <module>
from click import commands
ImportError: cannot import name 'commands'
dpkg: error processing archive /var/cache/apt/archives/click_0.4.46+16.10.20170607.3-0ubuntu1_amd64.deb (--unpack):
subprocess new pre-removal script returned error exit status 1
Job for click-system-hooks.service failed because the control process exited with error code.
See "systemctl status click-system-hooks.service" and "journalctl -xe" for details.
click-system-hooks.service couldn't start.
Errors were encountered while processing:
/var/cache/apt/archives/click_0.4.46+16.10.20170607.3-0ubuntu1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I get the following error for sudo apt-get -f install
Preparing to unpack .../click_ 0.4.46+ 16.10.20170607. 3-0ubuntu1_ amd64.deb ... apt/archives/ click_0. 4.46+16. 10.20170607. 3-0ubuntu1_ amd64.deb (--unpack): hooks.service failed because the control process exited with error code. hooks.service" and "journalctl -xe" for details. hooks.service couldn't start. apt/archives/ click_0. 4.46+16. 10.20170607. 3-0ubuntu1_ amd64.deb
Traceback (most recent call last):
File "/usr/bin/click", line 37, in <module>
import click
ImportError: No module named 'click'
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
ImportError: No module named 'click'
dpkg: error processing archive /var/cache/
subprocess new pre-removal script returned error exit status 1
Job for click-system-
See "systemctl status click-system-
click-system-
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
I installed python click with sudo pip3 install click and tried running sudo apt-get -f install
Preparing to unpack .../click_ 0.4.46+ 16.10.20170607. 3-0ubuntu1_ amd64.deb ... apt/archives/ click_0. 4.46+16. 10.20170607. 3-0ubuntu1_ amd64.deb (--unpack): hooks.service failed because the control process exited with error code. hooks.service" and "journalctl -xe" for details. hooks.service couldn't start. apt/archives/ click_0. 4.46+16. 10.20170607. 3-0ubuntu1_ amd64.deb
Traceback (most recent call last):
File "/usr/bin/click", line 55, in <module>
from click import commands
ImportError: cannot import name 'commands'
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 55, in <module>
from click import commands
ImportError: cannot import name 'commands'
dpkg: error processing archive /var/cache/
subprocess new pre-removal script returned error exit status 1
Job for click-system-
See "systemctl status click-system-
click-system-
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)