[ubuntu-uk] Comparing installed packages

David Goldsbrough daveg at boavon.plus.com
Mon May 5 14:42:09 UTC 2014


I'd be tempted to use diff.  Try either man diff or info diff to learn how
best to use it.
DaveG




> >Message: 1
> >Date: Sun, 04 May 2014 13:28:32 +0100
> >From: Mark Fraser <mfraz74+ubuntu at gmail.com>
> >To: ubuntu-uk at lists.ubuntu.com
> >Subject: [ubuntu-uk] Comparing installed packages
> >Message-ID: <1557956.Qkuynz4i5L at rachael>
> >Content-Type: text/plain; charset="us-ascii"
>
> >I've got 4 computers here that I would like to compare the installed
> >packages
> >on each one together. I've done dpkg --get-selection > installed.txt on
> >each
> >computer, but now I'm trying to merge each one into a single file and
> >leave a
> >space where a package isn't installed.
>
> >Instead of:
> >Acpi-support     acpi-support   Acpi-support            acpi-support
> >adduser             acroread            adduser
> adduser
> >Adobereader-enu acroread-bin    adobereader-enu adobereader-enu
> >
> >
> >I'd like:
> >Acpi-support     acpi-support   Acpi-support            acpi-support
> >                                         acroread
>   >                                        acroread-bin
> >adduser                                                         adduser
>                       >adduser
> >Adobereader-enu                                 adobereader-enu
> adobereader->enu
>
> >Any ideas how to achieve this?
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-uk/attachments/20140505/bb586d10/attachment.html>


More information about the ubuntu-uk mailing list