From owner-freebsd-pkg@FreeBSD.ORG Thu Mar 26 18:53:52 2015 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 315BC75B for ; Thu, 26 Mar 2015 18:53:52 +0000 (UTC) Received: from luigi.brtsvcs.net (luigi.brtsvcs.net [204.109.60.246]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F03988EA for ; Thu, 26 Mar 2015 18:53:51 +0000 (UTC) Received: from chombo.houseloki.net (unknown [IPv6:2601:7:2580:181:21c:c0ff:fe7f:96ee]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by luigi.brtsvcs.net (Postfix) with ESMTPSA id A3A992D4F8D for ; Thu, 26 Mar 2015 18:53:43 +0000 (UTC) Received: from [IPv6:2601:7:2580:181:baca:3aff:fe83:bd29] (unknown [IPv6:2601:7:2580:181:baca:3aff:fe83:bd29]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by chombo.houseloki.net (Postfix) with ESMTPSA id 102C3DB4 for ; Thu, 26 Mar 2015 11:53:40 -0700 (PDT) Message-ID: <551455AD.1040002@bluerosetech.com> Date: Thu, 26 Mar 2015 11:53:33 -0700 From: list_freebsd@bluerosetech.com User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: freebsd-pkg@freebsd.org Subject: Re: Segfault on pkg upgrade wit php5-pgsql locked References: <550F50C6.2060002@bluerosetech.com> In-Reply-To: <550F50C6.2060002@bluerosetech.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 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: Thu, 26 Mar 2015 18:53:52 -0000 Can anyone help me with this? I'm not the only one who has reported segfaults with locked packages and right now this is reliably reproducible on this system, but I can't just sit on this due to security. Someone please help. On 2015-03-22 16:31, list_freebsd@bluerosetech.com wrote: > This is happening on 10.1-p3 amd64 after upgrading pkg from 1.4.4 to 1.4.12: > > # pkg upgrade > Updating FreeBSD repository catalogue... > FreeBSD repository is up-to-date. > All repositories are up-to-date. > Checking for upgrades (48 candidates): 100% > Processing candidates (48 candidates): 100% > > php5-pgsql-5.4.36 is locked and may not be modified > Child process pid=69616 terminated abnormally: Segmentation fault > > Doing `pkg install -f pkg` then `pkg update -f` does not resolve this, > but the problem is related to php5-pgsql being locked: > > # pkg info -k php5-pgsql > php5-pgsql-5.4.36 yes > > # pkg upgrade > Updating FreeBSD repository catalogue... > FreeBSD repository is up-to-date. > All repositories are up-to-date. > Checking for upgrades (48 candidates): 100% > Processing candidates (48 candidates): 100% > > php5-pgsql-5.4.36 is locked and may not be modified > Child process pid=69731 terminated abnormally: Segmentation fault > > # pkg unlock -xy php5-pgsql > Unlocking php5-pgsql-5.4.36 > > # pkg upgrade > Updating FreeBSD repository catalogue... > FreeBSD repository is up-to-date. > All repositories are up-to-date. > Checking for upgrades (48 candidates): 100% > Processing candidates (48 candidates): 100% > The following 50 packages will be affected (of 0 checked): > > New packages to be INSTALLED: > postgresql93-client: 9.3.6_1 > php56-session: 5.6.6 > php56: 5.6.6 > php56-xmlrpc: 5.6.6 > php56-xml: 5.6.6 > php56-mysql: 5.6.6 > php56-mbstring: 5.6.6 > php56-pgsql: 5.6.6 > > Installed packages to be UPGRADED: > vim-lite: 7.4.560 -> 7.4.657 > unzip: 6.0_2 -> 6.0_6 > unbound: 1.5.1_2 -> 1.5.3_1 > tevent: 0.9.21 -> 0.9.22 > tdb: 1.2.13,1 -> 1.3.4,1 > tcpdump: 4.5.1 -> 4.6.2 > talloc: 2.1.0 -> 2.1.1 > sqlite3: 3.8.7.4 -> 3.8.8.2 > screen: 4.2.1_3 -> 4.2.1_5 > samba36: 3.6.24_2 -> 3.6.25 > postgresql92-server: 9.2.9_1 -> 9.2.10 > postgresql92-client: 9.2.9_1 -> 9.2.10_1 > pkgconf: 0.9.7 -> 0.9.8 > php5-xmlrpc: 5.4.36 -> 5.4.38 > php5-xml: 5.4.36 -> 5.4.38 > php5-session: 5.4.36 -> 5.4.38 > php5-pgsql: 5.4.36 -> 5.4.38 > php5-mysql: 5.4.36 -> 5.4.38 > php5-mbstring: 5.4.36 -> 5.4.38 > php5: 5.4.36 -> 5.4.38 > p5-Net-DNS: 0.81_1 -> 0.83_1 > p5-BerkeleyDB: 0.54_2 -> 0.55 > openssl: 1.0.1_16 -> 1.0.1_18 > ntp: 4.2.8_3 -> 4.2.8p1 > nsd: 4.1.0_1 -> 4.1.1 > libtool: 2.4.2.418 -> 2.4.5 > libpcap: 1.5.2 -> 1.6.2 > libevent2: 2.0.21_3 -> 2.0.22_1 > ldns: 1.6.17_3 -> 1.6.17_4 > isc-dhcp42-server: 4.2.7 -> 4.2.8 > gettext-tools: 0.19.3 -> 0.19.4 > gettext-runtime: 0.19.3 -> 0.19.4 > gettext: 0.19.3 -> 0.19.4 > curl: 7.39.0_1 -> 7.41.0 > cmake-modules: 3.1.0 -> 3.1.3 > cmake: 3.1.0 -> 3.1.3 > ca_root_nss: 3.17.3_1 -> 3.17.4_1 > bind-tools: 9.10.1P1 -> 9.10.2 > bash-static: 4.3.30_1 -> 4.3.33 > automake: 1.14_1 -> 1.15 > > Installed packages to be REINSTALLED: > postfixadmin-2.3.7_1 (direct dependency changed) > phppgadmin-5.1 (direct dependency changed) > > The process will require 30 MiB more space. > 62 MiB to be downloaded. > > Proceed with this action? [y/N]: > _______________________________________________ > freebsd-pkg@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-pkg > To unsubscribe, send any mail to "freebsd-pkg-unsubscribe@freebsd.org" >