pkgng: How fix dependences?

Kimmo Paasiala kpaasial at gmail.com
Wed Aug 21 02:57:21 UTC 2013


On Wed, Aug 21, 2013 at 3:45 AM, Kevin Oberman <rkoberman at gmail.com> wrote:
> On Tue, Aug 20, 2013 at 1:48 AM, Alex V. Petrov <alexvpetrov at gmail.com>wrote:
>
>> After recomendation (20130731) in ports/UPDATING I have:
>>
>> pkg check -d
>> graphics/ImageMagick has a missing dependency: devel/gio-fam-backend
>> devel/ORBit2 has a missing dependency: devel/gio-fam-backend
>> ports-mgmt/packagekit has a missing dependency: devel/gio-fam-backend
>> editors/spe has a missing dependency: devel/gio-fam-backend
>> databases/akonadi has a missing dependency: devel/gio-fam-backend
>>   has a missing dependency: devel/gio-fam-backend
>> [many skipped]
>>
>> I try:
>> pkg set -a -o devel/gio-fam-backend:devel/glib20 -y
>> Result:
>> pkg: sqlite: columns package_id, origin are not unique (pkgdb.c:3605)
>>
>> How can I fix the dependence with portmaster or pkgng?
>> --
>> -----
>> Alex V. Petrov
>
>
> It appears that you failed to follow the instructions in 20130731. Or, it
> is also possible that you used an outdated version of portmaster that did
> the wrong thing, too. I don't use pkgng, so it may have introduced other
> issues.
>
> Has glib20 been updated to glib-2.36.3? If so, it now has absorbed all of
> the functions of gio-fam-backend. and re-installing any ports that depended
> on gio-fam-backend should do the trick.
>
> portmaster graphics/ImageMagick devel/ORBit2 ports-mgmt/packagekit
> editors/spe databases/akonadi deskutils/alacarte and others  that depend on
> gio-fam-backend.
> --
> R. Kevin Oberman, Network Engineer
> E-mail: rkoberman at gmail.com
> _______________________________________________

The dependencies are not inherited but copied. In this case ports that
depended on devel/gio-fam-backend via an intermediate dependency
(devel/glib20) will not stop depending on it unless recompiled with
the updated  devel/glib20 that no longer has the dependency to
devel/gio-fam-backend.

-Kimmo


More information about the freebsd-ports mailing list