From owner-freebsd-questions@FreeBSD.ORG Sun Aug 8 02:53:47 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B1B7A106576B for ; Sun, 8 Aug 2010 02:53:47 +0000 (UTC) (envelope-from rrborg@speakeasy.net) Received: from mail5.sea5.speakeasy.net (mail5.sea5.speakeasy.net [69.17.117.49]) by mx1.freebsd.org (Postfix) with ESMTP id 623C58FC0C for ; Sun, 8 Aug 2010 02:53:47 +0000 (UTC) Received: (qmail 17661 invoked from network); 8 Aug 2010 02:53:46 -0000 Received: from c-67-187-169-218.hsd1.ca.comcast.net (HELO [192.168.1.141]) (rrborg@[67.187.169.218]) (envelope-sender ) by mail5.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 8 Aug 2010 02:53:46 -0000 Message-ID: <4C5E1C3A.8050802@speakeasy.net> Date: Sat, 07 Aug 2010 19:53:46 -0700 From: Rocky Borg User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.11) Gecko/20100711 Thunderbird/3.0.6 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20100808010356.GA7089@blitz.hooton> In-Reply-To: <20100808010356.GA7089@blitz.hooton> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: pkg_add on dialup: resume? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Aug 2010 02:53:47 -0000 On 8/7/2010 6:03 PM, Douglas A. Tutty wrote: > However, I'm on dialup. pkg_add doesn't seem to be able to resume since > I can't use the phone line (or the computer) long enough to install > packages all in one go. > > Is there a solution to this? > There might be a more elegant solution but this is what I would say offhand. All pkg_add is doing is downloading the package from the freebsd ftp. It's just doing the behind the scenes stuff of picking which package is right for your system. So you could just use an ftp client with resume and go to ftp://ftp.freebsd.org/pub/FreeBSD/ports/ and find the packages you want and que them up in your ftp client. Then just do pkg_add /path/to/package when you've finished downloading them. If you don't use packages I think you can also setup resume if you're doing the "make install" method. Find an ftp client you want to use and change from using fetch to download source. This post describes setting up an ftp client to download using multiple connections but you should be able to adapt it for your needs. http://scratching.psybermonkey.net/2009/09/freebsd-download-ports-simultaneously.html > I understand that if I go with building from source (both for security > updates and for third-party apps) the there is a resume function with > that. True? I was hoping to avoid the build-time, and I think it takes > longer to download source than binary. > If you have an old FreeBSD ISO/CD laying around or someone you know has one you could install whatever version of the source you have. The handbook describes methods you can use to update your source where you only need to download what's different (this also means you don't need to download the source all at once).This should limit how much you have to download if you have a fairly recent version of FreeBSD and it will be pretty easy to then keep updated with minimal downloads in the future. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/synching.html