From owner-freebsd-pkg@FreeBSD.ORG Fri Apr 17 19:31:19 2015 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DD1DDCAA for ; Fri, 17 Apr 2015 19:31:19 +0000 (UTC) Received: from mail2.nber.org (mail2.nber.org [198.71.6.79]) by mx1.freebsd.org (Postfix) with ESMTP id 782C110A for ; Fri, 17 Apr 2015 19:31:18 +0000 (UTC) Received: from [10.1.1.10] (pool-71-174-45-84.bstnma.east.verizon.net [71.174.45.84]) (authenticated bits=0) by mail2.nber.org (8.15.1/8.14.7) with ESMTPSA id t3HJIb94025653 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Fri, 17 Apr 2015 15:18:38 -0400 (EDT) (envelope-from aminoff@nber.org) X-Authentication-Warning: mail2.nber.org: Host pool-71-174-45-84.bstnma.east.verizon.net [71.174.45.84] claimed to be [10.1.1.10] Message-ID: <55315C92.4000005@nber.org> Date: Fri, 17 Apr 2015 15:18:42 -0400 From: Alex Aminoff User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: freebsd-pkg@freebsd.org Subject: after pkg 1.5.1 pkg upgrade seg faults Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Anti-Virus: Kaspersky Anti-Virus for Linux Mail Server 5.6.39/RELEASE, bases: 20140401 #7726142, check: 20150417 clean X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Apr 2015 19:31:20 -0000 We are running FreeBSD 10.1-RELEASE. pkg likes to upgrade itself before doing anything else, so I went ahead and accepted the self-upgrade to pkg 1.5.1. Unfortunately, now pkg upgrade seg faults. # pkg check -r Checking all packages: 16% Checking all packages: 100% # pkg update -f Updating FreeBSD repository catalogue... Fetching meta.txz: 100% 944 B 0.9kB/s 00:01 Fetching packagesite.txz: 100% 5 MiB 1.3MB/s 00:04 Processing entries: 100% FreeBSD repository update completed. 23839 packages processed. # pkg upgrade Updating FreeBSD repository catalogue... FreeBSD repository is up-to-date. All repositories are up-to-date. Checking for upgrades (352 candidates): 25% p5-libapreq2 has no direct installation candidates, change it to p5-libapreq2? [Y/n]: Checking for upgrades (352 candidates): 100% Processing candidates (352 candidates): 100% openssl-1.0.1_16 is locked and may not be modified Child process pid=4705 terminated abnormally: Segmentation fault I can still do pkg upgrade on individual packages, its just the overall pkg upgrade that segfaults. I have googled and found some references to segfaults in pkg, but they all seem to be referring to older versions. I hope this is a known thing that there is a simple fix for; I think it is unlikely that we are the first to discover a problem. There does appear to be a pkg.core file in /var/db/pkg. Thanks for any suggestions, - Alex Aminoff National Bureau of Economic Research