From a2ac15da56e6d08c734f91f97e13e09e59f8c5a2 Mon Sep 17 00:00:00 2001 From: Trace Date: Mon, 27 Apr 2015 17:45:59 -0500 Subject: [PATCH] Added dpkg rule For example, when using ```dpkg -i some-pkg.deb``` --- thefuck/rules/sudo.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/thefuck/rules/sudo.py b/thefuck/rules/sudo.py index 2588ee57..26d87ad8 100644 --- a/thefuck/rules/sudo.py +++ b/thefuck/rules/sudo.py @@ -7,7 +7,8 @@ patterns = ['permission denied', 'root privilege', 'This command has to be run under the root user.', 'This operation requires root.', - 'You need to be root to perform this command.'] + 'You need to be root to perform this command.', + 'requested operation requires superuser privilege'] def match(command, settings):