Terminal2Shell: Critical flaw grants instant shell access on every major OS
(terminal2shell.com)
❤ 3
You could always try using "sudo dpkg -r --force-all apt" instead. It won't clean up the dependencies, admittedly.