Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Dec 2011 20:52:41 -0800
From:      Carl Johnson <carlj@peak.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: Problems with pkg_upgrade
Message-ID:  <874nwodjdy.fsf@oak.localnet>
In-Reply-To: <CAGy-%2Bi-_e=qWZ-2=eCFM1oF-0uNd9jjAPJAAg7UHwZ7em1FUdA@mail.gmail.com> (David Jackson's message of "Sun, 25 Dec 2011 23:14:24 -0500")
References:  <CAGy-%2Bi-_e=qWZ-2=eCFM1oF-0uNd9jjAPJAAg7UHwZ7em1FUdA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
David Jackson <djackson452@gmail.com> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?874nwodjdy.fsf>