Those are a few seriously capable command line guys. Hats off to you and to the OP for asking. Wish I had spent some time learning DOS and the Linux Command Line.
Regards Narendra Diwate 2010/6/18 Abhishek Amberkar [अभिषेक] <[email protected]> > On Fri, Jun 18, 2010 at 11:32 AM, Ramnarayan.K <[email protected]> > wrote: > > 2010/6/18 Abhishek Amberkar [अभिषेक] <[email protected]>: > >>> dpkg --get-selections | awk '{print "sleep 0.5 && echo" " "$1}' | bash > >>> > >>> > >> > >> Above command lists the packages which are marked "deinstall" > >> > >> As `man dpkg' says "deinstall" means > >> The package is selected for deinstallation (i.e. we want to remove all > >> files, except configuration files). > > > > not sure what you mean - cannot see deinstall mentioned anywhere in the > command > >> > >> Following command gives list of all installed pacakges > >> > >> dpkg -l | grep ^i | awk '{print $2}' > > > > Did a comparision of the results of both commands > > > > the first gives me 3055 packages and the second 3084. > > > > about 29 packages more in the latter > > > > so why this difference and what does the deinstall mean ?? > > > > I already gave the meaning of "deinstall" in my previous posting. > (Refer `man dpkg') > > If you do "$ dpkg --get-selections | grep deinstall" it shows > "deinstall" packages. If you check state of any of these packages > using "aptitude show <package_name>" it will show "not installed". So > this command doesn't really shows all the `currently' installed > packages on your system. > > > > > -- > With Regards > Abhishek Amberkar > > -- > ubuntu-in mailing list > [email protected] > https://lists.ubuntu.com/mailman/listinfo/ubuntu-in >
-- ubuntu-in mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-in
