Date: Thu, 26 Sep 2019 16:59:27 +0100 From: Matthew Seaman <matthew@FreeBSD.org> To: freebsd-questions@freebsd.org Subject: Re: ports and packages installed on one system, how to make pkg only Message-ID: <a18afbab-2f56-7bc5-0e46-a9820d9b84fd@FreeBSD.org> In-Reply-To: <20190926151216.GB4027@bastion.zyxst.net> References: <20190926151216.GB4027@bastion.zyxst.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 26/09/2019 16:12, tech-lists wrote: > Possibly a silly question -: > > There is a system that has a mix of ports installed via the traditional > method > (local ports tree) *and* ports installed via pkg. > > I want the system to use pkg entirely for space and cpu reasons. > > Will pkg upgrade -f do what I want without having to go through each > installed port? In other words, will pkg upgrade -f act upon the ports that > have been compiled and installed via the local ports tree? > Or would portmaster be a better tool for this purpose? A pkg is what you get from compiling a port. Once the port is installed it's a pkg and there's no functional difference from a pkg installed from one of the package repositories. Or, in other words, just update your machine from the pkg repos. It will replace anything that's out of date, no problem. There's no particular need to force an update on all packages -- if it's already there and working OK, then my inclination would be to leave it be. Cheers, Matthew
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a18afbab-2f56-7bc5-0e46-a9820d9b84fd>