From owner-freebsd-ports@freebsd.org Wed May 22 12:30:10 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 5833815AAB9B for ; Wed, 22 May 2019 12:30:10 +0000 (UTC) (envelope-from Mark.Martinec+freebsd@ijs.si) Received: from mail.ijs.si (mail.ijs.si [IPv6:2001:1470:ff80::25]) (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 CAF3F8332C for ; Wed, 22 May 2019 12:30:09 +0000 (UTC) (envelope-from Mark.Martinec+freebsd@ijs.si) Received: from amavis-ori.ijs.si (localhost [IPv6:::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.ijs.si (Postfix) with ESMTPS id 458BmD52Lkz59Q for ; Wed, 22 May 2019 14:30:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ijs.si; h= user-agent:message-id:references:in-reply-to:organization :subject:subject:from:from:date:date:content-transfer-encoding :content-type:content-type:mime-version:received:received :received:received; s=jakla4; t=1558528201; x=1561120202; bh=Xaj F1WxKiaqxlhQjNN73Ub6wYEzy62M+WkWZC6FbvJA=; b=RG3IM6fXQtcmthEN2jb QhwQL/OE83sbODfAgonbMuwormsYrjcM2Q18rMh1lBx163K+An7yCSmbrNNcpmHQ 8Ipj1ltyvdEiH3TXip+LgnzgWd2iPsGSBPbRdldskytSsYmXSVCM+4ScAVU0lczq vns3iH7XhIpxymEJrTva4FXg= X-Virus-Scanned: amavisd-new at ijs.si Received: from mail.ijs.si ([IPv6:::1]) by amavis-ori.ijs.si (mail.ijs.si [IPv6:::1]) (amavisd-new, port 10026) with LMTP id IIs--F4v_iFi for ; Wed, 22 May 2019 14:30:01 +0200 (CEST) Received: from mildred.ijs.si (mailbox.ijs.si [IPv6:2001:1470:ff80::143:1]) by mail.ijs.si (Postfix) with ESMTP id 458Bm90KVLz59N for ; Wed, 22 May 2019 14:30:01 +0200 (CEST) Received: from nabiralnik.ijs.si (nabiralnik.ijs.si [IPv6:2001:1470:ff80::80:16]) by mildred.ijs.si (Postfix) with ESMTP id 458Bm86t8ZzdY for ; Wed, 22 May 2019 14:30:00 +0200 (CEST) Received: from neli.ijs.si ([193.2.4.95]) by webmail.ijs.si with HTTP (HTTP/2.0 POST); Wed, 22 May 2019 14:30:00 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Wed, 22 May 2019 14:30:00 +0200 From: Mark Martinec To: freebsd-ports@freebsd.org Subject: Re: pkg upgrade -f dying on me Organization: Jozef Stefan Institute In-Reply-To: <64b3c8d3-85c6-4db8-2ec7-52803cc82296@gjunka.com> References: <5f5106d4-6664-1a02-013e-bfb83afa55a3@gjunka.com> <20190522110316.GG72200@home.opsec.eu> <64b3c8d3-85c6-4db8-2ec7-52803cc82296@gjunka.com> Message-ID: <7a1517e4ddfe7a35f099089817ad06a6@ijs.si> X-Sender: Mark.Martinec+freebsd@ijs.si User-Agent: Roundcube Webmail/1.3.1 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:30:10 -0000 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. Mark