Установите TheFuck для Ubuntu

sudo apt update
sudo apt install python3-dev python3-pip python3-setuptools
sudo pip3 install thefuck

AlbaOpus