From owner-freebsd-hackers@FreeBSD.ORG Thu Feb 8 21:37:43 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8110C16A400 for ; Thu, 8 Feb 2007 21:37:43 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.173]) by mx1.freebsd.org (Postfix) with ESMTP id 0AAC013C4A5 for ; Thu, 8 Feb 2007 21:37:41 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: by ug-out-1314.google.com with SMTP id o2so552835uge for ; Thu, 08 Feb 2007 13:37:41 -0800 (PST) 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; b=USY0WsFWh8LtOl9nbzz/14Ov3yigthImY4ExfPfmUJt2LF99n213xPlDKmyRuN5Sv+7hgnpCEQs5y1WHdMOMDce4UbMkUdhgJ/iHJjRyNFpUZSLTgOYIs3D4rxGsBAXSdu4zYTO9Y92Z6aH7EB2Ns2L07H3UwvfwmK1BHpBoWTs= Received: by 10.82.107.15 with SMTP id f15mr4327447buc.1170970660781; Thu, 08 Feb 2007 13:37:40 -0800 (PST) Received: from roadrunner.q.local ( [85.180.157.77]) by mx.google.com with ESMTP id 5sm3234238ugc.2007.02.08.13.37.39; Thu, 08 Feb 2007 13:37:39 -0800 (PST) Received: from roadrunner.q.local (localhost [127.0.0.1]) by roadrunner.q.local (8.13.8/8.13.8) with ESMTP id l18LbXM7004228; Thu, 8 Feb 2007 22:37:33 +0100 (CET) (envelope-from uspoerlein@gmail.com) Received: (from q@localhost) by roadrunner.q.local (8.13.8/8.13.8/Submit) id l17M2h6T004276; Wed, 7 Feb 2007 23:02:43 +0100 (CET) (envelope-from uspoerlein@gmail.com) Date: Wed, 7 Feb 2007 23:02:43 +0100 From: Ulrich Spoerlein To: Kip Macy Message-ID: <20070207220243.GA3644@roadrunner.q.local> Mail-Followup-To: Kip Macy , Joan Picanyol i Puig , freebsd-hackers@freebsd.org References: <8b4c81f0702061514r5a753e48yea0ce9b937236fc3@mail.gmail.com> <17865.6041.605201.772296@bhuda.mired.org> <20070207020205.GC62321@grummit.biaix.org> <20070206180540.Q90547@demos.bsdclusters.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070206180540.Q90547@demos.bsdclusters.com> Cc: freebsd-hackers@freebsd.org Subject: Re: pkg_upgrade (was Re: pkg_add does not backtrack, does it?) 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: Thu, 08 Feb 2007 21:37:43 -0000 Kip Macy wrote: > On Wed, 7 Feb 2007, Joan Picanyol i Puig wrote: > > >I know what I'd like: a utility in the base system for binary upgrading > >of packages. More flexible logic in how the '-r' option is handled would > >be nice (being able to fetch all packages from All/ even if you are > >on RELENG). Doesn't > > > >freebsd-update fetch install && pkg_upgrade -a > > > >look nice for keeping up to date? The obvious hairy details must be > >harder than it seems, I'm sure others have considered it (and would have > >done it) before. > > portupgrade -aPP Requires a fully populated /usr/ports together with an up-to-date INDEX. Not exactly what we are looking for here. I hacked together an ugly shell script, that will use pkg_version (it can grab the INDEX from the pkg-site via ftp) and gives you the feature to pkg_delete/pkg_add selected packages. It is missing a lot of other stuff, though. Ulrich Spoerlein -- A: Yes. >Q: Are you sure? > >A: Because it reverses the logical flow of conversation. > >>Q: Why is top posting frowned upon?