Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 May 2014 13:27:30 +0100
From:      Matthew Seaman <matthew@freebsd.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: Is pkgng dependency solver immature? (Was: Re: Dependency on gettext)
Message-ID:  <537B4A32.2070005@freebsd.org>
In-Reply-To: <20140520141505.7127e93b@kalimero.tijl.coosemans.org>
References:  <20140518114404.GA37640@admin.sibptus.tomsk.ru> <20140519021236.GA61068@admin.sibptus.tomsk.ru> <20140520021928.GA94757@admin.sibptus.tomsk.ru> <20140520141505.7127e93b@kalimero.tijl.coosemans.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--nxfCREAKOb6ejUwCRkN4G9NRCqlMswIL4
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 05/20/14 13:15, Tijl Coosemans wrote:
> On Tue, 20 May 2014 09:19:29 +0700 Victor Sudakov wrote:
>> Dear Colleagues,=20
>>
>> How do I get rid of these phantom dependencies? Why is=20
>> "pkg upgrade" trying to install all these packages without actually
>> upgrading anything? Is there a way to debug the dependency solver?
>>
>> Any help is greatly appreciated. Pls see the output below:
>>
>>
>> # pkg upgrade -n=20
>> Updating repository catalogue
>> Upgrades have been requested for the following 35 packages:
>>
>>         Installing gettext: 0.18.3.1_1 [sibptus]
>>         Installing p5-Locale-gettext: 1.05_3 [FreeBSD]
>=20
> Does the [sibptus] versus [FreeBSD] here mean you are mixing two
> package repositories maybe?
>=20
> In any case.  I think you'll have better luck getting answers on the
> freebsd-ports mailing list.  All things ports and packages are discusse=
d
> there.

Actually, the freebsd-pkg@ list is probably even better for this question=
=2E

In answer to the OP's original question: yes the "solver" (if we can
call it such) in pkg-1.2 is pretty rudimentary.  We've a much better one
in the upcoming pkg-1.3 which is in beta now.  You can try it by
installing net-mgmt/pkg-devel -- but be warned, there are still some
rough edges.

The reason pkg is trying to install all those packages is that one of
the packages you have installed -- presumably from your sibptus
repository -- has X11 support as a default option.  I'm guessing you've
turned that off in your own repo, but unfortunately pkg(8) seems to pick
up the dependency lists from the FreeBSD repo.  If you can identify
which pkg or pkgs are causing this effect, then adding the annotation to
say "always get this package from a specific repository" might help:

    pkg annotate -A pkgname repository sibptus

	Cheers,

	Matthew



--nxfCREAKOb6ejUwCRkN4G9NRCqlMswIL4
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (FreeBSD)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQJ8BAEBCgBmBQJTe0o5XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw
MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTnTtMP/R9kh+w5APHObggvQ1aovPFn
g19bp0/Yj5ftxxPnaWw7gtD8uMIbELJn7wls4urbzEJ9QNat7etjEsxkajiszF5g
CsGMXaoWattvZeZAZ+L/XB6ShOfM1ilJYVUjWfbrdkIeJ/G4DO/h7kQTmhhQhYbX
AAFvueElS55rSIJnYwTwVQFoE90Us9OeUoNQV/iDQ7vFWulXEH3/f2OhpUlbpFR2
ZFbFe9988CQtSPa4capxu9XiRgLI+rLihIVtrt1YnE9c0G6v/egJ26TbXwadpZOf
bOclA/gmtVvpIO+BxZY2IBQ88YkhO86tTRGfIBFZ7FfVhWIQ6sdO0FNvDtd6i4rN
VeeglQCnDc9pevmDjnWW2h2xGGpkH2OACPRFNwJAprR1HHBylUyrw6QpjUX3QFxj
NQby8YuioY+EI5WDn51yuHozSxg2JgaG2wgUfSBSQ1Yyigb1wr1alyXnuw8VcCoS
b36Ug2jxfnkfgzj21Sc8/VLkr8NptqF1KIGfqMuyBSAjRDmOcoQ+2KOtkK+6LhwE
zsr92JSdmEbzxUJWx9YCNFiSmgQ42J3xLIPtrBdUaBw48OIdoGzGwEK7BCxvC9So
OlsuP6uzCPq/2c8hyx/aog3l7qiaCk3umIKFyg0eCGYwsbHU36X595v/RShdev4Q
LbsiKWTNoZnBsldmf+oB
=stFo
-----END PGP SIGNATURE-----

--nxfCREAKOb6ejUwCRkN4G9NRCqlMswIL4--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?537B4A32.2070005>