Re: pkg search not finding libreoffice

From: doug <doug_at_safeport.com>
Date: Thu, 25 Aug 2022 15:04:22 UTC
On Thu, 25 Aug 2022, Malcolm Matalka wrote:

> Hello,
>
> I noticed that libreoffice is no longer installed on my system, so I
> tired pkg search libreoffice, and it can't be found!
>
> I updated and everything and no luck.
>
> My kernel:
>
> FreeBSD bsdell 14.0-CURRENT FreeBSD 14.0-CURRENT #2
> main-n257487-c6890399fc00: Thu Aug 18 21:56:01 CEST 2022
> root@bsdell:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG amd64
>
> Pkg update (I've done this with -f as well)
>
>> sudo pkg -d update
> DBG(1)[18802]> pkg initialized
> Updating FreeBSD repository catalogue...
> DBG(1)[18802]> PkgRepo: verifying update for FreeBSD
> DBG(1)[18802]> Pkgrepo, begin update of '/var/db/pkg/repo-FreeBSD.sqlite'
> DBG(1)[18802]> Request to fetch pkg+http://pkg.FreeBSD.org/FreeBSD:14:amd64/latest/meta.conf
> DBG(1)[18802]> opening libfetch fetcher
> DBG(1)[18802]> Fetch > libfetch: connecting
> DBG(1)[18802]> Fetch: fetching from: http://pkgmir.geo.freebsd.org/FreeBSD:14:amd64/latest/meta.conf with opts "i"
> DBG(1)[18802]> Request to fetch pkg+http://pkg.FreeBSD.org/FreeBSD:14:amd64/latest/packagesite.pkg
> DBG(1)[18802]> opening libfetch fetcher
> DBG(1)[18802]> Fetch > libfetch: connecting
> DBG(1)[18802]> Fetch: fetching from: http://pkgmir.geo.freebsd.org/FreeBSD:14:amd64/latest/packagesite.pkg with opts "i"
> DBG(1)[18802]> Request to fetch pkg+http://pkg.FreeBSD.org/FreeBSD:14:amd64/latest/packagesite.txz
> DBG(1)[18802]> opening libfetch fetcher
> DBG(1)[18802]> Fetch > libfetch: connecting
> DBG(1)[18802]> Fetch: fetching from: http://pkgmir.geo.freebsd.org/FreeBSD:14:amd64/latest/packagesite.txz with opts "i"
> FreeBSD repository is up to date.
> All repositories are up to date.
>
>
> Any ideas where to look next?
>
> /Malcolm
>

I do not remember have this issue with libreoffice. That said you do have 
to get the name close enough. Try:

    pkg -nx libreoffice

You can then pick out the form of the name that will work.