pkg vs hplip

Tijl Coosemans tijl at FreeBSD.org
Fri Mar 18 11:57:12 UTC 2016


On Fri, 18 Mar 2016 11:44:24 +0200 Andriy Gapon <avg at FreeBSD.org> wrote:
> On 17/03/2016 21:41, Andriy Gapon wrote:
>> I am trying to upgrade to the latest official packages and I am getting the
>> following:
>> 
>> $ pkg upgrade
>> ...
>> Installed packages to be UPGRADED:
>> ...
>>         hplip-plugin: 3.14.10 -> 3.16.2 [poudriere]
>>         hplip: 3.14.10_1 -> 3.16.2_1 [FreeBSD]
>>         gutenprint-ijs: 5.2.10_1 -> 5.2.10_2 [FreeBSD]
>>         gutenprint-cups: 5.2.10_1 -> 5.2.10_2 [FreeBSD]
>>         gutenprint-base: 5.2.10_1 -> 5.2.10_2 [FreeBSD]
>>         gtk3: 3.18.8 -> 3.18.8_1 [FreeBSD]
>>         gtk2: 2.24.29 -> 2.24.29_1 [FreeBSD]
>>         giflib: 5.1.2_1 -> 5.1.2_2 [FreeBSD]
>>         ghostscript9-base: 9.06_11 -> 9.06_12 [FreeBSD]
>>         gdb: 7.10_5 -> 7.11 [poudriere]
>>         foomatic-filters: 4.0.17_5 -> 4.0.17_6 [FreeBSD]
>>         firefox: 45.0_1,1 -> 45.0_3,1 [FreeBSD]
>>         epdfview: 0.1.8_10 -> 0.1.8_11 [FreeBSD]
>>         eclipse: 4.5.1 -> 4.5.2 [FreeBSD]
>>         cups-filters: 1.8.2 -> 1.8.2_2 [FreeBSD]
>>         cups: 2.0.3_1 -> 2.1.3_1 [FreeBSD]
>> ...
>> The process will require 90 MiB more space.
>> 379 MiB to be downloaded.
>> 
>> Proceed with this action? [y/N]: y
>> ...
>> Fetching py27-attrs-15.2.0.txz: 100%   18 KiB  18.1kB/s    00:01
>> Checking integrity... done (16 conflicting)
>> pkg: Cannot solve problem using SAT solver:
>> require rule: package hplip(r) depends on a requirement provided by:
>> net-snmp(l)net-snmp(l)net-snmp(l)
>> require rule: package hplip(r) depends on a requirement provided by:
>> cups-image(l)cups(r)cups(r)cups(r)cups(r)cups(r)cups(r)cups(r)cups(r)cups(r)cups(r)
>> require rule: package hplip(r) depends on a requirement provided by:
>> cups-client(l)cups(r)cups(r)cups(r)cups(r)cups(r)cups(r)cups(r)cups(r)cups(r)cups(r)
>> require rule: package hplip(r) depends on a requirement provided by:
>> sane-backends(l)epkowa(r)sane-backends(l)sane-backends(l)
>> require rule: package hplip(r) depends on a requirement provided by:
>> dbus(l)dbus(l)dbus(l)
>> require rule: package hplip(r) depends on a requirement provided by:
>> jpeg-turbo(l)mozjpeg(r)jpeg(r)jpeg-turbo(l)jpeg-turbo(l)
>> upgrade rule: upgrade local hplip-3.16.2_1 to remote hplip-3.16.2_1
>> upgrade rule: upgrade local hplip-3.16.2_1 to remote hplip-3.16.2_1
>> upgrade rule: upgrade local hplip-3.14.10_1 to remote hplip-3.16.2_1
>> cannot install package hplip, remove it from request? [Y/n]: 
>> I can not figure out what the problem is here.  
> 
> Followup: I answered Y and kept answering Y when I was prompted 3 more times,
> but after that some magic happened and pkg announced that it is going to do the
> following:
> 
> Installed packages to be REMOVED:
>         foomatic-filters-4.0.17_5
>         cups-client-2.0.3_2
>         cups-image-2.0.3_2
>         cups-base-2.0.3_5
>         cups-pstoraster-8.15.4_8
> 
> New packages to be INSTALLED:
>         py27-attrs: 15.2.0 [FreeBSD]
> 
> Installed packages to be UPGRADED:
>         qpdf: 5.1.2_1 -> 5.1.2_2 [FreeBSD]
>         ghostscript9-base: 9.06_11 -> 9.06_12 [FreeBSD]
>         cups: 2.0.3_1 -> 2.1.3_1 [FreeBSD]
>         cups-filters: 1.8.2 -> 1.8.2_2 [FreeBSD]
> ...
>         hplip: 3.14.10_1 -> 3.16.2_1 [FreeBSD]
> ...
>         hplip-plugin: 3.14.10 -> 3.16.2 [poudriere]
> ...
> 
> This seems to be correct.
> 
> 
>> Please note that I use a multi-repository configuration: the official
>> repository for most packages and a local, poudriere-built one for some
>> packages including hplip-plugin.
>> 
>> Any help would be appreciated!

This looks correct, but if you want to get to the bottom of this you'll
have to talk to one the pkg developers.  My guess is that the initial SAT
problem may be too difficult to solve for the SAT solver included in pkg.


More information about the freebsd-ports mailing list