From owner-freebsd-questions@freebsd.org Tue Sep 5 21:56:21 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 229F9E2149B for ; Tue, 5 Sep 2017 21:56:21 +0000 (UTC) (envelope-from doug@safeport.com) Received: from bucksport.safeport.com (bucksport.safeport.com [198.74.231.101]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7950573ED4 for ; Tue, 5 Sep 2017 21:56:19 +0000 (UTC) (envelope-from doug@safeport.com) Received: from bucksport.safeport.com (bucksport.safeport.com [198.74.231.101]) by bucksport.safeport.com (8.14.5/8.14.5) with ESMTP id v85LuIk5099369; Tue, 5 Sep 2017 17:56:18 -0400 (EDT) (envelope-from doug@safeport.com) Date: Tue, 5 Sep 2017 17:56:18 -0400 (EDT) From: DTD To: Adam Vande More cc: FreeBSD Questions Subject: Re: How to repair a package In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (bucksport.safeport.com [198.74.231.101]); Tue, 05 Sep 2017 17:56:18 -0400 (EDT) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2017 21:56:21 -0000 On Tue, 5 Sep 2017, Adam Vande More wrote: > On Tue, Sep 5, 2017 at 2:11 PM, DTD wrote: > Okay from pkg help upgrade: > ...However, explicitly running pkg update is not normally necessary. By > default invoking either of pkg install or pkg upgrade will cause repository > catalogues to be updated automatically, unless disabled by setting > REPO_AUTOUPDATE to false in pkg.conf(5). > > I find nothing via google or questions to suggest anything beyond this. This is a > 10.3 system BTW. Differences in 11.x?? > > You were correct, I meant pkg upgrade -y. > > The pkg solver is supposed to correctly handle updates. However if you've been doing mix and > match updates along the way you may have made a bed you now have to lie in. All are packages, but the dependencies are far too complex at least with xfce. Work/not working depends on the project developers correctly defining the dependencies and requirements. It would be nice if we could depend on being able to update within a FreeBSD version, e.g., 10.3, but that is not always the case. For example if on a clean system you install xorg, xdm, xfce, and firefox (in that order), firefox does not work (on 10.3). You have to install firefox before xfce. Here I know package/port for firefox matters not because I had an "empty" ports tree to install against and I tried a number of ways of building firefox to get around the issue. All the other components are too big to build on my systems. In any case there is nothing wrong with my system as installed except a package needs to have a missing module replaced. I also think the seg fault doing 'pkg install' is an indication of an issue having nothing to do with the pkg database. I am sure mixing packages and ports does not matter. What matters is that the dependency database has the correct information. If I am wrong here lets update the handbook guys. The firefox issue happens based on the version and (what I think is a bug in) the make file that does not define the minimal level of the sqlite component that version 50 (and beyond??) requires. _____ Douglas Denault http://www.safeport.com doug@safeport.com Voice: 301-217-9220 Fax: 301-217-9277