From owner-freebsd-ports@freebsd.org Wed Feb 22 06:36:14 2017 Return-Path: Delivered-To: freebsd-ports@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 EFFAFCE9005 for ; Wed, 22 Feb 2017 06:36:14 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citapm.icyb.net.ua (citapm.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 0400610E1; Wed, 22 Feb 2017 06:36:13 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citapm.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id IAA25797; Wed, 22 Feb 2017 08:36:12 +0200 (EET) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1cgQX6-000NOE-1A; Wed, 22 Feb 2017 08:36:12 +0200 Subject: Re: qt related pkg upgrade problem To: "Jack L." References: Cc: ports , kde@FreeBSD.org From: Andriy Gapon Message-ID: <9d3f407f-4117-5f5f-d645-19acdca10400@FreeBSD.org> Date: Wed, 22 Feb 2017 08:35:15 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Feb 2017 06:36:15 -0000 On 22/02/2017 00:51, Jack L. wrote: > On Tue, Feb 21, 2017 at 2:12 PM, Andriy Gapon wrote: >> >> I tried the following today with the latest FreeBSD packages (FreeBSD:12:amd64): >> >> # pkg upgrade >> ... >> Checking integrity... done (7 conflicting) >> - qtchooser-39 [FreeBSD] conflicts with qt4-linguisttools-4.8.7 [installed] on >> /usr/local/bin/lconvert >> ... >> Conflicts with the existing packages have been found. >> One more solver iteration is needed to resolve them. >> The following 178 package(s) will be affected (of 0 checked): >> ... >> Number of packages to be installed: 1 >> Number of packages to be upgraded: 107 >> Number of packages to be reinstalled: 56 >> The process will require 50 MiB more space. >> Proceed with this action? [y/N]: y >> [1/178] Installing qtchooser-39... >> pkg: qtchooser-39 conflicts with qt4-linguisttools-4.8.7 (installs files into >> the same place). Problematic file: /usr/local/bin/lconvert >> >> >> I thought that that "one more solver iteration" resolved this. >> Shouldn't pkg first upgrade or remove the installed conflicting packages before >> trying to install qtchooser? >> I read UPDATING, it mentioned the big Qt change, but it didn't have any special >> upgrade instructions... >> >> How can I proceed from here? >> Thank you! > > > I just uninstalled qt4-linguisttools-4.8.7 and that fixed the issue > I event didn't have to do that... It's magic - I ran pkg upgrade again and it did the right thing this time: Proceed with this action? [y/N]: y [1/176] Deinstalling qt4-xmlpatterns-tool-4.8.7... [1/176] Deleting files for qt4-xmlpatterns-tool-4.8.7: 100% [2/176] Deinstalling qt4-rcc-4.8.7... [2/176] Deleting files for qt4-rcc-4.8.7: 100% [3/176] Deinstalling qt4-qdbusviewer-4.8.7... [3/176] Deleting files for qt4-qdbusviewer-4.8.7: 100% [4/176] Deinstalling qt4-pixeltool-4.8.7... [4/176] Deleting files for qt4-pixeltool-4.8.7: 100% [5/176] Deinstalling qt4-linguisttools-4.8.7... [5/176] Deleting files for qt4-linguisttools-4.8.7: 100% [6/176] Deinstalling qt4-help-tools-4.8.7... [6/176] Deleting files for qt4-help-tools-4.8.7: 100% [7/176] Deinstalling qt4-dbus-4.8.7... [7/176] Deleting files for qt4-dbus-4.8.7: 100% [8/176] Installing qtchooser-39... [8/176] Extracting qtchooser-39: 100% ... It seems like even when pkg doesn't upgrade any packages it still does something. -- Andriy Gapon