[Haifux] UBUNTU instalation
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 Thanks Shahar ___ Haifux mailing list Haifux@haifux.org http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux
Re: [Haifux] UBUNTU instalation
On Tue, Sep 9, 2008 at 9:31 AM, Shahar Dag [EMAIL PROTECTED] 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 ___ Haifux mailing list Haifux@haifux.org http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux
Re: [Haifux] UBUNTU instalation
There is a much easier way to do this. Synaptic has a feature that creates the installation script for you. In Synaptic under File-Generate package download script. You can also use the File-Save markings and File-Read markings to do the about same thing. If you want to mark all the packages in a specific machine just do File-Save markings and tick the box that says Save full state, not only changes. I've used the second technique and it works great. Dave. On Tue, Sep 9, 2008 at 09:31, Shahar Dag [EMAIL PROTECTED] 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 Thanks Shahar ___ Haifux mailing list Haifux@haifux.org http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux ___ Haifux mailing list Haifux@haifux.org http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux
Re: [Haifux] UBUNTU instalation
Note that if you use these mass installation methods, ALL packages will be marked as manually installed (as opposed to most of them being dependencies). The result of this is that if you later choose to uninstall a package, it won't uninstall it's dependencies (using aptitude or apt-get autoremove). Dave. P.S sorry for the double email. On Wed, Sep 10, 2008 at 00:33, Dave Roi [EMAIL PROTECTED] wrote: There is a much easier way to do this. Synaptic has a feature that creates the installation script for you. In Synaptic under File-Generate package download script. You can also use the File-Save markings and File-Read markings to do the about same thing. If you want to mark all the packages in a specific machine just do File-Save markings and tick the box that says Save full state, not only changes. I've used the second technique and it works great. Dave. On Tue, Sep 9, 2008 at 09:31, Shahar Dag [EMAIL PROTECTED] 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 Thanks Shahar ___ Haifux mailing list Haifux@haifux.org http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux ___ Haifux mailing list Haifux@haifux.org http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux