[Haifux] UBUNTU instalation

Shahar Dag dag at cs.technion.ac.il
Tue Sep 9 10:31:44 MSD 2008



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



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://haifux.org/pipermail/haifux/attachments/20080909/206db15a/attachment.html 

More information about the Haifux mailing list