[Haifux] UBUNTU instalation

Ohad Lutzky ohad at lutzky.net
Tue Sep 9 11:29:40 MSD 2008


On Tue, Sep 9, 2008 at 9:31 AM, Shahar Dag <dag at cs.technion.ac.il> wrote:
> Hi
>
>
>
> I am installing Ubuntu 8.04 workstation (i386) on 2 different PCs (different
> hardware).
>
> I want the 2 PCs to be installed the same
>
>
>
> On the first pc
>
> I installed Ubuntu from the CD and then using "synaptic package manager" I
> installed a long list of packages
>
> To get the list in a file I used:
>
> dpkg-query -W -f='${status} ${Package}=${Version}\n'|grep ^"install ok
> installed"| cut -d' ' -f4,4 > pkg_list.1
>
>
>
> On the second computer
>
> I installed Ubuntu from the CD and then used
>
> cat pkg_list.1 | sudo aptitude install
>
> sudo aptitude upgrade
>
> dpkg-query -W -f='${status} ${Package}=${Version}\n'|grep ^"install ok
> installed"| cut -d' ' -f4,4 > pkg_list.2
>
>
>
> The problem is that pkg_list.1 & pkg_list.2 are different
>
>
>
> How do I make the installed list to be identical

I think it would be useful to know what the difference between the lists is.

-- 
Man is the only animal that laughs and weeps, for he is the only
animal that is struck with the difference between what things are and
what they ought to be.
 - William Hazlitt

Ohad Lutzky



More information about the Haifux mailing list