diff --git a/thefuck/rules/sudo.py b/thefuck/rules/sudo.py index 4753726..4fa1012 100644 --- a/thefuck/rules/sudo.py +++ b/thefuck/rules/sudo.py @@ -1,6 +1,7 @@ def match(command, settings): return ('permission denied' in command.stderr.lower() - or 'EACCES' in command.stderr) + or 'EACCES' in command.stderr + or 'pkg: Insufficient privileges' in command.stderr) def get_new_command(command, settings):