Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 May 2014 12:16:25 +0700
From:      Victor Sudakov <vas@mpeks.tomsk.su>
To:        freebsd-pkg@freebsd.org
Subject:   Re: "pkg upgrade" is trying to install phantom dependencies
Message-ID:  <20140522051625.GA80949@admin.sibptus.tomsk.ru>
In-Reply-To: <20140521043514.GD41900@admin.sibptus.tomsk.ru>
References:  <20140521043514.GD41900@admin.sibptus.tomsk.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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