Date: Thu, 20 Mar 2008 13:52:39 +0100 From: Michel Talon <talon@lpthe.jussieu.fr> To: "Denise H. G." <darcsis@gmail.com>, freebsd-ports@freebsd.org Subject: Re: Utility for safe updating of ports in base system Message-ID: <20080320125239.GA41495@lpthe.jussieu.fr> In-Reply-To: <863aqlpvgf.fsf@pluton.xbsd.name> References: <20080320001048.GA39125@lpthe.jussieu.fr> <863aqlpvgf.fsf@pluton.xbsd.name>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Mar 20, 2008 at 05:59:28PM +0800, Denise H. G. wrote: > Michel Talon <talon@lpthe.jussieu.fr> 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 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. > > > -- > Denise H. G. <darcsis AT gmail DOT com> -- Michel TALON
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080320125239.GA41495>