Originally Posted by Akhran
If I have a packageA.deb on my local harddisk, is aptitude capable of installing packageA.deb package and resolve any dependency issue automatically (by downloading the necessary files from the Internet) ? If so, what is the required parameter for aptitude?
No, dpkg will try to install a local .deb if the depends are not met you can then do apt-get -f install and it should pull in and install.
or you can use gdebi.
Description: Simple tool to install deb files
gdebi lets you install local deb packages resolving and installing
its dependencies. apt does the same, but only for remote (http, ftp)