Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Mar 2016 10:47:43 +0100
From:      Miroslav Lachman <000.fbsd@quip.cz>
To:        Andrey Chernov <ache@freebsd.org>, pkg@FreeBSD.org
Cc:        ports@FreeBSD.org
Subject:   Re: "pkg check -B" drop shlibs from local.sqlite on -stable
Message-ID:  <56E92BBF.1000905@quip.cz>
In-Reply-To: <56E8F424.8070304@freebsd.org>
References:  <56E8F424.8070304@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Andrey Chernov wrote on 03/16/2016 06:50:
> On recent -stable and pkg 1.6.4:
>
> 1# pkg check -d
> Checking all packages: 100%
> 2# pkg check -B
> Checking all packages: 100%
> 3# pkg check -d
> Checking all packages: 100%
> firefox has require a missing libraries: libgdk_pixbuf-2.0.so.0
> gtk-update-icon-cache has require a missing libraries: libgdk_pixbuf-2.0.so.0
> gtk2 has require a missing libraries: libgdk_pixbuf-2.0.so.0
> gtk3 has require a missing libraries: libgdk_pixbuf-2.0.so.0
> libnotify has require a missing libraries: libgdk_pixbuf-2.0.so.0
> nspluginwrapper has require a missing libraries: libgdk_pixbuf-2.0.so.0
>
> Well, I can repair it using:
>
> 1# sqlite3 /var/db/pkg/local.sqlite "select * from shlibs where name='libgdk_pixbuf-2.0.so.0';"
> 81|libgdk_pixbuf-2.0.so.0
> 2# sqlite3 /var/db/pkg/local.sqlite "select * from packages where name='gdk-pixbuf2';"
> 4207|graphics/gdk-pixbuf2|gdk-pixbuf2|2.32.3|...
> ...
> 3# sqlite3 /var/db/pkg/local.sqlite "insert into pkg_shlibs_provided values(4207,81);"
> 4# pkg check -d
> Checking all packages: 100%
>
> but it repeats again after the next "pkg check -B".
> Please fix.

I cannot reproduce it on 10.2. But I have a question - is there some 
change in functionality of -B? Because I noticed changes in manpage 
description.
It was "reanalyse shared libraries of installed packages" and now
it is "regenerates the	library	dependency metadata for a package by 
extracting library requirement information from the binary ELF files in 
the package"
Different words for the same thing or was it changed?

I used 'pkg check -Ba' after each upgrade or install to be sure 
everything is OK.

Miroslav Lachman




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