qt related pkg upgrade problem

Andriy Gapon avg at FreeBSD.org
Wed Feb 22 06:35:15 UTC 2017


On 22/02/2017 00:51, Jack L. wrote:
> On Tue, Feb 21, 2017 at 2:12 PM, Andriy Gapon <avg at 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


More information about the kde-freebsd mailing list