Make g++-4.6 happy
Check a command is given before execvp.
Add some options from apt-get and apt-cache.

TODO: How to solve the common options in get and cache?