Re: package installation script hints

2005-08-26 Thread Marc Espie
On Fri, Aug 26, 2005 at 09:58:20AM -0400, Will H. Backman wrote: > Shouldn't it suggest what packages to update because of a newer version? pkg_add -u doesn't have a notion of `newer version'. It stops at `this is the package whose name most closely matches your existing package'. It matches the

Re: package installation script hints

2005-08-26 Thread Will H. Backman
> -Original Message- > From: Marc Espie [mailto:[EMAIL PROTECTED] > Sent: Friday, August 26, 2005 11:31 AM > To: Will H. Backman > Cc: misc@openbsd.org > Subject: Re: package installation script hints > > On Fri, Aug 26, 2005 at 09:58:20AM -0400, Will H. Backman wr

Re: package installation script hints

2005-08-26 Thread Will H. Backman
> -Original Message- > From: Marc Espie [mailto:[EMAIL PROTECTED] > Sent: Friday, August 26, 2005 9:39 AM > To: Will H. Backman > Cc: misc@openbsd.org > Subject: Re: package installation script hints > > On Fri, Aug 26, 2005 at 09:28:04AM -0400, Will H. Backma

Re: package installation script hints

2005-08-26 Thread Marc Espie
On Fri, Aug 26, 2005 at 09:28:04AM -0400, Will H. Backman wrote: > > > > > 2 - How is pkg_add -u working for people? > > > > It works fine for me. I don't know about other people yet, you tell > me... > > Aug 24 snapshot, trying just "pkg_add -u" causes it to say updating > package -> package fo

Re: package installation script hints

2005-08-26 Thread Will H. Backman
> > 2 - How is pkg_add -u working for people? > > It works fine for me. I don't know about other people yet, you tell me... Aug 24 snapshot, trying just "pkg_add -u" causes it to say updating package -> package for every single one of my installed packages, and it then asks me to run pkg_add -r f

Re: package installation script hints

2005-08-26 Thread Janne Johansson
Paul de Weerd wrote: On Fri, Aug 26, 2005 at 12:06:29AM +0200, Marc Espie wrote: | > 2 - How is pkg_add -u working for people? | | It works fine for me. I don't know about other people yet, you tell me... I haven't used it very much yet, but so far everything works great for me. But this is ju

Re: package installation script hints

2005-08-26 Thread Paul de Weerd
On Fri, Aug 26, 2005 at 12:06:29AM +0200, Marc Espie wrote: | > 2 - How is pkg_add -u working for people? | | It works fine for me. I don't know about other people yet, you tell me... I haven't used it very much yet, but so far everything works great for me. But this is just basic pkg_add -u/pkg_

Re: package installation script hints

2005-08-25 Thread Marc Espie
On Thu, Aug 25, 2005 at 10:08:53AM -0400, Will H. Backman wrote: > 1 - If the new host happens to have one of those packages installed, > perhaps because I stopped the installation of packages the first time, > then pkg_add will stop when it hits an already installed package. I can > fix that with

Re: package installation script hints

2005-08-25 Thread Will H. Backman
> -Original Message- > From: Marc Espie [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 24, 2005 6:43 PM > To: Will H. Backman > Cc: misc@openbsd.org > Subject: Re: package installation script hints > > On Wed, Aug 24, 2005 at 04:35:13PM -0400, Will H. Backma

Re: package installation script hints

2005-08-24 Thread Marc Espie
On Wed, Aug 24, 2005 at 04:35:13PM -0400, Will H. Backman wrote: > 1. Packages get installed in a sub-optimal order. Quite often one > package on the list will have already been installed as a dependency. I > think my script downloads the redundant package before deciding that it > was already in

package installation script hints

2005-08-24 Thread Will H. Backman
I'm looking for hints and criticism for a package installation script. I do a full install, and then install a set of packages. To get the list of packages to install on another machine, I just grabbed a directory listing from /var/db/pkg, put them in my script, and then run that script on a fresh