David A. Harding on 28 Jun 2008 13:25:53 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Server h/w migration?


On Sat, Jun 28, 2008 at 03:55:46PM -0400, JP Vossen wrote:
>  > From: <dave@dtrt.org>,  Sat, 28 Jun 2008 01:04:51 -0400
>  > dpkg --get-selections | grep '\<install$'
> 
> I use 'dpkg-query --show'

Your command may print uninstalled packages.  From my desktop:

  $ sort <( dpkg --get-selections | grep '\<install$' | cut -d'^I' -f1 ) \
         <( dpkg-query --show     | cut -d'^I' -f1 )  | 
		uniq -u | COLUMNS=80 xargs dpkg -l | head

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
rc  alsa-oss       1.0.12-1       ALSA wrapper for OSS applications
rc  apache2-common 2.0.54-5sarge1 next generation, scalable, extendable web se
rc  armagetron     0.2.7.0-1.1    3D Tron-like high speed game
rc  armagetron-com 0.2.7.0-1.1    Common files for the Armagetron packages
rc  armagetronad   0.2.8.2.1-7    3D Tron-like high speed game

-Dave
-- 
David A. Harding	    Website:  http://dtrt.org/
1 (609) 997-0765	      Email:  dave@dtrt.org
			Jabber/XMPP:  dharding@jabber.org
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug