From owner-freebsd-hackers@FreeBSD.ORG Fri Oct 26 21:21:07 2007 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C85216A418 for ; Fri, 26 Oct 2007 21:21:07 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.189]) by mx1.freebsd.org (Postfix) with ESMTP id A9D9A13C4AA for ; Fri, 26 Oct 2007 21:21:06 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so838716nfb for ; Fri, 26 Oct 2007 14:21:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:received:received:date:from:to:cc:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; bh=ZdEiFCLRXLCN5FIFE6Wk7KDUAG5IunaKXwTOMKsXGRI=; b=CRBZDace0JveS9203+yQRZXHi84/W+i8jp+v1ZtUKBb231qdAlI3F7Mi5Vy/+1hxkynDOlpIelZx+hh4x6iDyGS9PKIqqdZeyN80oSvb0jRFDsMwxnUf8pD786xJ0r4sY+40g41uD6d7SJChYaeHYmJt1x4z/5b8dV0D3dZseNY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:cc:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=fPmx9QFHKxpoFkfmBqu37hBEaCi2oUJb0j+TOgacLDXV+UUlYFhxEyYhr6UfzCVktwsVeOBn5m1jNLOsFudYsiDO5JUjp6egNSm+vTorxO5cWMYizm1mVIw+iDKh1u922Hc9twNc6L8C45924C3W+m2caJWPAV8hXmpujayTy5Y= Received: by 10.86.65.11 with SMTP id n11mr2531608fga.1193431937394; Fri, 26 Oct 2007 13:52:17 -0700 (PDT) Received: from roadrunner.spoerlein.net ( [85.180.174.64]) by mx.google.com with ESMTPS id g8sm7739359muf.2007.10.26.13.52.16 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 26 Oct 2007 13:52:16 -0700 (PDT) Received: from roadrunner.spoerlein.net (localhost [127.0.0.1]) by roadrunner.spoerlein.net (8.14.1/8.14.1) with ESMTP id l9QKc7e6008833; Fri, 26 Oct 2007 22:38:07 +0200 (CEST) (envelope-from uspoerlein@gmail.com) Received: (from q@localhost) by roadrunner.spoerlein.net (8.14.1/8.14.1/Submit) id l9QKc6TO008832; Fri, 26 Oct 2007 22:38:06 +0200 (CEST) (envelope-from uspoerlein@gmail.com) Date: Fri, 26 Oct 2007 22:38:05 +0200 From: Ulrich Spoerlein To: Clifton Royston Message-ID: <20071026203805.GD1482@roadrunner.spoerlein.net> Mail-Followup-To: Clifton Royston , soralx@cydem.org, freebsd-hackers@freebsd.org References: <20071014203736.GB2677@lava.net> <20071014160520.07ad521d@soralx> <20071014231917.GB29405@lava.net> <20071024014737.GE19536@lava.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071024014737.GE19536@lava.net> User-Agent: Mutt/1.5.16 (2007-06-09) Cc: freebsd-hackers@freebsd.org Subject: Re: A more tenuously package-related question X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2007 21:21:07 -0000 On Tue, 23.10.2007 at 15:47:40 -1000, Clifton Royston wrote: > I got a request to summarize my results to the list, so here's a > quick write-up. Based on my preliminary testing last week, pkg_replace > looks like the right tool for package-based server maintenance. Interesting, as I'm facing the same problem. > One invaluable feature which was not immediately obvious from the > description and man page is that if you give it a list of binary > packages on the command line, it orders the updates correctly based on > the dependencies between those packages. Does it take the dependency graph from the already installed packages? > Thus updating my test server with the recently security-fixed > versions of the packages for png and ImageMagick was just a matter of > executing: > sudo pkg_replace png-1.2.22.tbz ImageMagick-nox11-6.3.5.10_1.tbz > in my package repository directory. Where is your package repository? Does pkg_replace work by simply setting PKG_PATH=ftp://foo/bar ? Cheers, Ulrich Spoerlein -- It is better to remain silent and be thought a fool, than to speak, and remove all doubt.