Package: thefuck
Version: 3.29-0.1
Severity: important
Dear Maintainer,
* What led up to the situation?
I installed thefuck on a fresh system with the bullseye installer.
* What exactly did you do (or not do) that was effective (or
ineffective)?
I tried to load my dotfiles wich include eval "$(thefuck --alias c)".
* What was the outcome of this action?
It failed with this error
Traceback (most recent call last):
File "/usr/bin/thefuck", line 9, in <module>
from thefuck.entrypoints.main import main
File "/usr/share/thefuck/thefuck/entrypoints/main.py", line 2, in <module>
from ..system import init_output
File "/usr/share/thefuck/thefuck/system/__init__.py", line 7, in <module>
from .unix import * # noqa: F401,F403
File "/usr/share/thefuck/thefuck/system/unix.py", line 6, in <module>
from distutils.spawn import find_executable
ModuleNotFoundError: No module named 'distutils.spawn'
* What outcome did you expect instead?
To load normally without an error.
I searched the internet about this issue and found a solution in
installing python3-distutils. I believe thefuck just missing a
depency on it.
PS: First bug report on Debian :)
-- System Information:
Debian Release: bullseye/sid
APT prefers testing
APT policy: (500, 'testing'), (100, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 5.3.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL
set to C.UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to
C.UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages thefuck depends on:
ii python3 3.7.5-1
ii python3-colorama 0.4.1-1
ii python3-decorator 4.3.0-1.1
ii python3-pkg-resources 41.2.0-1
ii python3-psutil 5.6.7-1
ii python3-pyte 0.4.8-1
ii python3-six 1.13.0-1
thefuck recommends no packages.
thefuck suggests no packages.
-- no debconf information