From owner-freebsd-pkg@FreeBSD.ORG Thu May 22 05:16:29 2014 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D83A4B8A for ; Thu, 22 May 2014 05:16:29 +0000 (UTC) Received: from relay2.tomsk.ru (mail.sibptus.tomsk.ru [212.73.124.5]) by mx1.freebsd.org (Postfix) with ESMTP id 020C5269B for ; Thu, 22 May 2014 05:16:27 +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 35519740 for freebsd-pkg@freebsd.org; Thu, 22 May 2014 12:16:26 +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 s4M5GPQ4081187 for ; Thu, 22 May 2014 12:16:25 +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 s4M5GPuK081186 for freebsd-pkg@freebsd.org; Thu, 22 May 2014 12:16:25 +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: Thu, 22 May 2014 12:16:25 +0700 From: Victor Sudakov To: freebsd-pkg@freebsd.org Subject: Re: "pkg upgrade" is trying to install phantom dependencies Message-ID: <20140522051625.GA80949@admin.sibptus.tomsk.ru> References: <20140521043514.GD41900@admin.sibptus.tomsk.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140521043514.GD41900@admin.sibptus.tomsk.ru> 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-pkg@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2014 05:16:30 -0000 Victor Sudakov wrote: > > Why is "pkg upgrade" trying to install all these packages without > actually upgrading anything? Is there a way to debug the dependency > solver? Pls see the output below. "pkg check -dn" shows nothing. > > Any help is greatly appreciated. I am ready to give any additional > info in my setup. > > # pkg upgrade -n > Updating repository catalogue > Upgrades have been requested for the following 35 packages: > > Installing xproto: 7.0.25 [FreeBSD] All right, how do I at least figure out which exactly package is trying to install a partucular dependency? I have no X-Window on this box, not a single installed package requires anything X-related, so how do I view the dependency tree? Does pkg calculate dependencies taking into account /var/db/pkg/local.sqlite or on /var/db/pkg/repo-*.sqlite ? There is certainly nothing dependent on X in local.sqlite. > Installing libXdmcp: 1.1.1_2 [FreeBSD] > Installing libXau: 1.0.8_2 [FreeBSD] > Installing libxml2: 2.9.1_1 [sibptus] > Installing libpthread-stubs: 0.3_4 [FreeBSD] > Installing kbproto: 1.0.6 [FreeBSD] > Installing fixesproto: 5.0 [FreeBSD] > Installing xextproto: 7.3.0 [FreeBSD] > Installing inputproto: 2.3 [FreeBSD] > Installing libICE: 1.0.8_2,1 [FreeBSD] > Installing xf86vidmodeproto: 2.3.1 [FreeBSD] > Installing damageproto: 1.2.1 [FreeBSD] > Installing dri2proto: 2.8 [FreeBSD] > Installing pciids: 20140502 [FreeBSD] > Installing randrproto: 1.4.0 [FreeBSD] > Installing renderproto: 0.11.1 [FreeBSD] > Installing libxcb: 1.10_2 [FreeBSD] > Installing libSM: 1.2.2_2,1 [FreeBSD] > Installing libpciaccess: 0.13.2_2 [FreeBSD] > Installing libX11: 1.6.2_2,1 [FreeBSD] > Installing libXext: 1.3.2_2,1 [FreeBSD] > Installing libXt: 1.1.4_2,1 [FreeBSD] > Installing libXxf86vm: 1.1.3_2 [FreeBSD] > Installing libdrm: 2.4.17_1 [FreeBSD] > Installing libXrender: 0.9.8_2 [FreeBSD] > Installing libXfixes: 5.0.1_2 [FreeBSD] > Installing libXmu: 1.1.2_2,1 [FreeBSD] > Installing libXdamage: 1.1.4_2 [FreeBSD] > Installing libXrandr: 1.4.2_2 [FreeBSD] > Installing libXi: 1.7.2_2,1 [FreeBSD] > Installing libGL: 7.6.1_4 [FreeBSD] > Installing libGLU: 9.0.0 [FreeBSD] > Installing freeglut: 2.8.1_2 [FreeBSD] > > The upgrade will require 33 MB more space > > 7 MB to be downloaded > # > -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN sip:sudakov@sibptus.tomsk.ru