$ sudo dpkg -P $(dpkg -l yourPkgName* | awk '$2 ~ /yourPkgName.*/ && $1 ~ /.i/ {print $2}')Recently in Debian Wheezy the dpkg command refuses to work with wildcards, so this is the one-liner alternative. (alternative to #13614)
by David Winterbottom (codeinthehole.com)
from All commands http://ift.tt/1sdYj1K
No comments:
Post a Comment