From owner-freebsd-questions@FreeBSD.ORG Mon Dec 26 04:52:45 2011 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 2D0911065670 for ; Mon, 26 Dec 2011 04:52:45 +0000 (UTC) (envelope-from carlj@peak.org) Received: from redcondor2.peak.org (redcondor2.peak.org [69.59.192.56]) by mx1.freebsd.org (Postfix) with ESMTP id EDB498FC0C for ; Mon, 26 Dec 2011 04:52:44 +0000 (UTC) Received: from zmail-mta02.peak.org ([207.55.16.112]) by redcondor2.peak.org ({6c724cae-de34-4c5f-b615-3072b86419fa}) via TCP (outbound) with ESMTP id 20111226045244451 for ; Mon, 26 Dec 2011 04:52:44 +0000 X-RC-FROM: X-RC-RCPT: Received: from maple.localnet (unknown [207.55.106.132]) by zmail-mta02.peak.org (Postfix) with ESMTPSA id 247F3489118 for ; Sun, 25 Dec 2011 20:52:44 -0800 (PST) Received: from oak.localnet (oak.localnet [IPv6:2001:1938:266::6f:616b]) by maple.localnet (Postfix) with ESMTP id B486061F12 for ; Sun, 25 Dec 2011 20:52:41 -0800 (PST) Received: from oak.localnet (localhost.localnet [127.0.0.1]) by oak.localnet (Postfix) with ESMTP id 8125BC4FB for ; Sun, 25 Dec 2011 20:52:41 -0800 (PST) Received: (from carlj@localhost) by oak.localnet (8.14.4/8.14.4/Submit) id pBQ4qfjL086517; Sun, 25 Dec 2011 20:52:41 -0800 (PST) (envelope-from carlj@peak.org) X-Authentication-Warning: oak.localnet: carlj set sender to carlj@peak.org using -f From: Carl Johnson To: freebsd-questions@freebsd.org References: Mail-Followup-To: freebsd-questions@freebsd.org Date: Sun, 25 Dec 2011 20:52:41 -0800 In-Reply-To: (David Jackson's message of "Sun, 25 Dec 2011 23:14:24 -0500") Message-ID: <874nwodjdy.fsf@oak.localnet> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: Problems with pkg_upgrade 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: Mon, 26 Dec 2011 04:52:45 -0000 David Jackson writes: > Since I wish to use packages instead of ports to update my system, someone > recommended I use pkg_upgrade. However, basically, it does not work. It > gets to downloaded packages. But, after 10 packages, it prints a message > "Protocol error" and then "Package x cannot be fetched", where x is the > name of the pavkage it stops at. I can restart pkg_upgrade, it downloads 10 > more packages where it stopped previously, but then gives this same message > again. Maybe the connection to the FTP server os being lost and code needs > to be added to automatically restart the FTP connection without the whole > thing crashing? > > I do think packages need to be better supported on FreeBSD, many users do > prefer to use packages due to speed and convenience and do not prefer to > build it all. it shouldnt be such a hassle I can't help directly with your problem, but both portupgrade and portmaster support packages. In both cases you can just supply the -P or -PP options to specify how to handle packages. I think they both require that the ports tree be present for the /usr/ports/INDEX file, but otherwise they can use just packages. -- Carl Johnson carlj@peak.org