Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Oct 2009 17:48:29 -0700
From:      George Davidovich <freebsd@optimis.net>
To:        freebsd-ports@freebsd.org
Subject:   Re: binary upgrade of packages
Message-ID:  <20091019004829.GB44986@marvin.optimis.net>
In-Reply-To: <c1a0d1560910180157v7e35fac8rd6d681e964eb1ff@mail.gmail.com>
References:  <c1a0d1560910180157v7e35fac8rd6d681e964eb1ff@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Oct 18, 2009 at 10:57:54AM +0200, Christer Solskogen wrote:
> Is portupgrade the only tool that can upgrade packages by sharing
> /usr/ports? I was looking into pkg_upgrade from bsdadminscripts, but
> that tool seemed to download the INDEX file from ftp.freebsd.org even if
> I have it in /usr/ports.

I can't comment on the behaviour of pkg_upgrade, but your options,
irrespective of whether you're sharing out /usr/ports, using
ftp.freebsd.org as a repository, or making use of your own local package
server, are currently limited to

	- portupgrade -PP
	- the pkg_upgrade script from bsdaminscripts
	- doing it manually by first using pkg_delete(1)

Personally, I'd like to see pkg_add(1) enhanced to accommodate the
binary-only upgrade functionality as provided by OpenBSD's pkg_add.

<http://www.freebsd.org/cgi/man.cgi?query=pkg_add&apropos=0&sektion=0&manpath=OpenBSD+4.5&format=ascii>;

Then, again, I really do want a pony.  ;-)

-- 
George




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