From owner-freebsd-ports@freebsd.org Wed May 22 12:36:52 2019 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 60E8415AAF90 for ; Wed, 22 May 2019 12:36:52 +0000 (UTC) (envelope-from list1@gjunka.com) Received: from msa1.earth.yoonka.com (yoonka.com [88.98.225.149]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "msa1.earth.yoonka.com", Issuer "msa1.earth.yoonka.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id E9BB8838EC for ; Wed, 22 May 2019 12:36:51 +0000 (UTC) (envelope-from list1@gjunka.com) Received: from [10.70.7.24] ([10.70.7.24]) (authenticated bits=0) by msa1.earth.yoonka.com (8.15.2/8.15.2) with ESMTPSA id x4MCaoPJ092882 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Wed, 22 May 2019 12:36:50 GMT (envelope-from list1@gjunka.com) Subject: Re: pkg upgrade -f dying on me To: freebsd-ports@freebsd.org References: <5f5106d4-6664-1a02-013e-bfb83afa55a3@gjunka.com> <20190522110316.GG72200@home.opsec.eu> <64b3c8d3-85c6-4db8-2ec7-52803cc82296@gjunka.com> <7a1517e4ddfe7a35f099089817ad06a6@ijs.si> From: Grzegorz Junka Message-ID: Date: Wed, 22 May 2019 13:36:50 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <7a1517e4ddfe7a35f099089817ad06a6@ijs.si> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-GB X-Rspamd-Queue-Id: E9BB8838EC X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.98 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[]; NEURAL_HAM_SHORT(-0.98)[-0.978,0] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 May 2019 12:36:52 -0000 On 22/05/2019 13:30, Mark Martinec wrote: > 2019-05-22 13:46, je Grzegorz Junka wrote: >> root@someserv:~ # pkg --version >> 1.10.5 >> root@someserv:~ # /usr/local/sbin/pkg-static upgrade -f >> Updating desktop_nvidia repository catalogue... >> desktop_nvidia repository is up to date. >> All repositories are up to date. >> Checking for upgrades (1637 candidates):  46% >> libwps03 has no direct installation candidates, change it to libwps? >> [Y/n]: >> Checking for upgrades (1637 candidates):  81% >> gmime26 has no direct installation candidates, change it to gmime30? >> [Y/n]: >> Checking for upgrades (1637 candidates):  82% >> glib12 has no direct installation candidates, change it to glib? [Y/n]: >> Checking for upgrades (1637 candidates): 100% >> Processing candidates (1637 candidates): 100% >> Child process pid=4192 terminated abnormally: Segmentation fault > > This has been my experience (mostly) ever since pkg-ng was introduced. > When answering Y to such questions, it is very likely it will crash. > > My 'solution' is not to accept any of the offered changes, but > just to delete the defunct packages, do the pkg upgrade, then > install whatever is still needed. > Great, thank you Mark. That worked! GrzegorzJ