PKG not quite ready for prime time

Bryan Drewery bdrewery at FreeBSD.org
Fri Oct 10 17:57:59 UTC 2014


On 10/10/2014 12:43 PM, scratch65535 at att.net wrote:
> 
> On Fri, 10 Oct 2014 19:30:18 +0200, you wrote:
> 
>> On 2014-10-10 19:13, scratch65535 at att.net wrote:
>>> I'm having quite a lot of trouble converting to pkg due to there
>>> being no obvious source of accurate documentation.   I got this
>>> after I thought I had it solved and could install something:
>>>
>>> 11:36 Fri, 10 Oct [momcat:root]~> pkg install firefox
>>> Updating FreeBSD repository catalogue...
>>> pkg: Repository FreeBSD has a wrong packagesite, need to
>>> re-create database
>>> Fetching meta.txz: 100%   968 B   1.0k/s    00:01    
>>> pkg: Error loading trusted certificates
>>> pkg: repository FreeBSD has no meta file, using default settings
>>> Fetching digests.txz: 100%    2 MB 119.8k/s    00:17    
>>> pkg: Error loading trusted certificates
>>> pkg: Unable to update repository FreeBSD
>>> All repositories are up-to-date.
>>> pkg: Repository FreeBSD has a wrong packagesite, need to
>>> re-create database
>>> pkg: Repository FreeBSD cannot be opened. 'pkg update' required
>>> Updating database digests format: 100%
>>> pkg: No packages available to install matching 'firefox' have
>>> been found in the repositories
>>>
>>>
>>> Just for the record, could someone knowledgeable please post the
>>> real, current list of required config files and their contents OR
>>> a pointer to known-good+complete documentation?
>>>
>>> Thanks!  
>>
>> Please show us the following output
>> $ pkg info pkg
> 
> 
> [momcat:root]~> pkg info pkg
> pkg-1.3.8_3
> Name           : pkg
> Version        : 1.3.8_3
> Installed on   : Fri Oct 10 07:57:56 EDT 2014
> Origin         : ports-mgmt/pkg
> Architecture   : freebsd:9:x86:64
> Prefix         : /usr/local
> Categories     : ports-mgmt
> Licenses       : BSD2CLAUSE
> Maintainer     : portmgr at FreeBSD.org
> WWW            : http://wiki.freebsd.org/pkgng
> Comment        : Package manager
> Shared Libs provided:
> 	libpkg.so.3
> Flat size      : 8.18MiB
> Description    :
> Package management tool
> 
> WWW: http://wiki.freebsd.org/pkgng
> 
> 
>>
>> and from next command everything from "Repositories:" to the end (last ~10 lines)
>> $ pkg -vv
> 
>  
>  Repositories:
>   FreeBSD: { 
>     url             :
> "pkg+http://pkg.freebsd.org/freebsd:8:x86:64/latest",
>     enabled         : yes,
>     mirror_type     : "SRV",
>     signature_type  : "FINGERPRINTS",
>     fingerprints    : "/usr/share/keys/pkg"

Show output of this please?

find /usr/share/keys/pkg -exec sha256 {} +

>   }
>  13:41 Fri, 10 Oct [momcat:root]~> 
> 
> 
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
> 


-- 
Regards,
Bryan Drewery

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20141010/412a7aa4/attachment.sig>


More information about the freebsd-ports mailing list