From owner-freebsd-stable@freebsd.org Tue Sep 8 17:53:34 2015 Return-Path: Delivered-To: freebsd-stable@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 8AE83A009C2 for ; Tue, 8 Sep 2015 17:53:34 +0000 (UTC) (envelope-from wayne@manor.msen.com) Received: from manor.msen.com (manor.msen.com [148.59.4.66]) (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 4210110CC for ; Tue, 8 Sep 2015 17:53:34 +0000 (UTC) (envelope-from wayne@manor.msen.com) Received: from manor.msen.com (localhost [127.0.0.1]) by manor.msen.com (8.12.11/8.12.11) with ESMTP id t88Hr4NW017125 for ; Tue, 8 Sep 2015 13:53:04 -0400 (EDT) (envelope-from wayne@manor.msen.com) Received: (from wayne@localhost) by manor.msen.com (8.12.11/8.12.11/Submit) id t88Hr40X017124 for freebsd-stable@freebsd.org; Tue, 8 Sep 2015 13:53:04 -0400 (EDT) (envelope-from wayne) Date: Tue, 8 Sep 2015 13:53:04 -0400 From: "Michael R. Wayne" To: freebsd-stable@freebsd.org Subject: pkg does bad things after upgrade from 8.4 to 9.3 Message-ID: <20150908175303.GP23144@manor.msen.com> Mail-Followup-To: freebsd-stable@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Sep 2015 17:53:34 -0000 I brought this up on irc, did not get a helpful answer. After upgrading a machine from 8.4 to 9.3, I went to upgrade ports/packages. Some need to be built from source as they use non-standard options but most should be installable directly with pkg install. Note that both pkg and pkg-devel exhibit the same problem. Some install just fine. Others do NASTY things. Here, I show that zip installs properly. But bash wants to delete TOTALLY UNRELATED things (why would bash want to delete mutt and apache?) http://www.wayne47.com/fbsd_issue.html I then did a pkg update -F which fetched the world, then wanted to reinstall everything (to which I said no) and the problem continues: http://www.wayne47.com/fbsd3.html It looks like, in part, pkg can not determine what files are installed: http://www.wayne47.com/fbsdbug.html Is there some way I can force pkg to install individual packages and not touch the unrelated things? This behaviour seems very flawed to me but the irc chat suggests I'm missing something. Guidance on how to proceed would be appreciated. Note, again, that I can not simply pkg update all ports as some must be built from source.