Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Apr 2006 22:18:34 +0200
From:      hans@lambermont.dyndns.org (Hans Lambermont)
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: libtool upgrade, entry 20060223 in UPDATING
Message-ID:  <20060425201834.GC4435@leia.lambermont.dyndns.org>
In-Reply-To: <20060425201048.GA57867@xor.obsecurity.org>
References:  <20060425154800.GB1351@leia.lambermont.dyndns.org> <444E4624.6070509@vonostingroup.com> <20060425182639.GC1351@leia.lambermont.dyndns.org> <444E6D2A.8090001@vonostingroup.com> <20060425200019.GA4435@leia.lambermont.dyndns.org> <20060425201048.GA57867@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Kris Kennaway wrote:

> Hans Lambermont wrote:
>> Frank Laszlo wrote:
>>> the '-p' argument for portupgrade will build packages on your
>>> staging server, these packages can then be moved over to the
>>> production machine to be installed.  Downtime should be minimal.
>> 
>> Well, in my first mail I started here; I have the full list of
>> packages already built on the staging server. I moved them over to
>> the production server, removed all old ports, and tried to install
>> all of them with this : pkg_add *.tgz . But pkg_add refuses to
>> proceed, complaining "pkg_add: too many packages (max 200)". I have
>> over 400. If I choose a smaller subset with for instance pkg_add
>> [a-f]*.tgz I get dependency problems, +REQUIRED files that are not
>> there yet etc.
>> 
>> Perhaps I should up the hardcoded 200 to 500 in pkg_add and retry ?
> 
> Just specify the path where to find the dependencies and it'll do it
> automatically, see the manpage.

Well, I ran the pkg_add [somesubset]*.tgz in the directory with the
packages, and according to PKG_ADD(1) they should have been picked up
already (...If the packages are not found in the current working
directory, pkg_add will search them in...).

Maybe it worked for the first few, and then the packages list grew to
still hit the max-200 limit ? I think that is what happened.

Thanks for all the help so far people, highly appreciated :)

regards,

-- Hans Lambermont



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060425201834.GC4435>