From owner-freebsd-questions@freebsd.org Fri Sep 27 18:09:54 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D8B9012913D for ; Fri, 27 Sep 2019 18:09:54 +0000 (UTC) (envelope-from doug@fledge.watson.org) Received: from cyrus.watson.org (cyrus.watson.org [204.107.128.30]) by mx1.freebsd.org (Postfix) with ESMTP id 46g0FF51Z5z4725 for ; Fri, 27 Sep 2019 18:09:53 +0000 (UTC) (envelope-from doug@fledge.watson.org) Received: from fledge.watson.org (fledge.watson.org [198.74.231.63]) by cyrus.watson.org (Postfix) with ESMTPS id 2109F5A2E7; Fri, 27 Sep 2019 18:09:52 +0000 (UTC) Received: from fledge.watson.org (doug@localhost.watson.org [127.0.0.1]) by fledge.watson.org (8.15.2/8.15.2) with ESMTP id x8RI9pKo034005; Fri, 27 Sep 2019 14:09:51 -0400 (EDT) (envelope-from doug@fledge.watson.org) Received: from localhost (doug@localhost) by fledge.watson.org (8.15.2/8.15.2/Submit) with ESMTP id x8RI9pXA034002; Fri, 27 Sep 2019 14:09:51 -0400 (EDT) (envelope-from doug@fledge.watson.org) Date: Fri, 27 Sep 2019 14:09:51 -0400 (EDT) From: doug Reply-To: doug@safeport.com To: tech-lists cc: freebsd-questions@freebsd.org Subject: Re: ports and packages installed on one system, how to make pkg only In-Reply-To: <20190926151216.GB4027@bastion.zyxst.net> Message-ID: References: <20190926151216.GB4027@bastion.zyxst.net> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Rspamd-Queue-Id: 46g0FF51Z5z4725 X-Spamd-Bar: +++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of doug@fledge.watson.org has no SPF policy when checking 204.107.128.30) smtp.mailfrom=doug@fledge.watson.org X-Spamd-Result: default: False [5.02 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[doug@safeport.com]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[watson.org]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.88)[0.884,0]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[30.128.107.204.list.dnswl.org : 127.0.10.0]; NEURAL_SPAM_LONG(0.99)[0.992,0]; R_SPF_NA(0.00)[]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:11288, ipnet:204.107.128.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(2.14)[ip: (5.69), ipnet: 204.107.128.0/24(2.85), asn: 11288(2.22), country: US(-0.05)] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Sep 2019 18:09:54 -0000 On Thu, 26 Sep 2019, tech-lists wrote: > Hi, > > 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? I hesitate to chime in because you have been keeping advice from the expert in this. I will however share my experience. Since pkg I have stop using postmaster or any of the port managers other than poudriere. For my work stations I use pkg for everything except where non-pkg options are required/wanted. This needs to be done with care but there are enough controls to mostly avoid dependency conflicts. The only issues I have encountered center around mozilla and xfce. These seem to be largely solved by the port maintainers by FBSD 11. I am writing this on a 10.3 that I do not have time to update. I only thing I would like that I can not do is to install thunderbird. pkg help [command] and google are you friends. We run a number of servers and use poudriere for those. Out initial build probably got done over the weekend. If they had used poudriere in Jurassic park the sign on the mirrow would have said, this program is easier to use than it looks like. Even with that I forgot to build trafshow so I just used pkg to install it on the server where I needed it. YMMV Doug