Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 May 2014 00:52:50 +0700
From:      Victor Sudakov <vas@mpeks.tomsk.su>
To:        freebsd-questions@freebsd.org
Subject:   Re: Is pkgng dependency solver immature? (Was: Re: Dependency on gettext)
Message-ID:  <20140520175250.GA26247@admin.sibptus.tomsk.ru>
In-Reply-To: <537B4A32.2070005@freebsd.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> <537B4A32.2070005@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Matthew Seaman wrote:
> 
> 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.  

How is that possible? I thought that the dependency list was stored in
the package itself (in the +MANIFEST file) and not in the repo
metadata. Am I wrong?

There is nothing in digests.txz or packagesite.txz which looks like
dependencies. Correct me if I am wrong.

> 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

I already use this feature extensively. In fact, I annotate with "repository
sibptus" every package that should come from my repository only.

The question is, how can I identify the package that is causing this
effect? I am ready to pick at the sqlite database if necessary, I just
need a hint what to look for.


-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:sudakov@sibptus.tomsk.ru



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