Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am trying to use the gpkg -get-selections command on Ubuntu. I am kind of new to Ubuntu and really just following a tutorial on how to properly install Tomcat :)\

The tutorial is here: http://www.howtogeek.com/howto/linux/installing-tomcat-6-on-ubuntu/

The example is there, but locally I get this error:

dpkg: unknown option -g

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;
Type dpkg --license for copyright license and lack of warranty (GNU GPL) [*].

Any ideas why this would be happening?

Thanks!

share|improve this question
add comment

1 Answer 1

up vote 2 down vote accepted

The command is dpkg --get-selections, not dpkg -get-selections.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.