Re: [Haifux] UBUNTU instalation

2008-09-10 Thread Dave Roi
Upon second thought, It seems very logical that a Save full state file
will contain the same installation tags as the original (Manually installed
as opposed to a dependency).
I don't know this for certain but I believe automatic dependency deletion
should still work on the target machine.

Just seems very logical to me.
Anyways, checking this shouldn't be hard.

Anyways, I still recommend using ghost to copy machines instead of these
mass apt-get methods.
Ghost gives you the option of doing other customizations besides the package
list, such as editing configuration files, changing themes, gconf settings,
aliases etc...
Linux also has the advantage that it doesn't require a different image file
for each different hardware type.
Just make sure the hard drive you create the image on is the smallest of all
the target hard drives.

Dave.



On Wed, Sep 10, 2008 at 09:23, Ohad Lutzky [EMAIL PROTECTED] wrote:

 On Wed, Sep 10, 2008 at 12:41 AM, Dave Roi [EMAIL PROTECTED] wrote:
  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).

 For this exact reason, I recommend against any of those solutions
 (including the original one). Just save a list of packages you want
 (I'll be very surprised if there are more than 50) and apt-get install
 all of them. You'll want to be keeping them all at the latest version
 for your release of choice anyway.




 --
 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

2008-09-10 Thread Tzafrir Cohen
On Thu, Sep 11, 2008 at 02:00:44AM +0300, Dave Roi wrote:
 Upon second thought, It seems very logical that a Save full state file
 will contain the same installation tags as the original (Manually installed
 as opposed to a dependency).
 I don't know this for certain but I believe automatic dependency deletion
 should still work on the target machine.
 
 Just seems very logical to me.
 Anyways, checking this shouldn't be hard.
 
 Anyways, I still recommend using ghost to copy machines instead of these
 mass apt-get methods.
 Ghost gives you the option of doing other customizations besides the package
 list, such as editing configuration files, changing themes, gconf settings,
 aliases etc...
 Linux also has the advantage that it doesn't require a different image file
 for each different hardware type.
 Just make sure the hard drive you create the image on is the smallest of all
 the target hard drives.

But then you don't know what those customizations are, and can't
reproduce them when you need to do a small change.

E.g. install the same configuration in ain a few monthes. Recall that
the D-I system already install security updates at system install time,
as they use apt to install packages.

-- 
Tzafrir Cohen | [EMAIL PROTECTED] | VIM is
http://tzafrir.org.il || a Mutt's
[EMAIL PROTECTED] ||  best
ICQ# 16849754 || friend
___
Haifux mailing list
Haifux@haifux.org
http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux


[Haifux] UBUNTU instalation

2008-09-09 Thread Shahar Dag
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

2008-09-09 Thread Ohad Lutzky
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

2008-09-09 Thread Dave Roi
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

2008-09-09 Thread Dave Roi
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