Today I tried to update so I entered sudo apt update through the terminal. However it returned with
The repository 'http://ppa.launchpad.net/thopiekar/pygame/ubuntu focal Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default.
So I tried to update with
sudo apt update --allow-unauthenticated
However that still didn't work so I decided to uninstall pygame with
python3 -m pip uninstall pygame --user
Python returned with
Usage:
/usr/bin/python3 -m pip uninstall [options] ... /usr/bin/python3 -m pip uninstall [options] -r ... no such option: --user
Is there something I am doing wrong?
apt update
only updates the list of available software. You have to useapt upgrade
if you actually want to upgrade packages to the current version. Second, your system updates are broken. See: What can I do if a repository/PPA does not have a Release file?. But neither of these things have anything to do with uninstalling software installed with pip – Nmath Mar 22 '21 at 22:38pip install packagename
you need only to use the commandpip uninstall packagename
. Is there some problem when you use this command? – Nmath Mar 22 '21 at 22:39