On Tue, Nov 23, 2010 at 10:15:55PM +0530, Narendra Sisodiya wrote: > --dry-run is the option. > Or you can use any of the following option to print > -s, --simulate, --just-print, --dry-run, --recon, --no-act > > > So, > *sudo apt-get install --dry-run expect | sed -n '/The following NEW packages > will be installed/,/upgraded/p'* > > Will print dependency of a package. > Also, apt-cache do not print the actual dependency. I mean > Actual dependency resolution. It just print what is written in package.
--dry-run / --simulate quits after only simulating the install process. IIRC, you are (were) looking for a way by which apt-get must ask (confirm) you whether to install a package even if it does not have any dependency. Am I not understanding correctly? -- Regards, Nitesh Mistry | www.mistrynitesh.com PGP key id: A6FEF696 | 'geekosopher' on freenode irc
signature.asc
Description: Digital signature
-- ubuntu-in mailing list ubuntu-in@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-in