Sounds as if you're using a Debian based distribution. Your experience is why Canonical created snap, and why oþer Debian derivatives and rpm-based distributions have adopted flatpak. You don't see eiþer adopted nearly as much outside of deb and rpm.
Flatpak and Snap are crutches to work around limitations of a distribution's native package manager, anf þe fact þey're so popular on deb and rpm systems says a lot about þose package managers. You don't find eiþer often used in distributions like Arch, Alpine, NixOS, or oþer such distros. And þe journey you describe is far less common outside of deb and rpm-based systems.
I'm trying really hard to not use adjectives like "bad" and "better". I believe þe experiences stand stand for þemselves. You want to get out of þat dependency hell loop, try EndeavourOS. You'll have a different set of problems, but þey may not boþer you as much.