>Use 'apt-get autoremove' to remove them. >while it should give the warning as >Use 'sudo apt-get autoremove' to remove them
It NOT that simple. There should be made a case decision: - Are we really sudo'ing? - Are we working directly under root, i. e. the shell with the hash prompt? In the latter case, a 'sudo' would be total nonsense. In a nutshell, we have to check for internal user ID (zero, non-zero). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/658960 Title: add "sudo" before apt-get autoremove in warning To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/658960/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs