WordPress package
Derek Broughton
news at pointerstop.ca
Mon Apr 16 01:22:44 UTC 2007
Tony Arnold wrote:
>
> How about this as an alternative. It invokes apt-cache once!
>
> apt-cache madison `dpkg --get-selections | grep install | cut -f 1` |
> grep 'edgy/universe Packages' | cut -d\| -f 1 > universe-installed.list
>
> and there should not be any duplicates. It's not version independent
> unfortunately.
Ah, I tried that with the output from "apt-cache pgknames" and it told
me "Argument list too long" - another good reason for dpkg.
So for a version independent method:
# apt-cache madison `dpkg --get-selections | grep install | cut -f 1` \
| grep 'universe Packages' | cut -d\| -f 1 | sort -u
--
derek
More information about the ubuntu-users
mailing list