Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Apr 2021 04:10:20 +0100
From:      Graham Perrin <grahamperrin@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Yet another (fatal?) pkg upgrade error
Message-ID:  <fd6c5642-dfd2-e4ad-fda5-23117b616bdc@gmail.com>
In-Reply-To: <2517.1617677444@segfault.tristatelogic.com>
References:  <2517.1617677444@segfault.tristatelogic.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 06/04/2021 03:50, Ronald F. Guilmette wrote:

> Specifically, in response to the following command:
>
>      pkg info --file /usr/local/lib/libglib-2.0.so.0
>
> I get only the following rather unhelpfuland uninformative error message:
>
>      pkg: archive_read_open_fd: Unrecognized archive format


The same here:

root@mowa219-gjp4-8570p:~ # pkg info pkg info --file 
/usr/local/lib/libglib-2.0.so.0
root@mowa219-gjp4-8570p:~ # pkg info --file /usr/local/lib/libglib-2.0.so.0
pkg: archive_read_open_fd: Unrecognized archive format
root@mowa219-gjp4-8570p:~ # pkg provides /usr/local/lib/libglib-2.0.so.0
Name    : glib-2.66.7_1,1
Desc    : Some useful routines of C programming (current stable version)
Repo    : FreeBSD
Filename: 
usr/local/share/gdb/auto-load/usr/local/lib/libglib-2.0.so.0.6600.7-gdb.py
           usr/local/lib/libglib-2.0.so.0.6600.7
           usr/local/lib/libglib-2.0.so.0
Name    : glib-2.66.4_1,1
Desc    : Some useful routines of C programming (current stable version)
Repo    : poudriere
Filename: 
usr/local/share/gdb/auto-load/usr/local/lib/libglib-2.0.so.0.6600.7-gdb.py
           usr/local/lib/libglib-2.0.so.0.6600.7
           usr/local/lib/libglib-2.0.so.0
root@mowa219-gjp4-8570p:~ # file /usr/local/lib/libglib-2.0.so.0
/usr/local/lib/libglib-2.0.so.0: symbolic link to libglib-2.0.so.0.6600.7
root@mowa219-gjp4-8570p:~ # date ; uname -v
Tue Apr  6 04:09:03 BST 2021
FreeBSD 14.0-CURRENT #91 main-n245827-361e9501800: Mon Apr  5 17:59:57 
BST 2021 
root@mowa219-gjp4-8570p:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG
root@mowa219-gjp4-8570p:~ #




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fd6c5642-dfd2-e4ad-fda5-23117b616bdc>