From owner-freebsd-ports@FreeBSD.ORG Thu Mar 20 13:34:52 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8FCE9106564A for ; Thu, 20 Mar 2008 13:34:52 +0000 (UTC) (envelope-from darcsis@gmail.com) Received: from el-out-1112.google.com (el-out-1112.google.com [209.85.162.183]) by mx1.freebsd.org (Postfix) with ESMTP id 4B7E48FC16 for ; Thu, 20 Mar 2008 13:34:51 +0000 (UTC) (envelope-from darcsis@gmail.com) Received: by el-out-1112.google.com with SMTP id v27so628438ele.12 for ; Thu, 20 Mar 2008 06:34:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:to:cc:subject:references:from:organization:date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=wrVPN92FoDW0opm13nDwcrY5gJHJxy0EaDMECcrrbeM=; b=ho1J52sE17bBpkHoTJUDZjZ7xm0epC9QdPgRKTnsR7E0OR9bNX49cKr/BltADgDd7rl07u4Phj3U1GIlS7uFNz3hEdg3oSQj4T3MRMtRNzbqoFc4LKJFv2+fkD7pBtVTwAVto6NW37opPjpvn8oqe6AK6iCWdsZAexUzZtolKzI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=to:cc:subject:references:from:organization:date:in-reply-to:message-id:user-agent:mime-version:content-type; b=oRkj0Ict6YPMjO0YgOA00a8NtowrohpCFlY8JZfHfLyblLegOh0xPOqP7DZvb3zulzCHT2U0UQHuML5sYAKeY9ke3yi4piBoOk2RNMId4bC9PVj7RvEipnih4j4ZcrCU+KeYP1ym0/3+Wh+SktH36NZ4+YdwXTLAAmjL+UbdeHM= Received: by 10.114.81.1 with SMTP id e1mr3608257wab.11.1206020090516; Thu, 20 Mar 2008 06:34:50 -0700 (PDT) Received: from pluton.xbsd.name ( [125.34.64.162]) by mx.google.com with ESMTPS id k9sm3612109wah.3.2008.03.20.06.34.45 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 20 Mar 2008 06:34:49 -0700 (PDT) To: Michel Talon References: <20080320001048.GA39125@lpthe.jussieu.fr> <863aqlpvgf.fsf@pluton.xbsd.name> <20080320125239.GA41495@lpthe.jussieu.fr> From: darcsis@gmail.com (Denise H. G.) Organization: Terra Firma Date: Thu, 20 Mar 2008 21:34:38 +0800 In-Reply-To: <20080320125239.GA41495@lpthe.jussieu.fr> (Michel Talon's message of "Thu\, 20 Mar 2008 13\:52\:39 +0100") Message-ID: <86hcf1plht.fsf@pluton.xbsd.name> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-ports@freebsd.org Subject: Re: Utility for safe updating of ports in base system X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Mar 2008 13:34:52 -0000 Michel Talon writes: > On Thu, Mar 20, 2008 at 05:59:28PM +0800, Denise H. G. wrote: >> Michel Talon writes: >> >> Actually I don't think a batch download and install process would help >> much, especially for a freshly installed system because it might be a >> huge download job and much waiting time if one is going to install >> GNOME/KDE etc. from scratch. Perhaps the new `pkg_upgrade' could provide >> versatile options to complete such tasks. >> > > In fact a batch download, followed by batch install is much faster than > constant interspersing of backup, download, install, etc. like > portupgrade does. In particular there is only one ftp connection for > downloading everything which cuts on time, and you can do backups at the Yes, you are right. I just think that people could have options while doing things. This would make the world more satisfying. > same time. If you don't beleive me you can try the prototype (in python) > that i have written a year ago, and which does precisely that: > http://www.lpthe.jussieu.fr/~talon/pkgupgrade > (which needs http://www.lpthe.jussieu.fr/~talon/pkg_save.py) > Most of the time in the script is spent recomputing the INDEX for all > installed files, because i assumed the INDEX is not necessarily up to > date. > > Yes, I've had great impressions by the debian's apt- tools. But it seems that the debian package servers maintain an index or something for all the packages. And if you want to upgrade or install a certain package, you just fetch the meta info for that package from the package server and do a comparison with your local index. This makes versioned dependencies rather easy to play around. >> >> >> -- >> Denise H. G. -- Denise H. G.