From owner-freebsd-questions@FreeBSD.ORG Tue May 20 17:52:53 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0CAD26F8 for ; Tue, 20 May 2014 17:52:53 +0000 (UTC) Received: from relay2.tomsk.ru (mail.sibptus.tomsk.ru [212.73.124.5]) by mx1.freebsd.org (Postfix) with ESMTP id 6B8542F41 for ; Tue, 20 May 2014 17:52:51 +0000 (UTC) X-Virus-Scanned: by clamd daemon 0.98.1 for FreeBSD at relay2.tomsk.ru Received: from admin.sibptus.tomsk.ru (account sudakov@sibptus.tomsk.ru [212.73.125.240] verified) by relay2.tomsk.ru (CommuniGate Pro SMTP 5.1.16) with ESMTPSA id 35517588 for freebsd-questions@freebsd.org; Wed, 21 May 2014 00:52:50 +0700 Received: from admin.sibptus.tomsk.ru (sudakov@localhost [127.0.0.1]) by admin.sibptus.tomsk.ru (8.14.7/8.14.7) with ESMTP id s4KHqoVP026449 for ; Wed, 21 May 2014 00:52:50 +0700 (NOVT) (envelope-from vas@mpeks.tomsk.su) Received: (from sudakov@localhost) by admin.sibptus.tomsk.ru (8.14.7/8.14.7/Submit) id s4KHqoDb026448 for freebsd-questions@freebsd.org; Wed, 21 May 2014 00:52:50 +0700 (NOVT) (envelope-from vas@mpeks.tomsk.su) X-Authentication-Warning: admin.sibptus.tomsk.ru: sudakov set sender to vas@mpeks.tomsk.su using -f Date: Wed, 21 May 2014 00:52:50 +0700 From: Victor Sudakov 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> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <537B4A32.2070005@freebsd.org> Organization: AO "Svyaztransneft", SibPTUS X-PGP-Key: http://www.dreamwidth.org/pubkey?user=victor_sudakov X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2014 17:52:53 -0000 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