Oh yes, I can recognize myself in that. It is actually amazing how far the system can be destroyed and afterwards restored again just by invoking apt-get install ubuntu-mate-desktop
This is not the first time I sabotaged my packetmanager.
Done it several times since I started with Ubuntu 6.06 Dapper Drake.
I tend to get careless because the system will run anyway, my $HOME is on a separate partition and I have backups of everything, and now especially since I already planned a new install with 24.04 on april 26th (now running 22.04)
A reinstall including the packets I usually (automagically by script) install will cost my system about 20 minutes while I drink my coffee so it's not a big deal.