Whenever I try to remove a Debian package I receive an Error

Posted by Brenton Horne on Ask Ubuntu See other posts from Ask Ubuntu or by Brenton Horne
Published on 2012-12-15T15:55:56Z Indexed on 2012/12/15 17:18 UTC
Read the original article Hit count: 290

Filed under:
|
|

Whenever I type into the terminal the command:

sudo dpkg -r '/home/brentonhorne/Downloads/virtualbox.deb'

I receive the error:

dpkg: error: --remove needs a valid package name but '/home/brentonhorne/Downloads/virtualbox.deb' is not: illegal package name in specifier '/home/brentonhorne/Downloads/virtualbox.deb': must start with an alphanumeric character

Type dpkg --help for help about installing and deinstalling packages [*];
Use `dselect' or `aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;

Options marked [*] produce a lot of output - pipe it through `less' or `more' !

How do I get around this problem?

© Ask Ubuntu or respective owner

Related posts about command-line

Related posts about 12.10