I have set up an alias for apt-get as apt, for convenience. This works fine, I can do
sudo apt install PACKAGE sudo apt remove PACKAGE sudo apt update
etc with no issues. However, the autoremove option doesn't work. When I do
sudo apt autoremove
I get E: Invalid operation autoremove
But when I do
sudo apt-get autoremove
it works fine. What's going wrong?