I suggest instead of changing your system-wide installation sources, you better manually install Electrum with its own installation tutorial. Go to
https://electrum.org/#download, on "Installation from Python sources" go ahead with "Install with PIP:"
sudo apt-get install python3-pyqt5 libsecp256k1-dev python3-cryptography python3-setuptools python3-pip
wget https://download.electrum.org/4.4.6/Electrum-4.4.6.tar.gz
wget https://download.electrum.org/4.4.6/Electrum-4.4.6.tar.gz.asc
gpg --verify Electrum-4.4.6.tar.gz.asc
python3 -m pip install --user Electrum-4.4.6.tar.gz
-snip-