Use a caret when grepping /var/log/packages.