[plug] Debian - Package tool Q.

bk at bofh.ns.ca bk at bofh.ns.ca
Sun Jul 4 21:45:31 WST 1999


> Is there any way to do this with other tools?? Basically, I'm after:
>   - List/info of uninstalled but available packages
dpkg -s <package>

>   - Comparison of version numbers between installed and available
you could write a perl script for this (dpkg internal scripts may help but
it'd be easier to write it independent of those scripts). Basically
compare the version from the following:
	dpkg -s apt | grep Version
	dpkg --list apt| grep " apt "


-David (bk at bofh.ns.ca).


More information about the plug mailing list