I would like to erase and reupdate my workstation

While trying to fix an issue with my headset, I unknowingly corrupted my workstation.
It was mentioning something about /etc/profile.d/01-locale-fix.sh: line2 /usr/bin/locale-check: No such file or directory.

Would you please help reinstall my ubuntu? I’ve tried to fix the issue by googling but it all end up with something about python
" libglib2.0-bin : Depends: libglib2.0-0 (= 2.58.3-2+deb10u3) but 2.56.4-0ubuntu0.18.04.9 is installed
libglib2.0-dev : Depends: libglib2.0-0 (= 2.58.3-2+deb10u3) but 2.56.4-0ubuntu0.18.04.9 is installed
libharfbuzz-dev : Depends: libharfbuzz0b (= 2.3.1-1) but 1.7.2-1ubuntu1 is installed
Depends: libharfbuzz-gobject0 (= 2.3.1-1) but 1.7.2-1ubuntu1 is installed
Depends: gir1.2-harfbuzz-0.0 (= 2.3.1-1) but 1.7.2-1ubuntu1 is installed
libicu-le-hb-dev : Depends: libicu-le-hb0 (= 1.0.3+git180724-3) but 1.0.3+git161113-4 is installed
python3-distutils : Depends: python3 (>= 3.7.1-1~) but 3.6.5-3ubuntu1 is installed
python3-lib2to3 : Depends: python3 (>= 3.7.1-1~) but 3.6.5-3ubuntu1 is installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies
"

Please help