Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Feb 2017 08:35:15 +0200
From:      Andriy Gapon <avg@FreeBSD.org>
To:        "Jack L." <xxjack12xx@gmail.com>
Cc:        ports <freebsd-ports@FreeBSD.org>, kde@FreeBSD.org
Subject:   Re: qt related pkg upgrade problem
Message-ID:  <9d3f407f-4117-5f5f-d645-19acdca10400@FreeBSD.org>
In-Reply-To: <CALeGphwnBp1aEZbU8FYPOgVB__qh7Y1B89S-OzN5HTnXz_d8yA@mail.gmail.com>
References:  <d6ed167f-c228-24d9-f7b5-7fbea704888f@FreeBSD.org> <CALeGphwnBp1aEZbU8FYPOgVB__qh7Y1B89S-OzN5HTnXz_d8yA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 22/02/2017 00:51, Jack L. wrote:
> On Tue, Feb 21, 2017 at 2:12 PM, Andriy Gapon <avg@freebsd.org> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9d3f407f-4117-5f5f-d645-19acdca10400>